Java org.springframework.core.type AnnotationMetadata fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.type AnnotationMetadata fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.type AnnotationMetadata.

The text is from its open source code.

Method

MultiValueMapgetAllAnnotationAttributes(String annotationName)
Retrieve all attributes of all annotations of the given type, if any (i.e.
SetgetAnnotatedMethods(String annotationName)
Retrieve the method metadata for all methods that are annotated (or meta-annotated) with the given annotation type.
MapgetAnnotationAttributes(String annotationName)
Retrieve the attributes of the annotation of the given type, if any (i.e.
MapgetAnnotationAttributes(String annotationName, boolean classValuesAsString)
Retrieve the attributes of the annotation of the given type, if any (i.e.
SetgetAnnotationTypes()
Get the fully qualified class names of all annotation types that are present on the underlying class.
StringgetClassName()
Return the name of the underlying class.
String[]getInterfaceNames()
Return the names of all interfaces that the underlying class implements, or an empty array if there are none.
SetgetMetaAnnotationTypes(String annotationName)
Get the fully qualified class names of all meta-annotation types that are present on the given annotation type on the underlying class.
booleanhasAnnotatedMethods(String annotationName)
Determine whether the underlying class has any methods that are annotated (or meta-annotated) with the given annotation type.
booleanhasAnnotation(String annotationName)
Determine whether an annotation of the given type is present on the underlying class.
booleanhasMetaAnnotation(String metaAnnotationName)
Determine whether the underlying class has an annotation that is itself annotated with the meta-annotation of the given type.
booleanisAbstract()
Return whether the underlying class is marked as abstract.
booleanisAnnotated(String annotationName)
Determine whether the underlying element has an annotation or meta-annotation of the given type defined.
booleanisConcrete()
Return whether the underlying class represents a concrete class, i.e.
booleanisIndependent()
Determine whether the underlying class is independent, i.e.
booleanisInterface()
Return whether the underlying class represents an interface.