public final class TypeArgument extends HierarchicalTypeSignature
Modifier and Type | Class and Description |
---|---|
static class |
TypeArgument.Wildcard
A type wildcard.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
findReferencedClassNames(Set<String> refdClassNames)
Get the names of any 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() |
String |
toStringWithSimpleNames()
toString() with simple names for classes. |
public TypeArgument.Wildcard getWildcard()
public ReferenceTypeSignature getTypeSignature()
public void findReferencedClassNames(Set<String> refdClassNames)
refdClassNames
- the referenced class names.public String toStringWithSimpleNames()
toString()
with simple names for classes.Copyright © 2020. All rights reserved.