public class ArrayTypeSignature extends ReferenceTypeSignature
| Constructor and Description |
|---|
ArrayTypeSignature(TypeSignature elementTypeSignature,
int numArrayDims) |
| 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
|
TypeSignature |
getElementTypeSignature()
Get the type signature of the array elements.
|
int |
getNumArrayDims()
Get the number of dimensions of the array.
|
int |
hashCode() |
Class<?> |
instantiate(ScanResult scanResult)
Instantiate the type signature into a class reference.
|
String |
toString() |
parsepublic ArrayTypeSignature(TypeSignature elementTypeSignature, int numArrayDims)
public TypeSignature getElementTypeSignature()
public int getNumArrayDims()
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.