| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
See also the ClassGraph API overview.
Holds information about one concrete annotation instance, for an annotation on a class, field, method, method parameter, package or module. Obtained by calling .getAllAnnotationInfo() or .getDirectAnnotationInfo() on a ClassInfo, FieldInfo, MethodInfo, MethodParameterInfo, PackageInfo or ModuleInfo object.
This is the information about a concrete annotation in the sense that it contains information not just about the annotating class, but also the specific annotation parameters, which may or may not override default annotation parameter values associated with the annotation class.
Holds an annotation parameter name and value.
Extends ArrayList<AnnotationParameterValue> -- unmodifiable when it came from a scan -- with the following convenience methods:
Represents an enum constant in an annotation parameter value. ClassGraph reads the enum class name and the constant name straight from the classfile, so the enum class is never loaded or initialized.
💡 To get the FieldInfo objects for the constants of an enum class, without loading it, call ClassInfo#getEnumConstants().
Represents a Class<?> reference in an annotation parameter value. Only the name of the referenced class is read from the classfile -- the class itself is never loaded.
Extends ArrayList<AnnotationInfo> -- unmodifiable when it came from a scan -- with the following convenience methods:
| Back | FazBrowse Home | New Git URL |