Record Class AbstractInitializableBeanDefinition.PrecalculatedInfo

java.lang.Object
java.lang.Record
io.micronaut.context.AbstractInitializableBeanDefinition.PrecalculatedInfo
Enclosing class:
AbstractInitializableBeanDefinition<T>

@Internal public static record AbstractInitializableBeanDefinition.PrecalculatedInfo(Optional<String> scope, boolean isAbstract, boolean isIterable, boolean isSingleton, boolean isPrimary, boolean isConfigurationProperties, boolean isContainerType, boolean requiresMethodProcessing, boolean hasEvaluatedExpressions) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    PrecalculatedInfo(Optional<String> scope, boolean isAbstract, boolean isIterable, boolean isSingleton, boolean isPrimary, boolean isConfigurationProperties, boolean isContainerType, boolean requiresMethodProcessing)
     
    PrecalculatedInfo(Optional<String> scope, boolean isAbstract, boolean isIterable, boolean isSingleton, boolean isPrimary, boolean isConfigurationProperties, boolean isContainerType, boolean requiresMethodProcessing, boolean hasEvaluatedExpressions)
    Creates an instance of a PrecalculatedInfo record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the hasEvaluatedExpressions record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the isAbstract record component.
    boolean
    Returns the value of the isConfigurationProperties record component.
    boolean
    Returns the value of the isContainerType record component.
    boolean
    Returns the value of the isIterable record component.
    boolean
    Returns the value of the isPrimary record component.
    boolean
    Returns the value of the isSingleton record component.
    boolean
    Returns the value of the requiresMethodProcessing record component.
    Returns the value of the scope record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PrecalculatedInfo

      public PrecalculatedInfo(Optional<String> scope, boolean isAbstract, boolean isIterable, boolean isSingleton, boolean isPrimary, boolean isConfigurationProperties, boolean isContainerType, boolean requiresMethodProcessing)
    • PrecalculatedInfo

      public PrecalculatedInfo(Optional<String> scope, boolean isAbstract, boolean isIterable, boolean isSingleton, boolean isPrimary, boolean isConfigurationProperties, boolean isContainerType, boolean requiresMethodProcessing, boolean hasEvaluatedExpressions)
      Creates an instance of a PrecalculatedInfo record class.
      Parameters:
      scope - the value for the scope record component
      isAbstract - the value for the isAbstract record component
      isIterable - the value for the isIterable record component
      isSingleton - the value for the isSingleton record component
      isPrimary - the value for the isPrimary record component
      isConfigurationProperties - the value for the isConfigurationProperties record component
      isContainerType - the value for the isContainerType record component
      requiresMethodProcessing - the value for the requiresMethodProcessing record component
      hasEvaluatedExpressions - the value for the hasEvaluatedExpressions record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • scope

      public Optional<String> scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • isAbstract

      public boolean isAbstract()
      Returns the value of the isAbstract record component.
      Returns:
      the value of the isAbstract record component
    • isIterable

      public boolean isIterable()
      Returns the value of the isIterable record component.
      Returns:
      the value of the isIterable record component
    • isSingleton

      public boolean isSingleton()
      Returns the value of the isSingleton record component.
      Returns:
      the value of the isSingleton record component
    • isPrimary

      public boolean isPrimary()
      Returns the value of the isPrimary record component.
      Returns:
      the value of the isPrimary record component
    • isConfigurationProperties

      public boolean isConfigurationProperties()
      Returns the value of the isConfigurationProperties record component.
      Returns:
      the value of the isConfigurationProperties record component
    • isContainerType

      public boolean isContainerType()
      Returns the value of the isContainerType record component.
      Returns:
      the value of the isContainerType record component
    • requiresMethodProcessing

      public boolean requiresMethodProcessing()
      Returns the value of the requiresMethodProcessing record component.
      Returns:
      the value of the requiresMethodProcessing record component
    • hasEvaluatedExpressions

      public boolean hasEvaluatedExpressions()
      Returns the value of the hasEvaluatedExpressions record component.
      Returns:
      the value of the hasEvaluatedExpressions record component