Class AnnotationMetadataAdapter
java.lang.Object
org.springframework.integration.config.annotation.AnnotationMetadataAdapter
- All Implemented Interfaces:
org.springframework.core.type.AnnotatedTypeMetadata,org.springframework.core.type.AnnotationMetadata,org.springframework.core.type.ClassMetadata
public abstract class AnnotationMetadataAdapter
extends java.lang.Object
implements org.springframework.core.type.AnnotationMetadata
An
AnnotationMetadata implementation to expose a metadata
by the provided Map of attributes.- Since:
- 5.2
-
Constructor Summary
Constructors Constructor Description AnnotationMetadataAdapter() -
Method Summary
Modifier and Type Method Description java.util.Set<org.springframework.core.type.MethodMetadata>getAnnotatedMethods(java.lang.String annotationName)org.springframework.core.annotation.MergedAnnotationsgetAnnotations()java.lang.StringgetClassName()java.lang.StringgetEnclosingClassName()java.lang.String[]getInterfaceNames()java.lang.String[]getMemberClassNames()java.lang.StringgetSuperClassName()booleanisAbstract()booleanisAnnotation()booleanisFinal()booleanisIndependent()booleanisInterface()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.type.AnnotatedTypeMetadata
getAllAnnotationAttributes, getAllAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, isAnnotated
-
Constructor Details
-
AnnotationMetadataAdapter
public AnnotationMetadataAdapter()
-
-
Method Details
-
getAnnotatedMethods
public java.util.Set<org.springframework.core.type.MethodMetadata> getAnnotatedMethods(java.lang.String annotationName)- Specified by:
getAnnotatedMethodsin interfaceorg.springframework.core.type.AnnotationMetadata
-
getAnnotations
public org.springframework.core.annotation.MergedAnnotations getAnnotations()- Specified by:
getAnnotationsin interfaceorg.springframework.core.type.AnnotatedTypeMetadata
-
getClassName
public java.lang.String getClassName()- Specified by:
getClassNamein interfaceorg.springframework.core.type.ClassMetadata
-
isInterface
public boolean isInterface()- Specified by:
isInterfacein interfaceorg.springframework.core.type.ClassMetadata
-
isAnnotation
public boolean isAnnotation()- Specified by:
isAnnotationin interfaceorg.springframework.core.type.ClassMetadata
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceorg.springframework.core.type.ClassMetadata
-
isFinal
public boolean isFinal()- Specified by:
isFinalin interfaceorg.springframework.core.type.ClassMetadata
-
isIndependent
public boolean isIndependent()- Specified by:
isIndependentin interfaceorg.springframework.core.type.ClassMetadata
-
getEnclosingClassName
public java.lang.String getEnclosingClassName()- Specified by:
getEnclosingClassNamein interfaceorg.springframework.core.type.ClassMetadata
-
getSuperClassName
public java.lang.String getSuperClassName()- Specified by:
getSuperClassNamein interfaceorg.springframework.core.type.ClassMetadata
-
getInterfaceNames
public java.lang.String[] getInterfaceNames()- Specified by:
getInterfaceNamesin interfaceorg.springframework.core.type.ClassMetadata
-
getMemberClassNames
public java.lang.String[] getMemberClassNames()- Specified by:
getMemberClassNamesin interfaceorg.springframework.core.type.ClassMetadata
-