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