Package io.github.fastclasspathscanner
Class TypeSignature
- java.lang.Object
-
- io.github.fastclasspathscanner.HierarchicalTypeSignature
-
- io.github.fastclasspathscanner.TypeSignature
-
- Direct Known Subclasses:
BaseTypeSignature,ReferenceTypeSignature
public abstract class TypeSignature extends HierarchicalTypeSignature
A type signature for a reference type or base type. Subclasses areReferenceTypeSignature(whose own subclasses areClassRefTypeSignature,TypeVariableSignature, andArrayTypeSignature), andBaseTypeSignature.
-
-
Field Summary
Fields Modifier and Type Field Description protected ScanResultscanResult
-
Constructor Summary
Constructors Constructor Description TypeSignature()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanequalsIgnoringTypeParams(TypeSignature other)Compare base types, ignoring generic type parameters.protected abstract StringgetClassName()
-
-
-
Field Detail
-
scanResult
protected transient ScanResult scanResult
-
-
Method Detail
-
equalsIgnoringTypeParams
public abstract boolean equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.- Parameters:
other- the otherTypeSignatureto compare to.- Returns:
- True if the two
TypeSignatureobjects are equal, ignoring type parameters.
-
getClassName
protected abstract String getClassName()
-
-