Package io.micronaut.inject.beans
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 io.micronaut.inject.beans.AbstractInitializableBeanIntrospection
AbstractInitializableBeanIntrospection.BeanMethodRef<P>, AbstractInitializableBeanIntrospection.BeanPropertyRef<P>
Nested classes/interfaces inherited from interface io.micronaut.core.beans.BeanIntrospection
BeanIntrospection.Builder<T>
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationMetadata
CLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBER
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractInitializableBeanIntrospectionAndReference
(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs) -
Method Summary
Methods inherited from class io.micronaut.inject.beans.AbstractInitializableBeanIntrospection
builder, dispatch, dispatchOne, equals, findIndexedProperty, getAccessibleTargetMethodByIndex, getAnnotationMetadata, getBeanMethods, getBeanProperties, getBeanPropertiesIndexedSubset, getBeanReadProperties, getBeanType, getBeanWriteProperties, getConstructor, getConstructorArguments, getIndexedProperties, getIndexedProperty, getProperty, getPropertyByIndex, getTargetMethodByIndex, hashCode, instantiate, instantiate, instantiateInternal, instantiateUnsafe, propertyIndexOf, toString, unknownDispatchAtIndexException
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadata
enumValuesSet, enumValuesSet, getValues, hasDeclaredStereotype, hasEvaluatedExpressions, hasStereotypeNonRepeating, isAnnotationPresent, isDeclaredAnnotationPresent
Methods inherited from interface io.micronaut.core.annotation.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, 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, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
getAnnotationMetadata
Methods inherited from interface io.micronaut.core.beans.BeanInfo
asArgument, getGenericBeanType, getOrder
Methods inherited from interface io.micronaut.core.beans.BeanIntrospection
getIndexedProperty, getProperty, getPropertyNames, getReadProperty, getReadProperty, getReadPropertyNames, getRequiredProperty, getRequiredReadProperty, getRequiredWriteProperty, getWriteProperty, getWriteProperty, hasBuilder, instantiate, isBuildable
Methods inherited from interface io.micronaut.core.beans.BeanIntrospectionReference
getBeanType
-
Constructor Details
-
AbstractInitializableBeanIntrospectionAndReference
protected AbstractInitializableBeanIntrospectionAndReference(Class<B> beanType, AnnotationMetadata annotationMetadata, AnnotationMetadata constructorAnnotationMetadata, Argument<?>[] constructorArguments, AbstractInitializableBeanIntrospection.BeanPropertyRef<Object>[] propertiesRefs, AbstractInitializableBeanIntrospection.BeanMethodRef<Object>[] methodsRefs)
-
-
Method Details
-
load
Description copied from interface:BeanIntrospectionReference
Loads the introspection.- Specified by:
load
in interfaceBeanIntrospectionReference<B>
- Returns:
- The loaded introspection.
-
getName
-
isPresent
public final boolean isPresent()- Specified by:
isPresent
in interfaceBeanIntrospectionReference<B>
- Returns:
- Is the introspection present?
-