Java.TypeArgumentpublic static class Java.Wildcard extends Object implements Java.TypeArgument
| Modifier and Type | Field | Description |
|---|---|---|
int |
bounds |
The kind of bounds that this wildcard has.
|
static int |
BOUNDS_EXTENDS |
Value for
bounds indicating that this wildcard has 'extends' bounds. |
static int |
BOUNDS_NONE |
Value for
bounds indicating that this wildcard has no bounds; referenceType is irrelevant
in this case. |
static int |
BOUNDS_SUPER |
Value for
bounds indicating that this wildcard has 'super' bounds. |
Java.ReferenceType |
referenceType |
The reference type of this wildcard's EXTENDS or SUPER bounds.
|
| Constructor | Description |
|---|---|
Wildcard() |
|
Wildcard(int bounds,
Java.ReferenceType referenceType) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.TypeArgumentVisitor visitor) |
Invokes the '
visit...()' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type. |
String |
toString() |
public static final int BOUNDS_NONE
bounds indicating that this wildcard has no bounds; referenceType is irrelevant
in this case.public static final int BOUNDS_EXTENDS
bounds indicating that this wildcard has 'extends' bounds.public static final int BOUNDS_SUPER
bounds indicating that this wildcard has 'super' bounds.public final int bounds
BOUNDS_NONE,
BOUNDS_EXTENDS,
BOUNDS_SUPERpublic final Java.ReferenceType referenceType
public Wildcard()
public Wildcard(int bounds,
Java.ReferenceType referenceType)
public void accept(Visitor.TypeArgumentVisitor visitor)
Java.TypeArgumentvisit...()' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type.accept in interface Java.TypeArgumentCopyright © 2001–2019. All rights reserved.