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.
|
static BaseTypeSignature |
getTypeSignature(String typeName)
Get the
BaseTypeSignature for a given type name. |
String |
getTypeSignatureChar()
Get the type signature char used to represent the type, e.g.
|
String |
getTypeStr()
Get the type as a string.
|
int |
hashCode() |
toString, toStringWithSimpleNames
public String getTypeStr()
public String getTypeSignatureChar()
public Class<?> getType()
public static BaseTypeSignature getTypeSignature(String typeName)
BaseTypeSignature
for a given type name.typeName
- the name of the type.BaseTypeSignature
of the named base type, or null if typeName is not a base type.public boolean equalsIgnoringTypeParams(TypeSignature other)
TypeSignature
equalsIgnoringTypeParams
in class TypeSignature
other
- the other TypeSignature
to compare to.TypeSignature
objects are equal, ignoring type parameters.Copyright © 2020. All rights reserved.