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 ScanResult
scanResult
-
Constructor Summary
Constructors Constructor Description TypeSignature()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.protected abstract String
getClassName()
-
-
-
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 otherTypeSignature
to compare to.- Returns:
- True if the two
TypeSignature
objects are equal, ignoring type parameters.
-
getClassName
protected abstract String getClassName()
-
-