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()
Render to string.
|
String |
toStringWithSimpleNames()
Render to string, using only 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()
Copyright © 2021. All rights reserved.