public class ArrayTypeSignature extends ReferenceTypeSignature
| Constructor | Description |
|---|---|
ArrayTypeSignature(TypeSignature elementTypeSignature,
int numArrayDims) |
| 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
|
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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitparsepublic ArrayTypeSignature(TypeSignature elementTypeSignature, int numArrayDims)
elementTypeSignature - The type signature of the array elements.numArrayDims - The number of array dimensions.public TypeSignature getElementTypeSignature()
public int getNumArrayDims()
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.