Uses of Class
io.github.classgraph.AnnotationInfoList
Packages that use AnnotationInfoList
-
Uses of AnnotationInfoList in io.github.classgraph
Fields in io.github.classgraph declared as AnnotationInfoListModifier and TypeFieldDescription(package private) AnnotationInfoList
ClassInfo.annotationInfo
Info on class annotations, including optional annotation param values.protected AnnotationInfoList
ClassMemberInfo.annotationInfo
The annotation on the class member, if any.private AnnotationInfoList
ModuleInfo.annotationInfo
AnnotationInfo
objects for any annotations on the module-info.class file, if present, else null.private AnnotationInfoList
PackageInfo.annotationInfo
AnnotationInfo
for any annotations on the package-info.class file, if present, else null.private AnnotationInfoList
Classfile.classAnnotations
The class annotations.private AnnotationInfoList
AnnotationInfoList.directlyRelatedAnnotations
The set of annotations directly related to a class or method and not inherited through a meta-annotated annotation.(package private) static final AnnotationInfoList
AnnotationInfoList.EMPTY_LIST
An unmodifiable emptyAnnotationInfoList
.private AnnotationInfoList
MethodTypeSignature.receiverTypeAnnotationInfo
Any type annotation(s) on an explicit receiver parameter.protected AnnotationInfoList
HierarchicalTypeSignature.typeAnnotationInfo
Fields in io.github.classgraph with type parameters of type AnnotationInfoListModifier and TypeFieldDescriptionprivate List
<AnnotationInfoList> ClassRefTypeSignature.suffixTypeAnnotations
The suffix type annotations.Methods in io.github.classgraph that return AnnotationInfoListModifier and TypeMethodDescriptionAnnotationInfoList.directOnly()
returns the list of direct annotations, excluding meta-annotations.static AnnotationInfoList
AnnotationInfoList.emptyList()
Return an unmodifiable emptyAnnotationInfoList
.AnnotationInfoList.filter
(AnnotationInfoList.AnnotationInfoFilter filter) Find the subset of theAnnotationInfo
objects in this list for which the given filter predicate is true.ClassInfo.getAnnotationInfo()
Get a list of the annotations on this class, or the empty list if none.ClassMemberInfo.getAnnotationInfo()
Get a list of annotations on this class member, along with any annotation parameter values, wrapped inAnnotationInfo
objects.MethodParameterInfo.getAnnotationInfo()
Method parameter annotation info (or null if no annotations).ModuleInfo.getAnnotationInfo()
Get any annotations on thepackage-info.class
file.PackageInfo.getAnnotationInfo()
Get any annotations on thepackage-info.class
file.ClassInfo.getAnnotationInfoRepeatable
(Class<? extends Annotation> annotation) Get a theRepeatable
annotation on this class, or the empty list if the class does not have the annotation.ClassInfo.getAnnotationInfoRepeatable
(String annotationName) Get a the namedRepeatable
annotation on this class, or the empty list if the class does not have the named annotation.ClassMemberInfo.getAnnotationInfoRepeatable
(Class<? extends Annotation> annotation) Get a theRepeatable
annotation on this class member, or the empty list if the class member does not have the annotation.ClassMemberInfo.getAnnotationInfoRepeatable
(String annotationName) Get a the namedRepeatable
annotation on this class member, or the empty list if the class member does not have the named annotation.MethodParameterInfo.getAnnotationInfoRepeatable
(Class<? extends Annotation> annotation) Get a theRepeatable
annotation on this method, or the empty list if the method parameter does not have the annotation.MethodParameterInfo.getAnnotationInfoRepeatable
(String annotationName) Get a the namedRepeatable
annotation on this method, or the empty list if the method parameter does not have the named annotation.(package private) static AnnotationInfoList
AnnotationInfoList.getIndirectAnnotations
(AnnotationInfoList directAnnotationInfo, ClassInfo annotatedClass) Get the indirect annotations on a class (meta-annotations and/or inherited annotations).MethodTypeSignature.getReceiverTypeAnnotationInfo()
Get type annotations on the explicit receiver parameter, or null if none.AnnotationInfoList.getRepeatable
(Class<? extends Annotation> annotationClass) Get theRepeatable
annotation with the given class, or the empty list if none found.AnnotationInfoList.getRepeatable
(String name) Get theRepeatable
annotation with the given name, or the empty list if none found.ArrayTypeSignature.getTypeAnnotationInfo()
Get a list ofAnnotationInfo
objects for the type annotations on this array type, or null if none.HierarchicalTypeSignature.getTypeAnnotationInfo()
Get a list ofAnnotationInfo
objects for any type annotations on this type, or null if none.TypeSignature.getTypeAnnotationInfo()
Get a list ofAnnotationInfo
objects for any type annotations on this type, or null if none.Methods in io.github.classgraph that return types with arguments of type AnnotationInfoListModifier and TypeMethodDescriptionClassRefTypeSignature.getSuffixTypeAnnotationInfo()
Get a list of lists of type annotations for all nested suffixes of the class, one list per suffix.Methods in io.github.classgraph with parameters of type AnnotationInfoListModifier and TypeMethodDescription(package private) void
ModuleInfo.addAnnotations
(AnnotationInfoList moduleAnnotations) Add annotations found in a module descriptor classfile.(package private) void
PackageInfo.addAnnotations
(AnnotationInfoList packageAnnotations) Add annotations found in a package descriptor classfile.private void
ClassInfo.addFieldOrMethodAnnotationInfo
(AnnotationInfoList annotationInfoList, boolean isField, int modifiers, Map<String, ClassInfo> classNameToClassInfo) Add field or method annotation cross-links.private static void
AnnotationInfoList.findMetaAnnotations
(AnnotationInfo ai, AnnotationInfoList allAnnotationsOut, Set<ClassInfo> visited) Find the transitive closure of meta-annotations.(package private) static AnnotationInfoList
AnnotationInfoList.getIndirectAnnotations
(AnnotationInfoList directAnnotationInfo, ClassInfo annotatedClass) Get the indirect annotations on a class (meta-annotations and/or inherited annotations).protected void
ArrayTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
BaseTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
ClassRefTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
ClassTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) To string internal.(package private) void
ClassTypeSignature.toStringInternal
(String className, boolean useSimpleNames, int modifiers, boolean isAnnotation, boolean isInterface, AnnotationInfoList annotationsToExclude, StringBuilder buf) Render into String form.protected abstract void
HierarchicalTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) Render type signature to string.protected void
MethodTypeSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
TypeArgument.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
TypeParameter.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) protected void
TypeVariableSignature.toStringInternal
(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, StringBuilder buf) Constructors in io.github.classgraph with parameters of type AnnotationInfoListModifierConstructorDescriptionAnnotationInfoList
(AnnotationInfoList reachableAnnotations) Construct a new modifiable emptyAnnotationInfoList
, given an initial list ofAnnotationInfo
objects.(package private)
AnnotationInfoList
(AnnotationInfoList reachableAnnotations, AnnotationInfoList directlyRelatedAnnotations) Constructor.ClassMemberInfo
(String definingClassName, String memberName, int modifiers, String typeDescriptorStr, String typeSignatureStr, AnnotationInfoList annotationInfo) Constructor.(package private)
FieldInfo
(String definingClassName, String fieldName, int modifiers, String typeDescriptorStr, String typeSignatureStr, Object constantInitializerValue, AnnotationInfoList annotationInfo, List<Classfile.TypeAnnotationDecorator> typeAnnotationDecorators) Constructor.(package private)
MethodInfo
(String definingClassName, String methodName, AnnotationInfoList methodAnnotationInfo, int modifiers, String typeDescriptorStr, String typeSignatureStr, String[] parameterNames, int[] parameterModifiers, AnnotationInfo[][] parameterAnnotationInfo, boolean hasBody, int minLineNum, int maxLineNum, List<Classfile.MethodTypeAnnotationDecorator> methodTypeAnnotationDecorators, String[] thrownExceptionNames) Constructor.