public class BaseTypeSignature extends TypeSignature
| Constructor | Description |
|---|---|
BaseTypeSignature(String baseType) |
| Modifier and Type | Method | 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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitparsepublic BaseTypeSignature(String baseType)
baseType - the base typepublic String getBaseType()
public void getAllReferencedClassNames(Set<String> classNameListOut)
HierarchicalTypeSignaturegetAllReferencedClassNames in class HierarchicalTypeSignatureclassNameListOut - The set to store class names in.public Class<?> instantiate(ScanResult scanResult)
TypeSignatureinstantiate in class TypeSignaturescanResult - The scan result.Class<?>.public boolean equalsIgnoringTypeParams(TypeSignature other)
TypeSignatureequalsIgnoringTypeParams in class TypeSignatureother - the other TypeSignature to compare to.TypeSignature objects are equal, ignoring type parameters.Copyright © 2018. All rights reserved.