Class 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 java.lang.Object
    implements org.springframework.core.type.AnnotationMetadata
    Implementation of Spring's AnnotationMetadata that backs onto a BeanDefinition.
    Since:
    4.3.0
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanDefinitionSpringMetadata​(io.micronaut.inject.BeanDefinition<?> beanDefinition)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<org.springframework.core.type.MethodMetadata> getAnnotatedMethods​(java.lang.String annotationName)  
      org.springframework.core.annotation.MergedAnnotations getAnnotations()  
      java.lang.String getClassName()  
      java.lang.String getEnclosingClassName()  
      java.lang.String[] getInterfaceNames()  
      java.lang.String[] getMemberClassNames()  
      java.lang.String getSuperClassName()  
      boolean isAbstract()  
      boolean isAnnotation()  
      boolean isFinal()  
      boolean isIndependent()  
      boolean isInterface()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.type.AnnotatedTypeMetadata

        getAllAnnotationAttributes, getAllAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, isAnnotated
      • Methods inherited from interface org.springframework.core.type.AnnotationMetadata

        getAnnotationTypes, getMetaAnnotationTypes, hasAnnotatedMethods, hasAnnotation, hasMetaAnnotation
      • Methods inherited from interface org.springframework.core.type.ClassMetadata

        hasEnclosingClass, hasSuperClass, isConcrete
    • Constructor Detail

      • BeanDefinitionSpringMetadata

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

      • getAnnotatedMethods

        public java.util.Set<org.springframework.core.type.MethodMetadata> getAnnotatedMethods​(java.lang.String annotationName)
        Specified by:
        getAnnotatedMethods 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 java.lang.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 java.lang.String getEnclosingClassName()
        Specified by:
        getEnclosingClassName in interface org.springframework.core.type.ClassMetadata
      • getSuperClassName

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

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

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