Uses of Class
io.github.classgraph.ClassInfo
Packages that use ClassInfo
-
Uses of ClassInfo in io.github.classgraph
Subclasses of ClassInfo in io.github.classgraphSubclasses with type arguments of type ClassInfo in io.github.classgraphModifier and TypeClassDescriptionclassA uniquified (deduplicated) list ofClassInfoobjects, which stores both reachable classes (obtained through a given class relationship, either by direct relationship or through an indirect path), and directly related classes (classes reachable through a direct relationship only).Classes in io.github.classgraph that implement interfaces with type arguments of type ClassInfoModifier and TypeClassDescriptionclassHolds metadata about a class encountered during a scan.Fields in io.github.classgraph declared as ClassInfoModifier and TypeFieldDescriptionprivate final ClassInfoClassTypeSignature.classInfoThe class info.private ClassInfoScanResultObject.classInfoThe associatedClassInfoobject.private ClassInfoArrayClassInfo.elementClassInfoThe element class info.Fields in io.github.classgraph with type parameters of type ClassInfoModifier and TypeFieldDescriptionScanResult.SerializationFormat.classInfoThe list of allClassInfoobjects.ModuleInfo.classInfoSetSet of classes in the module.ScanResult.classNameToClassInfoThe map from class name toClassInfo.ClassInfo.ReachableAndDirectlyRelatedClasses.directlyRelatedClassesThe directly related classes.ClassInfoList.directlyRelatedClassesDirectly related classes.PackageInfo.memberClassNameToClassInfoSet of classes in the package.ClassInfo.methodOverrideOrderThe override order for a class' methods (base class, followed by superclasses, followed by interfaces).ClassInfo.overrideOrderThe override order for a class' fields or methods (base class, followed by interfaces, followed by superclasses).ClassInfo.ReachableAndDirectlyRelatedClasses.reachableClassesThe reachable classes.private Map<ClassInfo.RelType, Set<ClassInfo>> ClassInfo.relatedClassesThe set of classes related to this one.Methods in io.github.classgraph that return ClassInfoModifier and TypeMethodDescription(package private) static ClassInfoClassInfo.addScannedClass(String className, int classModifiers, boolean isExternalClass, Map<String, ClassInfo> classNameToClassInfo, ClasspathElement classpathElement, Resource classfileResource) Add a class that has just been scanned (as opposed to just referenced by a scanned class).AnnotationClassRef.getClassInfo()Get the class info.AnnotationInfo.getClassInfo()Return theClassInfoobject for the annotation class.protected ClassInfoAnnotationParameterValue.getClassInfo()protected ClassInfoArrayTypeSignature.getClassInfo()protected ClassInfoBaseTypeSignature.getClassInfo()protected ClassInfoClassInfo.getClassInfo()ClassMemberInfo.getClassInfo()Get theClassInfoobject for the class that declares this class member.ClassRefTypeSignature.getClassInfo()Get theClassInfoobject for the referenced class.protected ClassInfoClassTypeSignature.getClassInfo()protected ClassInfoMethodTypeSignature.getClassInfo()ModuleInfo.getClassInfo(String className) Get theClassInfoobject for the named class in this module, or null if the class was not found in this module.protected ClassInfoObjectTypedValueWrapper.getClassInfo()PackageInfo.getClassInfo(String className) Get theClassInfoobject for the named class in this package, or null if the class was not found in this package.ScanResult.getClassInfo(String className) Get theClassInfoobject for the named class, or null if no class of the requested name was found in an accepted/non-rejected package during the scan.(package private) ClassInfoScanResultObject.getClassInfo()Get theClassInfoobject for the referenced class, or null if the referenced class was not encountered during scanning (i.e.protected ClassInfoTypeArgument.getClassInfo()protected ClassInfoTypeParameter.getClassInfo()ArrayClassInfo.getElementClassInfo()Get theClassInfoinstance for the array element type.(package private) static ClassInfoClassInfo.getOrCreateClassInfo(String className, Map<String, ClassInfo> classNameToClassInfo) Get a ClassInfo object, or create it if it doesn't exist.ClassInfo.getSuperclass()Get the single direct superclass of this class, or null if none.Methods in io.github.classgraph that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionClassInfo.filterClassInfo(Collection<ClassInfo> classes, ScanSpec scanSpec, boolean strictAccept, ClassInfo.ClassType... classTypes) Filter classes according to scan spec and class type.ScanResultObject.findReferencedClassInfo(LogNode log) GetClassInfoobjects for any classes referenced by this object.ScanResult.getAllClassesAsMap()Get a map from class name toClassInfoobject for all classes, interfaces and annotations found during the scan.ScanResult.getClassDependencyMap()Get a map from theClassInfoobject for each accepted class to a list of the classes referenced by that class (i.e.ClassInfo.getFieldOverrideOrder()Get the order that fields are overridden in (base class first).ClassInfo.getFieldOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to interfaces and superclasses to get the order that fields are overridden in.ClassInfo.getMethodOverrideOrder()Get the order that methods are overridden in.ClassInfo.getMethodOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to collect classes and interfaces in the order of overridden methods, in descending priority.ScanResult.getReverseClassDependencyMap()Get the reverse class dependency map, i.e.Methods in io.github.classgraph with parameters of type ClassInfoModifier and TypeMethodDescriptionbooleanWhether or not to allow aClassInfolist item through the filter.(package private) voidModuleInfo.addClassInfo(ClassInfo classInfo) Add aClassInfoobject to thisModuleInfo.(package private) voidPackageInfo.addClassInfo(ClassInfo classInfo) Merge aClassInfoobject for a package-info.class file into this PackageInfo.(package private) booleanClassInfo.addRelatedClass(ClassInfo.RelType relType, ClassInfo classInfo) Add a class with a given relationship type.intCompare based on class name.(package private) voidAnnotationParameterValue.convertWrapperArraysToPrimitiveArrays(ClassInfo annotationClassInfo) For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type).(package private) voidAnnotationParameterValueList.convertWrapperArraysToPrimitiveArrays(ClassInfo annotationClassInfo) For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type).(package private) voidObjectTypedValueWrapper.convertWrapperArraysToPrimitiveArrays(ClassInfo annotationClassInfo, String paramName) Replace Object[] arrays containing boxed types with primitive arrays.private ObjectObjectTypedValueWrapper.getArrayValueClassOrName(ClassInfo annotationClassInfo, String paramName, boolean getClass) Get the element type of an array element.ClassInfoList.getAssignableTo(ClassInfo superclassOrInterface) Filter thisClassInfoListto include only classes that are assignable to the requested class, assignableToClass (i.e.(package private) static AnnotationInfoListAnnotationInfoList.getIndirectAnnotations(AnnotationInfoList directAnnotationInfo, ClassInfo annotatedClass) Get the indirect annotations on a class (meta-annotations and/or inherited annotations).(package private) voidAnnotationInfoList.handleRepeatableAnnotations(Set<String> allRepeatableAnnotationNames, ClassInfo containingClassInfo, ClassInfo.RelType forwardRelType, ClassInfo.RelType reverseRelType0, ClassInfo.RelType reverseRelType1) HandleRepeatableannotations.(package private) ObjectAnnotationParameterValue.instantiate(ClassInfo annotationClassInfo) Instantiate an annotation parameter value.(package private) ObjectObjectTypedValueWrapper.instantiateOrGet(ClassInfo annotationClassInfo, String paramName) Instantiate or get the wrapped value.private static voidGraphvizDotfileGenerator.labelClassNodeHTML(ClassInfo ci, String shape, String boxBgColor, boolean showFields, boolean showMethods, boolean useSimpleNames, ScanSpec scanSpec, StringBuilder buf) Produce HTML label for class node.(package private) static ClassTypeSignatureParse a class type signature or class type descriptor.Method parameters in io.github.classgraph with type arguments of type ClassInfoModifier and TypeMethodDescription(package private) voidClassInfo.addClassAnnotation(AnnotationInfo classAnnotationInfo, Map<String, ClassInfo> classNameToClassInfo) Add an annotation to this class.(package private) static voidClassInfo.addClassContainment(List<Classfile.ClassContainment> classContainmentEntries, Map<String, ClassInfo> classNameToClassInfo) Add class containment info.(package private) voidClassInfo.addFieldInfo(FieldInfoList fieldInfoList, Map<String, ClassInfo> classNameToClassInfo) Add field info.private voidClassInfo.addFieldOrMethodAnnotationInfo(AnnotationInfoList annotationInfoList, boolean isField, int modifiers, Map<String, ClassInfo> classNameToClassInfo) Add field or method annotation cross-links.(package private) voidClassInfo.addImplementedInterface(String interfaceName, Map<String, ClassInfo> classNameToClassInfo) Add an implemented interface to this class.(package private) voidClassInfo.addMethodInfo(MethodInfoList methodInfoList, Map<String, ClassInfo> classNameToClassInfo) Add method info.(package private) static ClassInfoClassInfo.addScannedClass(String className, int classModifiers, boolean isExternalClass, Map<String, ClassInfo> classNameToClassInfo, ClasspathElement classpathElement, Resource classfileResource) Add a class that has just been scanned (as opposed to just referenced by a scanned class).(package private) voidClassInfo.addSuperclass(String superclassName, Map<String, ClassInfo> classNameToClassInfo) Add a superclass to this class.ClassInfo.filterClassInfo(Collection<ClassInfo> classes, ScanSpec scanSpec, boolean strictAccept, ClassInfo.ClassType... classTypes) Filter classes according to scan spec and class type.private static voidAnnotationInfoList.findMetaAnnotations(AnnotationInfo ai, AnnotationInfoList allAnnotationsOut, Set<ClassInfo> visited) Find the transitive closure of meta-annotations.protected voidAnnotationInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidAnnotationInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidAnnotationInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in this list.protected voidAnnotationInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in this list.protected voidAnnotationParameterValue.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the annotation parameters.protected voidAnnotationParameterValue.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the annotation parameters.protected voidAnnotationParameterValueList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the methods in this list.protected voidAnnotationParameterValueList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the methods in this list.protected voidArrayClassInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidArrayClassInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidClassInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in this class' type descriptor, or the type descriptors of fields, methods or annotations.protected voidClassInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in this class' type descriptor, or the type descriptors of fields, methods or annotations.protected voidClassTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidClassTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidFieldInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidFieldInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidFieldInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the list.protected voidFieldInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the list.protected voidMethodInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidMethodInfo.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidMethodInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidMethodInfoList.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidMethodTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidMethodTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type descriptor or type signature.protected voidObjectTypedValueWrapper.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in annotation parameters.protected voidObjectTypedValueWrapper.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in annotation parameters.protected voidScanResultObject.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced by this object.protected voidScanResultObject.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced by this object.protected final voidTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type signature.protected final voidTypeSignature.findReferencedClassInfo(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfoobjects for any classes referenced in the type signature.(package private) static ClassInfoListClassInfo.getAllAnnotationClasses(Collection<ClassInfo> classes, ScanSpec scanSpec) Get all annotation classes found during the scan.(package private) static ClassInfoListClassInfo.getAllClasses(Collection<ClassInfo> classes, ScanSpec scanSpec) Get all classes found during the scan.(package private) static ClassInfoListClassInfo.getAllEnums(Collection<ClassInfo> classes, ScanSpec scanSpec) Get allEnumclasses found during the scan.(package private) static ClassInfoListClassInfo.getAllImplementedInterfaceClasses(Collection<ClassInfo> classes, ScanSpec scanSpec) Get all implemented interface (non-annotation interface) classes found during the scan.(package private) static ClassInfoListClassInfo.getAllInterfacesOrAnnotationClasses(Collection<ClassInfo> classes, ScanSpec scanSpec) Get all interface or annotation classes found during the scan.(package private) static ClassInfoListClassInfo.getAllRecords(Collection<ClassInfo> classes, ScanSpec scanSpec) Get allrecordclasses found during the scan.(package private) static ClassInfoListClassInfo.getAllStandardClasses(Collection<ClassInfo> classes, ScanSpec scanSpec) Get all standard classes found during the scan.ClassInfo.getFieldOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to interfaces and superclasses to get the order that fields are overridden in.ClassInfo.getFieldOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to interfaces and superclasses to get the order that fields are overridden in.ClassInfo.getMethodOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to collect classes and interfaces in the order of overridden methods, in descending priority.ClassInfo.getMethodOverrideOrder(Set<ClassInfo> visited, List<ClassInfo> overrideOrderOut) Recurse to collect classes and interfaces in the order of overridden methods, in descending priority.(package private) static ClassInfoClassInfo.getOrCreateClassInfo(String className, Map<String, ClassInfo> classNameToClassInfo) Get a ClassInfo object, or create it if it doesn't exist.(package private) voidClassfile.link(Map<String, ClassInfo> classNameToClassInfo, Map<String, PackageInfo> packageNameToPackageInfo, Map<String, ModuleInfo> moduleNameToModuleInfo) Link classes.private voidPackageInfo.obtainClassInfoRecursive(Set<ClassInfo> reachableClassInfo) Get theClassInfoobjects within this package recursively.Constructors in io.github.classgraph with parameters of type ClassInfoModifierConstructorDescription(package private)ClassTypeSignature(ClassInfo classInfo, ClassInfo superclass, ClassInfoList interfaces) Constructor used to create synthetic class type descriptor (#662).privateClassTypeSignature(ClassInfo classInfo, List<TypeParameter> typeParameters, ClassRefTypeSignature superclassSignature, List<ClassRefTypeSignature> superinterfaceSignatures, List<ClassRefOrTypeVariableSignature> throwsSignatures) Constructor.Constructor parameters in io.github.classgraph with type arguments of type ClassInfoModifierConstructorDescriptionClassInfoList(Collection<ClassInfo> classInfoCollection) Construct a new modifiable emptyClassInfoList, given an initial list ofClassInfoobjects.(package private)ClassInfoList(Set<ClassInfo> reachableClasses, boolean sortByName) Construct a modifiable list ofClassInfoobjects, where each class is directly related.(package private)ClassInfoList(Set<ClassInfo> reachableClasses, Set<ClassInfo> directlyRelatedClasses, boolean sortByName) Construct a modifiable list ofClassInfoobjects, consisting of reachable classes (obtained through the transitive closure) and directly related classes (one step away in the graph).privateReachableAndDirectlyRelatedClasses(Set<ClassInfo> reachableClasses, Set<ClassInfo> directlyRelatedClasses) Constructor.(package private)ScanResult(ScanSpec scanSpec, List<ClasspathElement> classpathOrder, List<String> rawClasspathEltOrderStrs, ClasspathFinder classpathFinder, Map<String, ClassInfo> classNameToClassInfo, Map<String, PackageInfo> packageNameToPackageInfo, Map<String, ModuleInfo> moduleNameToModuleInfo, Map<File, Long> fileToLastModified, NestedJarHandler nestedJarHandler, LogNode topLevelLog) The result of a scan.SerializationFormat(String serializationFormatStr, ScanSpec scanSpec, List<ClassInfo> classInfo, List<PackageInfo> packageInfo, List<ModuleInfo> moduleInfo, List<String> classpath) Constructor.