Uses of Class
io.github.classgraph.AnnotationInfoList
-
Packages that use AnnotationInfoList Package Description io.github.classgraph -
-
Uses of AnnotationInfoList in io.github.classgraph
Fields in io.github.classgraph declared as AnnotationInfoList Modifier and Type Field Description (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 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 AnnotationInfoList Modifier and Type Field Description private java.util.List<AnnotationInfoList>
ClassRefTypeSignature. suffixTypeAnnotations
The suffix type annotations.Methods in io.github.classgraph that return AnnotationInfoList Modifier and Type Method Description AnnotationInfoList
AnnotationInfoList. directOnly()
returns the list of direct annotations, excluding meta-annotations.static AnnotationInfoList
AnnotationInfoList. emptyList()
Return an unmodifiable emptyAnnotationInfoList
.AnnotationInfoList
AnnotationInfoList. filter(AnnotationInfoList.AnnotationInfoFilter filter)
Find the subset of theAnnotationInfo
objects in this list for which the given filter predicate is true.AnnotationInfoList
ClassInfo. getAnnotationInfo()
Get a list of the annotations on this class, or the empty list if none.AnnotationInfoList
ClassMemberInfo. getAnnotationInfo()
Get a list of annotations on this class member, along with any annotation parameter values, wrapped inAnnotationInfo
objects.AnnotationInfoList
MethodParameterInfo. getAnnotationInfo()
Method parameter annotation info (or null if no annotations).AnnotationInfoList
ModuleInfo. getAnnotationInfo()
Get any annotations on thepackage-info.class
file.AnnotationInfoList
PackageInfo. getAnnotationInfo()
Get any annotations on thepackage-info.class
file.AnnotationInfoList
ClassInfo. getAnnotationInfoRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a theRepeatable
annotation on this class, or the empty list if the class does not have the annotation.AnnotationInfoList
ClassInfo. getAnnotationInfoRepeatable(java.lang.String annotationName)
Get a the namedRepeatable
annotation on this class, or the empty list if the class does not have the named annotation.AnnotationInfoList
ClassMemberInfo. getAnnotationInfoRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a theRepeatable
annotation on this class member, or the empty list if the class member does not have the annotation.AnnotationInfoList
ClassMemberInfo. getAnnotationInfoRepeatable(java.lang.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.AnnotationInfoList
MethodParameterInfo. getAnnotationInfoRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a theRepeatable
annotation on this method, or the empty list if the method parameter does not have the annotation.AnnotationInfoList
MethodParameterInfo. getAnnotationInfoRepeatable(java.lang.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).AnnotationInfoList
MethodTypeSignature. getReceiverTypeAnnotationInfo()
Get type annotations on the explicit receiver parameter, or null if none.AnnotationInfoList
AnnotationInfoList. getRepeatable(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Get theRepeatable
annotation with the given class, or the empty list if none found.AnnotationInfoList
AnnotationInfoList. getRepeatable(java.lang.String name)
Get theRepeatable
annotation with the given name, or the empty list if none found.AnnotationInfoList
ArrayTypeSignature. getTypeAnnotationInfo()
Get a list ofAnnotationInfo
objects for the type annotations on this array type, or null if none.AnnotationInfoList
HierarchicalTypeSignature. getTypeAnnotationInfo()
Get a list ofAnnotationInfo
objects for any type annotations on this type, or null if none.AnnotationInfoList
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 AnnotationInfoList Modifier and Type Method Description java.util.List<AnnotationInfoList>
ClassRefTypeSignature. 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 AnnotationInfoList Modifier and Type Method Description (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, java.util.Map<java.lang.String,ClassInfo> classNameToClassInfo)
Add field or method annotation cross-links.private static void
AnnotationInfoList. findMetaAnnotations(AnnotationInfo ai, AnnotationInfoList allAnnotationsOut, java.util.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, java.lang.StringBuilder buf)
protected void
BaseTypeSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
protected void
ClassRefTypeSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
protected void
ClassTypeSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
To string internal.(package private) void
ClassTypeSignature. toStringInternal(java.lang.String className, boolean useSimpleNames, int modifiers, boolean isAnnotation, boolean isInterface, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
Render into String form.protected abstract void
HierarchicalTypeSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
Render type signature to string.protected void
MethodTypeSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
protected void
TypeArgument. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
protected void
TypeParameter. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
protected void
TypeVariableSignature. toStringInternal(boolean useSimpleNames, AnnotationInfoList annotationsToExclude, java.lang.StringBuilder buf)
Constructors in io.github.classgraph with parameters of type AnnotationInfoList Constructor Description AnnotationInfoList(AnnotationInfoList reachableAnnotations)
Construct a new modifiable emptyAnnotationInfoList
, given an initial list ofAnnotationInfo
objects.AnnotationInfoList(AnnotationInfoList reachableAnnotations, AnnotationInfoList directlyRelatedAnnotations)
Constructor.ClassMemberInfo(java.lang.String definingClassName, java.lang.String memberName, int modifiers, java.lang.String typeDescriptorStr, java.lang.String typeSignatureStr, AnnotationInfoList annotationInfo)
Constructor.FieldInfo(java.lang.String definingClassName, java.lang.String fieldName, int modifiers, java.lang.String typeDescriptorStr, java.lang.String typeSignatureStr, java.lang.Object constantInitializerValue, AnnotationInfoList annotationInfo, java.util.List<Classfile.TypeAnnotationDecorator> typeAnnotationDecorators)
Constructor.MethodInfo(java.lang.String definingClassName, java.lang.String methodName, AnnotationInfoList methodAnnotationInfo, int modifiers, java.lang.String typeDescriptorStr, java.lang.String typeSignatureStr, java.lang.String[] parameterNames, int[] parameterModifiers, AnnotationInfo[][] parameterAnnotationInfo, boolean hasBody, int minLineNum, int maxLineNum, java.util.List<Classfile.MethodTypeAnnotationDecorator> methodTypeAnnotationDecorators, java.lang.String[] thrownExceptionNames)
Constructor.
-