Package io.micronaut.context
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
ConstructorsConstructorDescriptionPrecalculatedInfo(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 aPrecalculatedInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thehasEvaluatedExpressionsrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisAbstractrecord component.booleanReturns the value of theisConfigurationPropertiesrecord component.booleanReturns the value of theisContainerTyperecord component.booleanReturns the value of theisIterablerecord component.booleanReturns the value of theisPrimaryrecord component.booleanReturns the value of theisSingletonrecord component.booleanReturns the value of therequiresMethodProcessingrecord component.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PrecalculatedInfo
-
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 aPrecalculatedInforecord class.- Parameters:
scope- the value for thescoperecord componentisAbstract- the value for theisAbstractrecord componentisIterable- the value for theisIterablerecord componentisSingleton- the value for theisSingletonrecord componentisPrimary- the value for theisPrimaryrecord componentisConfigurationProperties- the value for theisConfigurationPropertiesrecord componentisContainerType- the value for theisContainerTyperecord componentrequiresMethodProcessing- the value for therequiresMethodProcessingrecord componenthasEvaluatedExpressions- the value for thehasEvaluatedExpressionsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
isAbstract
public boolean isAbstract()Returns the value of theisAbstractrecord component.- Returns:
- the value of the
isAbstractrecord component
-
isIterable
public boolean isIterable()Returns the value of theisIterablerecord component.- Returns:
- the value of the
isIterablerecord component
-
isSingleton
public boolean isSingleton()Returns the value of theisSingletonrecord component.- Returns:
- the value of the
isSingletonrecord component
-
isPrimary
public boolean isPrimary()Returns the value of theisPrimaryrecord component.- Returns:
- the value of the
isPrimaryrecord component
-
isConfigurationProperties
public boolean isConfigurationProperties()Returns the value of theisConfigurationPropertiesrecord component.- Returns:
- the value of the
isConfigurationPropertiesrecord component
-
isContainerType
public boolean isContainerType()Returns the value of theisContainerTyperecord component.- Returns:
- the value of the
isContainerTyperecord component
-
requiresMethodProcessing
public boolean requiresMethodProcessing()Returns the value of therequiresMethodProcessingrecord component.- Returns:
- the value of the
requiresMethodProcessingrecord component
-
hasEvaluatedExpressions
public boolean hasEvaluatedExpressions()Returns the value of thehasEvaluatedExpressionsrecord component.- Returns:
- the value of the
hasEvaluatedExpressionsrecord component
-