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
ConstructorDescriptionPrecalculatedInfo
(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 aPrecalculatedInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of thehasEvaluatedExpressions
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisAbstract
record component.boolean
Returns the value of theisConfigurationProperties
record component.boolean
Returns the value of theisContainerType
record component.boolean
Returns the value of theisIterable
record component.boolean
Returns the value of theisPrimary
record component.boolean
Returns the value of theisSingleton
record component.boolean
Returns the value of therequiresMethodProcessing
record component.scope()
Returns the value of thescope
record component.final String
toString()
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 aPrecalculatedInfo
record class.- Parameters:
scope
- the value for thescope
record componentisAbstract
- the value for theisAbstract
record componentisIterable
- the value for theisIterable
record componentisSingleton
- the value for theisSingleton
record componentisPrimary
- the value for theisPrimary
record componentisConfigurationProperties
- the value for theisConfigurationProperties
record componentisContainerType
- the value for theisContainerType
record componentrequiresMethodProcessing
- the value for therequiresMethodProcessing
record componenthasEvaluatedExpressions
- the value for thehasEvaluatedExpressions
record 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 thescope
record component.- Returns:
- the value of the
scope
record component
-
isAbstract
public boolean isAbstract()Returns the value of theisAbstract
record component.- Returns:
- the value of the
isAbstract
record component
-
isIterable
public boolean isIterable()Returns the value of theisIterable
record component.- Returns:
- the value of the
isIterable
record component
-
isSingleton
public boolean isSingleton()Returns the value of theisSingleton
record component.- Returns:
- the value of the
isSingleton
record component
-
isPrimary
public boolean isPrimary()Returns the value of theisPrimary
record component.- Returns:
- the value of the
isPrimary
record component
-
isConfigurationProperties
public boolean isConfigurationProperties()Returns the value of theisConfigurationProperties
record component.- Returns:
- the value of the
isConfigurationProperties
record component
-
isContainerType
public boolean isContainerType()Returns the value of theisContainerType
record component.- Returns:
- the value of the
isContainerType
record component
-
requiresMethodProcessing
public boolean requiresMethodProcessing()Returns the value of therequiresMethodProcessing
record component.- Returns:
- the value of the
requiresMethodProcessing
record component
-
hasEvaluatedExpressions
public boolean hasEvaluatedExpressions()Returns the value of thehasEvaluatedExpressions
record component.- Returns:
- the value of the
hasEvaluatedExpressions
record component
-