BaseTypeSignature, ReferenceTypeSignaturepublic abstract class TypeSignature extends HierarchicalTypeSignature
| Constructor | Description |
|---|---|
TypeSignature() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
equalsIgnoringTypeParams(TypeSignature other) |
Compare base types, ignoring generic type parameters.
|
abstract Class<?> |
instantiate(ScanResult scanResult) |
Instantiate the type signature into a class reference.
|
static TypeSignature |
parse(String typeDescriptor) |
Parse a type signature.
|
getAllReferencedClassNamespublic abstract Class<?> instantiate(ScanResult scanResult)
scanResult - The scan result.Class<?>.public abstract boolean equalsIgnoringTypeParams(TypeSignature other)
other - the other TypeSignature to compare to.TypeSignature objects are equal, ignoring type parameters.public static TypeSignature parse(String typeDescriptor)
typeDescriptor - The type descriptor or type signature to parse.Copyright © 2018. All rights reserved.