public static class Java.Wildcard extends Object implements Java.TypeArgument
| Modifier and Type | Field and 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 and Description |
|---|
Wildcard() |
Wildcard(int bounds,
Java.ReferenceType referenceType) |
| Modifier and Type | Method and 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–2025. All rights reserved.