public class BaseTypeSignature extends TypeSignature
| Constructor and Description |
|---|
BaseTypeSignature(String baseType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoringTypeParams(TypeSignature other)
Compare base types, ignoring generic type parameters.
|
void |
getAllReferencedClassNames(Set<String> classNameListOut)
Get the names of all classes referenced in the type signature
|
String |
getBaseType()
Get the base type, such as "int", "float", or "void".
|
int |
hashCode() |
Class<?> |
instantiate(ScanResult scanResult)
Instantiate the type signature into a class reference.
|
String |
toString() |
parsepublic BaseTypeSignature(String baseType)
public String getBaseType()
public void getAllReferencedClassNames(Set<String> classNameListOut)
HierarchicalTypeSignaturegetAllReferencedClassNames in class HierarchicalTypeSignaturepublic Class<?> instantiate(ScanResult scanResult)
TypeSignatureinstantiate in class TypeSignaturepublic boolean equalsIgnoringTypeParams(TypeSignature other)
TypeSignatureequalsIgnoringTypeParams in class TypeSignatureCopyright © 2018. All rights reserved.