Class AnnotationTool<T extends Annotation>
java.lang.Object
io.github.hglabplh_tech.reflect.clojure.api.annotations.AnnotationTool<T>
- Type Parameters:
T- T is the type of the class and this type extends the annotation class
This class is a utility class for analyzing the content and the attributes of
a given annotation.
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationTool(Class<T> annot) Here the Utility is constructed with an annotation to be analyzed if the input class is not an annotation an Illegal Argument Exception is thrown -
Method Summary
Modifier and TypeMethodDescriptionclojure.lang.IPersistentMapWith this the attributes of a annotation are retrieved (Target, Retention)static clojure.lang.IPersistentMap
-
Constructor Details
-
AnnotationTool
Here the Utility is constructed with an annotation to be analyzed if the input class is not an annotation an Illegal Argument Exception is thrown- Parameters:
annot- a annotation to analyze
-
-
Method Details
-
getAnnotationAttributes
public clojure.lang.IPersistentMap getAnnotationAttributes()With this the attributes of a annotation are retrieved (Target, Retention)- Returns:
- the map of the annotation attributes
-
retrieveAnnotationValues
-