| Modifier and Type | Class and Description |
|---|---|
class |
ArrayClassInfo
Holds metadata about an array class.
|
| Modifier and Type | Method and Description |
|---|---|
ClassInfo |
AnnotationInfo.getClassInfo()
Return the
ClassInfo object for the annotation class. |
ClassInfo |
FieldInfo.getClassInfo()
Get the
ClassInfo object for the class that declares this field. |
ClassInfo |
ClassRefTypeSignature.getClassInfo()
Get the
ClassInfo object for the referenced class. |
ClassInfo |
AnnotationClassRef.getClassInfo()
Get the class info.
|
ClassInfo |
MethodInfo.getClassInfo()
Get the
ClassInfo object for the class that declares this method. |
ClassInfo |
PackageInfo.getClassInfo(String className)
Get the
ClassInfo object for the named class in this package, or null if the class was not found in
this package. |
ClassInfo |
ModuleInfo.getClassInfo(String className)
Get the
ClassInfo object for the named class in this module, or null if the class was not found in
this module. |
ClassInfo |
ScanResult.getClassInfo(String className)
Get the
ClassInfo object for the named class, or null if no class of the requested name was found in
an accepted/non-rejected package during the scan. |
ClassInfo |
ArrayClassInfo.getElementClassInfo()
Get the
ClassInfo instance for the array element type. |
ClassInfo |
ClassInfo.getSuperclass()
Get the single direct superclass of this class, or null if none.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ClassInfo> |
ScanResult.getAllClassesAsMap()
Get a map from class name to
ClassInfo object for all classes, interfaces and annotations found
during the scan. |
Map<ClassInfo,ClassInfoList> |
ScanResult.getClassDependencyMap()
Get a map from the
ClassInfo object for each accepted class to a list of the classes referenced by
that class (i.e. |
Map<ClassInfo,ClassInfoList> |
ScanResult.getReverseClassDependencyMap()
Get the reverse class dependency map, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClassInfoList.ClassInfoFilter.accept(ClassInfo classInfo)
Whether or not to allow a
ClassInfo list item through the filter. |
int |
ClassInfo.compareTo(ClassInfo o)
Compare based on class name.
|
ClassInfoList |
ClassInfoList.getAssignableTo(ClassInfo superclassOrInterface)
Filter this
ClassInfoList to include only classes that are assignable to the requested class,
assignableToClass (i.e. |
| Constructor and Description |
|---|
ClassInfoList(Collection<ClassInfo> classInfoCollection)
Construct a new modifiable empty
ClassInfoList, given an initial list of ClassInfo objects. |
Copyright © 2021. All rights reserved.