Uses of Class
io.github.classgraph.AnnotationInfo
-
Packages that use AnnotationInfo Package Description io.github.classgraph -
-
Uses of AnnotationInfo in io.github.classgraph
Fields in io.github.classgraph declared as AnnotationInfo Modifier and Type Field Description private AnnotationInfo
AnnotationInfo.AnnotationInvocationHandler. annotationInfo
TheAnnotationInfo
object for this annotation.(package private) AnnotationInfo[]
MethodParameterInfo. annotationInfo
The annotation info.private AnnotationInfo
ObjectTypedValueWrapper. annotationInfo
AnnotationInfo.private static AnnotationInfo[]
Classfile. NO_ANNOTATIONS
An empty array for the case where there are no annotations.(package private) AnnotationInfo[][]
MethodInfo. parameterAnnotationInfo
Unaligned parameter annotations.Fields in io.github.classgraph with type parameters of type AnnotationInfo Modifier and Type Field Description private java.util.Set<AnnotationInfo>
ModuleInfo. annotationInfoSet
UniqueAnnotationInfo
objects for any annotations on the module-info.class file, if present, else null.private java.util.Set<AnnotationInfo>
PackageInfo. annotationInfoSet
UniqueAnnotationInfo
objects for any annotations on the package-info.class file, if present, else null.Methods in io.github.classgraph that return AnnotationInfo Modifier and Type Method Description AnnotationInfo
ClassInfo. getAnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a the non-Repeatable
annotation on this class, or null if the class does not have the annotation.AnnotationInfo
ClassInfo. getAnnotationInfo(java.lang.String annotationName)
Get a the named non-Repeatable
annotation on this class, or null if the class does not have the named annotation.AnnotationInfo
ClassMemberInfo. getAnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a the non-Repeatable
annotation on this class member, or null if the class member does not have the annotation.AnnotationInfo
ClassMemberInfo. getAnnotationInfo(java.lang.String annotationName)
Get a the named non-Repeatable
annotation on this class member, or null if the class member does not have the named annotation.AnnotationInfo
MethodParameterInfo. getAnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a the non-Repeatable
annotation on this method, or null if the method parameter does not have the annotation.AnnotationInfo
MethodParameterInfo. getAnnotationInfo(java.lang.String annotationName)
Get a the named non-Repeatable
annotation on this method, or null if the method parameter does not have the named annotation.AnnotationInfo
ModuleInfo. getAnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a the annotation on this module, or null if the module does not have the annotation.AnnotationInfo
ModuleInfo. getAnnotationInfo(java.lang.String annotationName)
Get a the named annotation on this module, or null if the module does not have the named annotation.AnnotationInfo
PackageInfo. getAnnotationInfo(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Get a the annotation on this package, or null if the package does not have the annotation.AnnotationInfo
PackageInfo. getAnnotationInfo(java.lang.String annotationName)
Get a the named annotation on this package, or null if the package does not have the named annotation.private AnnotationInfo
Classfile. readAnnotation()
Read annotation entry from classfile.Methods in io.github.classgraph with parameters of type AnnotationInfo Modifier and Type Method Description boolean
AnnotationInfoList.AnnotationInfoFilter. accept(AnnotationInfo annotationInfo)
Whether or not to allow anAnnotationInfo
list item through the filter.(package private) void
ClassInfo. addClassAnnotation(AnnotationInfo classAnnotationInfo, java.util.Map<java.lang.String,ClassInfo> classNameToClassInfo)
Add an annotation to this class.(package private) void
MethodTypeSignature. addRecieverTypeAnnotation(AnnotationInfo annotationInfo)
Add a type annotation for an explicit receiver parameter.private void
ClassRefTypeSignature. addSuffixTypeAnnotation(int suffixIdx, AnnotationInfo annotationInfo)
protected void
ArrayTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
BaseTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
ClassRefTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
ClassTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
HierarchicalTypeSignature. addTypeAnnotation(AnnotationInfo annotationInfo)
Add a type annotation.protected abstract void
HierarchicalTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
Add a type annotation.protected void
MethodTypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
TypeArgument. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected void
TypeParameter. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
protected abstract void
TypeSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
Add a type annotation to this type.protected void
TypeVariableSignature. addTypeAnnotation(java.util.List<Classfile.TypePathNode> typePath, AnnotationInfo annotationInfo)
int
AnnotationInfo. compareTo(AnnotationInfo o)
private static void
AnnotationInfoList. findMetaAnnotations(AnnotationInfo ai, AnnotationInfoList allAnnotationsOut, java.util.Set<ClassInfo> visited)
Find the transitive closure of meta-annotations.Constructors in io.github.classgraph with parameters of type AnnotationInfo Constructor Description AnnotationInvocationHandler(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, AnnotationInfo annotationInfo)
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.MethodParameterInfo(MethodInfo methodInfo, AnnotationInfo[] annotationInfo, int modifiers, TypeSignature typeDescriptor, TypeSignature typeSignature, java.lang.String name)
Constructor.
-