public class BaseTypeSignature extends TypeSignature
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.
|
Class<?> |
getType()
Get the type.
|
char |
getTypeSignatureChar()
Get the type signature char used to represent the type, e.g.
|
String |
getTypeStr()
Get the name of the type as a string.
|
int |
hashCode() |
String |
toString()
Render to string.
|
String |
toStringWithSimpleNames()
Render to string, using only simple
names for classes.
|
getTypeAnnotationInfo
public char getTypeSignatureChar()
public String getTypeStr()
public Class<?> getType()
public boolean equalsIgnoringTypeParams(TypeSignature other)
TypeSignature
equalsIgnoringTypeParams
in class TypeSignature
other
- the other TypeSignature
to compare to.TypeSignature
objects are equal, ignoring type parameters.public String toStringWithSimpleNames()
Copyright © 2021. All rights reserved.