public abstract class TypeSignature extends HierarchicalTypeSignature
ReferenceTypeSignature
(whose own
subclasses are ClassRefTypeSignature
, TypeVariableSignature
, and ArrayTypeSignature
), and
BaseTypeSignature
.Modifier and Type | Method and Description |
---|---|
abstract boolean |
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.
|
String |
toString()
toString() method for type signature. |
String |
toStringWithSimpleNames()
toString() method, but returning simple names for classes (i.e. |
public abstract boolean equalsIgnoringTypeParams(TypeSignature other)
other
- the other TypeSignature
to compare to.TypeSignature
objects are equal, ignoring type parameters.public String toStringWithSimpleNames()
toString()
method, but returning simple names for classes (i.e. the package names of classes are
stripped).public String toString()
toString()
method for type signature.Copyright © 2020. All rights reserved.