public interface Special extends Expr
Special is an immutable representation of a
reference to this or super in Java. This
reference can be optionally qualified with a type such as
Foo.this.| Modifier and Type | Interface and Description |
|---|---|
static class |
Special.Kind
Special expression kind: either "super" or "this".
|
Term.Instance| Modifier and Type | Field and Description |
|---|---|
static Special.Kind |
SUPER |
static Special.Kind |
THIS |
| Modifier and Type | Method and Description |
|---|---|
Special.Kind |
kind()
Get the kind of expression: SUPER or THIS.
|
Special |
kind(Special.Kind kind)
Set the kind of expression: SUPER or THIS.
|
TypeNode |
qualifier()
Get the outer class qualifier of the expression.
|
Special |
qualifier(TypeNode qualifier)
Set the outer class qualifier of the expression.
|
constantValue, constantValueSet, isConstant, precedence, printSubExpr, printSubExpr, typedel, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdgeaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListexceptions, exceptions, reachable, reachablestatic final Special.Kind SUPER
static final Special.Kind THIS
Special.Kind kind()
Special kind(Special.Kind kind)
TypeNode qualifier()