Package | Description |
---|---|
io.github.lukehutch.fastclasspathscanner.classfileparser | |
io.github.lukehutch.fastclasspathscanner.classgraph |
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.
|
static boolean |
ClassfileBinaryParser.readClassInfoFromClassfileHeader(String relativePath,
InputStream inputStream,
Map<String,HashSet<String>> classNameToStaticFinalFieldsToMatch,
ScanSpec scanSpec,
Map<String,ClassInfo> classNameToClassInfo)
Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the
super-class etc.
|
Constructor and Description |
---|
ClassGraphTracer(Map<String,ClassInfo> classNameToClassInfo) |
Copyright © 2016. All rights reserved.