Class AbstractInitializableBeanIntrospectionAndReference<B>
java.lang.Object
io.micronaut.inject.beans.AbstractInitializableBeanIntrospection<B>
io.micronaut.inject.beans.AbstractInitializableBeanIntrospectionAndReference<B>
- Type Parameters:
B- The bean type
- All Implemented Interfaces:
AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, BeanInfo<B>, BeanIntrospection<B>, BeanIntrospectionReference<B>, UnsafeBeanInstantiationIntrospection<B>, Named, Ordered, ArgumentCoercible<B>
- Direct Known Subclasses:
AbstractEnumBeanIntrospectionAndReference
public abstract class AbstractInitializableBeanIntrospectionAndReference<B>
extends AbstractInitializableBeanIntrospection<B>
implements BeanIntrospectionReference<B>
A variation of
AbstractInitializableBeanIntrospection that is also a BeanIntrospectionReference.- Since:
- 4.4.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInitializableBeanIntrospection
AbstractInitializableBeanIntrospection.BeanConstructorRef, AbstractInitializableBeanIntrospection.BeanMethodRef<P>, AbstractInitializableBeanIntrospection.BeanPropertyMemberRef, AbstractInitializableBeanIntrospection.BeanPropertyRef<P>Nested classes/interfaces inherited from interface BeanIntrospection
BeanIntrospection.Builder<T> -
Field Summary
Fields inherited from interface AnnotationMetadata
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBERFields inherited from interface AnnotationSource
EMPTYFields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractInitializableBeanIntrospectionAndReference(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs) protectedAbstractInitializableBeanIntrospectionAndReference(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs, AbstractInitializableBeanIntrospection.BeanConstructorRef[] constructorsRefs) Constructor variant used by generated introspections that describe all of their declared constructors. -
Method Summary
Methods inherited from class AbstractInitializableBeanIntrospection
builder, dispatch, dispatchGetBoolean, dispatchGetByte, dispatchGetChar, dispatchGetDouble, dispatchGetFloat, dispatchGetInt, dispatchGetLong, dispatchGetShort, dispatchOne, dispatchOneVoid, dispatchSetBoolean, dispatchSetBooleanVoid, dispatchSetByte, dispatchSetByteVoid, dispatchSetChar, dispatchSetCharVoid, dispatchSetDouble, dispatchSetDoubleVoid, dispatchSetFloat, dispatchSetFloatVoid, dispatchSetInt, dispatchSetIntVoid, dispatchSetLong, dispatchSetLongVoid, dispatchSetShort, dispatchSetShortVoid, equals, findIndexedProperty, getAccessibleTargetMethodByIndex, getAnnotationMetadata, getBeanMethods, getBeanProperties, getBeanPropertiesIndexedSubset, getBeanReadProperties, getBeanType, getBeanWriteProperties, getConstructor, getConstructorArguments, getConstructors, getIndexedProperties, getIndexedProperty, getProperty, getPropertyByIndex, getTargetMethodByIndex, getTypeArguments, getTypeArgumentsMap, hasConstructor, hashCode, instantiate, instantiate, instantiateConstructorInternal, instantiateInternal, instantiateUnsafe, isStaticCreator, propertyIndexOf, toString, unknownDispatchAtIndexExceptionMethods inherited from interface AnnotationMetadata
enumValuesSet, enumValuesSet, getValues, hasDeclaredStereotype, hasStereotypeNonRepeating, isAnnotationPresent, isDeclaredAnnotationPresentMethods inherited from interface AnnotationMetadataDelegate
booleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, copyAnnotationMetadata, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByName, getAnnotationValuesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByName, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, getTargetAnnotationMetadata, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasEvaluatedExpressions, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationMetadataProvider
getAnnotationMetadataMethods inherited from interface BeanInfo
asArgument, getGenericBeanType, getOrderMethods inherited from interface BeanIntrospection
getIndexedProperty, getProperty, getPropertyNames, getReadProperty, getReadProperty, getReadPropertyNames, getRequiredProperty, getRequiredReadProperty, getRequiredWriteProperty, getTypeArguments, getTypeArguments, getWriteProperty, getWriteProperty, hasBuilder, instantiate, isBuildable, separatesDeclarationsMethods inherited from interface BeanIntrospectionReference
getBeanType
-
Constructor Details
-
AbstractInitializableBeanIntrospectionAndReference
protected AbstractInitializableBeanIntrospectionAndReference(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs) -
AbstractInitializableBeanIntrospectionAndReference
protected AbstractInitializableBeanIntrospectionAndReference(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs, AbstractInitializableBeanIntrospection.BeanConstructorRef[] constructorsRefs) Constructor variant used by generated introspections that describe all of their declared constructors.- Parameters:
beanType- The bean typeannotationMetadata- The annotation metadataconstructorAnnotationMetadata- The constructor annotation metadataconstructorArguments- The constructor argumentspropertiesRefs- The property referencesmethodsRefs- The method referencesconstructorsRefs- The declared constructor references, the bean instantiating constructor first- Since:
- 5.2.0
-
-
Method Details
-
load
Description copied from interface:BeanIntrospectionReferenceLoads the introspection.- Specified by:
loadin interfaceBeanIntrospectionReference<B>- Returns:
- The loaded introspection.
-
getName
-
isPresent
public final boolean isPresent()- Specified by:
isPresentin interfaceBeanIntrospectionReference<B>- Returns:
- Is the introspection present?
-