|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.Wildcard
public static class Java.Wildcard
Representation of a JLS7 4.5.1 'wildcard'.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
Java.Wildcard()
|
|
Java.Wildcard(int bounds,
Java.ReferenceType referenceType)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.TypeArgumentVisitor visitor)
Invokes the ' visit...()' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public Java.Wildcard()
public Java.Wildcard(int bounds,
Java.ReferenceType referenceType)
| Method Detail |
|---|
public void accept(Visitor.TypeArgumentVisitor visitor)
Java.TypeArgumentvisit...()' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type.
accept in interface Java.TypeArgumentpublic String toString()
toString in class Object
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||