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
  • 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

      default AnnotationMetadata getAnnotationMetadata()
      Returns the annotation metadata associated with this element.
      Specified by:
      getAnnotationMetadata in interface AnnotationMetadataProvider
      Returns:
      The annotation metadata associated with this element