
public class JThisRef extends JExpression
| Constructor and Description |
|---|
JThisRef(SourceInfo info,
JClassType type) |
| Modifier and Type | Method and Description |
|---|---|
JClassType |
getClassType() |
JNonNullType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JThisRef(SourceInfo info, JClassType type)
public JClassType getClassType()
public JNonNullType getType()
HasTypepublic boolean hasSideEffects()
hasSideEffects in class JExpressionpublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.