Class ReferenceTypeSignature
java.lang.Object
io.github.classgraph.HierarchicalTypeSignature
io.github.classgraph.TypeSignature
io.github.classgraph.ReferenceTypeSignature
- Direct Known Subclasses:
ArrayTypeSignature, ClassRefOrTypeVariableSignature
A type signature for a reference type. Subclasses are
ClassRefOrTypeVariableSignature
(ClassRefTypeSignature or TypeVariableSignature), and ArrayTypeSignature.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?> The class ref, once the class is loaded.protected ScanResultThe scan result.Fields inherited from class HierarchicalTypeSignature
typeAnnotationInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringThe name of the class (used byScanResultObject.getClassInfo()to fetch theClassInfoobject for the class).toString()Render to string.Render to string, using only simple names for classes.Methods inherited from class TypeSignature
addTypeAnnotation, equalsIgnoringTypeParams, findReferencedClassInfo, findReferencedClassNames, getTypeAnnotationInfoMethods inherited from class HierarchicalTypeSignature
addTypeAnnotation, toString, toStringInternal
-
Field Details
-
scanResult
The scan result. -
classRef
The class ref, once the class is loaded.
-
-
Constructor Details
-
ReferenceTypeSignature
protected ReferenceTypeSignature()Constructor.
-
-
Method Details
-
getClassName
-
toStringWithSimpleNames
Render to string, using only simple names for classes.- Returns:
- the string representation, using simple names for classes.
-
toString
-