Package io.github.classgraph
Class TypeSignature
java.lang.Object
io.github.classgraph.HierarchicalTypeSignature
io.github.classgraph.TypeSignature
- Direct Known Subclasses:
BaseTypeSignature,ReferenceTypeSignature
A type signature for a reference type or base type. Subclasses are
ReferenceTypeSignature (whose own
subclasses are ClassRefTypeSignature, TypeVariableSignature, and ArrayTypeSignature), and
BaseTypeSignature.-
Method Summary
Modifier and TypeMethodDescriptionabstract booleanCompare base types, ignoring generic type parameters.Get a list ofAnnotationInfoobjects for any type annotations on this type, or null if none.toString()Render to string.Render to string, using only simple names for classes.
-
Method Details
-
getTypeAnnotationInfo
Get a list ofAnnotationInfoobjects for any type annotations on this type, or null if none.- Overrides:
getTypeAnnotationInfoin classHierarchicalTypeSignature- Returns:
- a list of
AnnotationInfoobjects for any type annotations on this type, or null if none.
-
equalsIgnoringTypeParams
Compare base types, ignoring generic type parameters.- Parameters:
other- the otherTypeSignatureto compare to.- Returns:
- True if the two
TypeSignatureobjects are equal, ignoring type parameters.
-
toStringWithSimpleNames
Render to string, using only simple names for classes.- Returns:
- the string representation, using simple names for classes.
-
toString
Render to string.
-