Class BeanDefinitionSpringMetadata

java.lang.Object
io.micronaut.spring.core.type.BeanDefinitionSpringMetadata
All Implemented Interfaces:
org.springframework.core.type.AnnotatedTypeMetadata, org.springframework.core.type.AnnotationMetadata, org.springframework.core.type.ClassMetadata

@Internal public final class BeanDefinitionSpringMetadata extends Object implements org.springframework.core.type.AnnotationMetadata
Implementation of Spring's AnnotationMetadata that backs onto a BeanDefinition.
Since:
4.3.0
Author:
graemerocher, graemerocher
  • Constructor Details

    • BeanDefinitionSpringMetadata

      public BeanDefinitionSpringMetadata(io.micronaut.inject.BeanDefinition<?> beanDefinition)
  • Method Details

    • getAnnotatedMethods

      public Set<org.springframework.core.type.MethodMetadata> getAnnotatedMethods(String annotationName)
      Specified by:
      getAnnotatedMethods in interface org.springframework.core.type.AnnotationMetadata
    • getDeclaredMethods

      public Set<org.springframework.core.type.MethodMetadata> getDeclaredMethods()
      Specified by:
      getDeclaredMethods in interface org.springframework.core.type.AnnotationMetadata
    • getAnnotations

      public org.springframework.core.annotation.MergedAnnotations getAnnotations()
      Specified by:
      getAnnotations in interface org.springframework.core.type.AnnotatedTypeMetadata
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface org.springframework.core.type.ClassMetadata
    • isInterface

      public boolean isInterface()
      Specified by:
      isInterface in interface org.springframework.core.type.ClassMetadata
    • isAnnotation

      public boolean isAnnotation()
      Specified by:
      isAnnotation in interface org.springframework.core.type.ClassMetadata
    • isAbstract

      public boolean isAbstract()
      Specified by:
      isAbstract in interface org.springframework.core.type.ClassMetadata
    • isFinal

      public boolean isFinal()
      Specified by:
      isFinal in interface org.springframework.core.type.ClassMetadata
    • isIndependent

      public boolean isIndependent()
      Specified by:
      isIndependent in interface org.springframework.core.type.ClassMetadata
    • getEnclosingClassName

      public String getEnclosingClassName()
      Specified by:
      getEnclosingClassName in interface org.springframework.core.type.ClassMetadata
    • getSuperClassName

      public String getSuperClassName()
      Specified by:
      getSuperClassName in interface org.springframework.core.type.ClassMetadata
    • getInterfaceNames

      public String[] getInterfaceNames()
      Specified by:
      getInterfaceNames in interface org.springframework.core.type.ClassMetadata
    • getMemberClassNames

      public String[] getMemberClassNames()
      Specified by:
      getMemberClassNames in interface org.springframework.core.type.ClassMetadata