public class TypeArgument extends HierarchicalTypeSignature
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TypeArgument.WILDCARD |
A type wildcard.
|
| Constructor | Description |
|---|---|
TypeArgument(TypeArgument.WILDCARD wildcard,
ReferenceTypeSignature typeSignature) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
void |
getAllReferencedClassNames(Set<String> classNameListOut) |
Get the names of all classes referenced in the type signature
|
ReferenceTypeSignature |
getTypeSignature() |
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).
|
TypeArgument.WILDCARD |
getWildcard() |
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
|
int |
hashCode() |
|
String |
toString() |
public TypeArgument(TypeArgument.WILDCARD wildcard, ReferenceTypeSignature typeSignature)
wildcard - The wildcard typetypeSignature - The type signaturepublic TypeArgument.WILDCARD getWildcard()
public ReferenceTypeSignature getTypeSignature()
public void getAllReferencedClassNames(Set<String> classNameListOut)
HierarchicalTypeSignaturegetAllReferencedClassNames in class HierarchicalTypeSignatureclassNameListOut - The set to store class names in.Copyright © 2018. All rights reserved.