Class AnnotationMetadataAdapter
java.lang.Object
org.springframework.integration.config.annotation.AnnotationMetadataAdapter
- All Implemented Interfaces:
AnnotatedTypeMetadata
,AnnotationMetadata
,ClassMetadata
public abstract class AnnotationMetadataAdapter extends Object implements AnnotationMetadata
An
AnnotationMetadata
implementation to expose a metadata
by the provided Map
of attributes.- Since:
- 5.2
- Author:
- Artem Bilan
-
Constructor Summary
Constructors Constructor Description AnnotationMetadataAdapter()
-
Method Summary
Modifier and Type Method Description Set<MethodMetadata>
getAnnotatedMethods(String annotationName)
MergedAnnotations
getAnnotations()
String
getClassName()
String
getEnclosingClassName()
String[]
getInterfaceNames()
String[]
getMemberClassNames()
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 Details
-
AnnotationMetadataAdapter
public AnnotationMetadataAdapter()
-
-
Method Details
-
getAnnotatedMethods
- Specified by:
getAnnotatedMethods
in interfaceAnnotationMetadata
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedTypeMetadata
-
getClassName
- Specified by:
getClassName
in interfaceClassMetadata
-
isInterface
public boolean isInterface()- Specified by:
isInterface
in interfaceClassMetadata
-
isAnnotation
public boolean isAnnotation()- Specified by:
isAnnotation
in interfaceClassMetadata
-
isAbstract
public boolean isAbstract()- Specified by:
isAbstract
in interfaceClassMetadata
-
isFinal
public boolean isFinal()- Specified by:
isFinal
in interfaceClassMetadata
-
isIndependent
public boolean isIndependent()- Specified by:
isIndependent
in interfaceClassMetadata
-
getEnclosingClassName
- Specified by:
getEnclosingClassName
in interfaceClassMetadata
-
getSuperClassName
- Specified by:
getSuperClassName
in interfaceClassMetadata
-
getInterfaceNames
- Specified by:
getInterfaceNames
in interfaceClassMetadata
-
getMemberClassNames
- Specified by:
getMemberClassNames
in interfaceClassMetadata
-