public class TypeArgument extends HierarchicalTypeSignature
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeArgument.WILDCARD
A type wildcard.
|
| Constructor and Description |
|---|
TypeArgument(TypeArgument.WILDCARD wildcard,
ReferenceTypeSignature typeSignature) |
| Modifier and Type | Method and 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)
public TypeArgument.WILDCARD getWildcard()
public ReferenceTypeSignature getTypeSignature()
public void getAllReferencedClassNames(Set<String> classNameListOut)
HierarchicalTypeSignaturegetAllReferencedClassNames in class HierarchicalTypeSignatureCopyright © 2018. All rights reserved.