Package | Description |
---|---|
io.github.lukehutch.fastclasspathscanner.classfileparser | |
io.github.lukehutch.fastclasspathscanner.classgraph | |
io.github.lukehutch.fastclasspathscanner.scanner |
Modifier and Type | Field and Description |
---|---|
Map<ClassInfo.RelType,Set<ClassInfo>> |
ClassInfo.relatedTypeToClassInfoSet
The set of classes related to this one.
|
Modifier and Type | Method and Description |
---|---|
static ClassInfo |
ClassInfo.addScannedClass(String className,
boolean isInterface,
boolean isAnnotation,
Map<String,ClassInfo> classNameToClassInfo)
Add a class that has just been scanned (as opposed to just referenced by a scanned class).
|
Modifier and Type | Method and Description |
---|---|
static Set<ClassInfo> |
ClassInfo.filterClassInfo(Set<ClassInfo> classInfoSet,
boolean removeExternalClasses,
ClassInfo.ClassType... classTypes)
Get the ClassInfo objects for the classes related to this one in the specified way.
|
Set<ClassInfo> |
ClassInfo.getReachableClasses(ClassInfo.RelType relType)
Find all ClassInfo nodes reachable from this ClassInfo node over the given relationship type links (not
including this class itself).
|
Set<ClassInfo> |
ClassInfo.getRelatedClasses(ClassInfo.RelType relType)
Get the ClassInfo objects for the classes related to this one in the specified way.
|
static Set<ClassInfo> |
ClassInfo.getRelatedClasses(String className,
Map<String,ClassInfo> classNameToClassInfo,
ClassInfo.RelType relType)
Get the ClassInfo objects for the classes related to the named class in the specified way.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClassInfo.addRelatedClass(ClassInfo.RelType relType,
ClassInfo classInfo)
Add a ClassInfo objects for the given relationship type.
|
int |
ClassInfo.compareTo(ClassInfo o) |
Modifier and Type | Method and Description |
---|---|
void |
ClassInfo.addAnnotation(String annotationName,
Map<String,ClassInfo> classNameToClassInfo) |
void |
ClassInfo.addFieldType(String fieldTypeName,
Map<String,ClassInfo> classNameToClassInfo) |
void |
ClassInfo.addImplementedInterface(String interfaceName,
Map<String,ClassInfo> classNameToClassInfo) |
boolean |
ClassInfo.addRelatedClasses(ClassInfo.RelType relType,
Collection<ClassInfo> classInfoSetToAdd)
Add a ClassInfo objects for the given relationship type.
|
static ClassInfo |
ClassInfo.addScannedClass(String className,
boolean isInterface,
boolean isAnnotation,
Map<String,ClassInfo> classNameToClassInfo)
Add a class that has just been scanned (as opposed to just referenced by a scanned class).
|
void |
ClassInfo.addSuperclass(String superclassName,
Map<String,ClassInfo> classNameToClassInfo) |
static Set<ClassInfo> |
ClassInfo.filterClassInfo(Set<ClassInfo> classInfoSet,
boolean removeExternalClasses,
ClassInfo.ClassType... classTypes)
Get the ClassInfo objects for the classes related to this one in the specified way.
|
static List<String> |
ClassInfo.getClassNames(Collection<ClassInfo> classInfoColl)
Get the sorted list of the names of classes given a set of ClassInfo objects.
|
static Set<ClassInfo> |
ClassInfo.getRelatedClasses(String className,
Map<String,ClassInfo> classNameToClassInfo,
ClassInfo.RelType relType)
Get the ClassInfo objects for the classes related to the named class in the specified way.
|
Constructor and Description |
---|
ClassGraphBuilder(Map<String,ClassInfo> classNameToClassInfo) |
Modifier and Type | Method and Description |
---|---|
void |
ScanSpec.callMatchProcessors(ScanResult scanResult,
LinkedBlockingQueue<io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource> matchingFiles,
Map<String,ClassInfo> classNameToClassInfo,
ThreadLog log)
Run the MatchProcessors after a scan has completed.
|
void |
ClassInfoUnlinked.link(Map<String,ClassInfo> classNameToClassInfo) |
Constructor and Description |
---|
ScanResult(ScanSpec scanSpec,
List<File> classpathElts,
Map<String,ClassInfo> classNameToClassInfo,
Map<File,Long> fileToTimestamp,
ThreadLog log) |
Copyright © 2016. All rights reserved.