Package io.micronaut.spring.core.type
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 Summary
ConstructorDescriptionBeanDefinitionSpringMetadata
(io.micronaut.inject.BeanDefinition<?> beanDefinition) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.springframework.core.type.MethodMetadata>
getAnnotatedMethods
(String annotationName) org.springframework.core.annotation.MergedAnnotations
Set<org.springframework.core.type.MethodMetadata>
String[]
String[]
boolean
boolean
boolean
isFinal()
boolean
boolean
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, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, getMergedRepeatableAnnotationAttributes, 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 Details
-
BeanDefinitionSpringMetadata
public BeanDefinitionSpringMetadata(io.micronaut.inject.BeanDefinition<?> beanDefinition)
-
-
Method Details
-
getAnnotatedMethods
- Specified by:
getAnnotatedMethods
in interfaceorg.springframework.core.type.AnnotationMetadata
-
getDeclaredMethods
- Specified by:
getDeclaredMethods
in interfaceorg.springframework.core.type.AnnotationMetadata
-
getAnnotations
public org.springframework.core.annotation.MergedAnnotations getAnnotations()- Specified by:
getAnnotations
in interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getClassName
- Specified by:
getClassName
in interfaceorg.springframework.core.type.ClassMetadata
-
isInterface
public boolean isInterface()- Specified by:
isInterface
in interfaceorg.springframework.core.type.ClassMetadata
-
isAnnotation
public boolean isAnnotation()- Specified by:
isAnnotation
in interfaceorg.springframework.core.type.ClassMetadata
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceorg.springframework.core.type.ClassMetadata
-
isFinal
public boolean isFinal()- Specified by:
isFinal
in interfaceorg.springframework.core.type.ClassMetadata
-
isIndependent
public boolean isIndependent()- Specified by:
isIndependent
in interfaceorg.springframework.core.type.ClassMetadata
-
getEnclosingClassName
- Specified by:
getEnclosingClassName
in interfaceorg.springframework.core.type.ClassMetadata
-
getSuperClassName
- Specified by:
getSuperClassName
in interfaceorg.springframework.core.type.ClassMetadata
-
getInterfaceNames
- Specified by:
getInterfaceNames
in interfaceorg.springframework.core.type.ClassMetadata
-
getMemberClassNames
- Specified by:
getMemberClassNames
in interfaceorg.springframework.core.type.ClassMetadata
-