Uses of Enum Class
org.apache.juneau.commons.reflect.AnnotationTraversal
Packages that use AnnotationTraversal
Package
Description
Comprehensive reflection utilities for working with classes, methods, fields, constructors,
and annotations in a more convenient and type-safe way than the standard Java reflection APIs.
-
Uses of AnnotationTraversal in org.apache.juneau.commons.reflect
Methods in org.apache.juneau.commons.reflect that return AnnotationTraversalModifier and TypeMethodDescriptionstatic AnnotationTraversalReturns the enum constant of this class with the specified name.static AnnotationTraversal[]AnnotationTraversal.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.juneau.commons.reflect with parameters of type AnnotationTraversalModifier and TypeMethodDescription<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, ClassInfo c, AnnotationTraversal... traversals) Finds annotations from a class using configurable traversal options.<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, ConstructorInfo c, AnnotationTraversal... traversals) Finds annotations from a constructor using configurable traversal options.<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, FieldInfo f, AnnotationTraversal... traversals) Finds annotations from a field using configurable traversal options.<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, MethodInfo m, AnnotationTraversal... traversals) Finds annotations from a method using configurable traversal options.<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, ParameterInfo p, AnnotationTraversal... traversals) Finds annotations from a parameter using configurable traversal options in child-to-parent order.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(ClassInfo c, AnnotationTraversal... traversals) Finds all annotations from a class using configurable traversal options, without filtering by annotation type.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(ConstructorInfo c, AnnotationTraversal... traversals) Finds all annotations from a constructor using configurable traversal options, without filtering by annotation type.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(FieldInfo f, AnnotationTraversal... traversals) Finds all annotations from a field using configurable traversal options, without filtering by annotation type.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(MethodInfo m, AnnotationTraversal... traversals) Finds all annotations from a method using configurable traversal options, without filtering by annotation type.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(ParameterInfo p, AnnotationTraversal... traversals) Finds all annotations from a parameter using configurable traversal options, without filtering by annotation type.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, ClassInfo c, AnnotationTraversal... traversals) Checks if a class has the specified annotation.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, ConstructorInfo c, AnnotationTraversal... traversals) Checks if a constructor has the specified annotation.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, FieldInfo f, AnnotationTraversal... traversals) Checks if a field has the specified annotation.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, MethodInfo m, AnnotationTraversal... traversals) Checks if a method has the specified annotation.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, ParameterInfo p, AnnotationTraversal... traversals) Checks if a parameter has the specified annotation.