Interface MemberDefinition<K>
- Type Parameters:
K- The bean element kind type
- All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource
- All Known Implementing Classes:
ConstructorDefinition, FieldDefinition, MethodDefinition
public sealed interface MemberDefinition<K>
permits ConstructorDefinition<K,C>, FieldDefinition<K,F>, MethodDefinition<K,M>
Common contract for bean definition members.
- Since:
- 5.1.0
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from interface AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation metadata backing this provider.default AnnotationMetadataReturns the annotation metadata associated with this element.Returns the injection points contributed by this member definition.Methods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
injectionPoints
List<BeanDefinitionInjectionPoint<K>> injectionPoints()Returns the injection points contributed by this member definition.- Returns:
- The injection points contributed by this member definition
-
annotationMetadata
AnnotationMetadata annotationMetadata()Returns the annotation metadata backing this provider.- Returns:
- The annotation metadata backing this provider
-
getAnnotationMetadata
Returns the annotation metadata associated with this element.- Specified by:
getAnnotationMetadatain interfaceAnnotationMetadataProvider- Returns:
- The annotation metadata associated with this element
-