
public class JArrayRef extends JExpression
| Constructor and Description |
|---|
JArrayRef(SourceInfo info,
JExpression instance,
JExpression indexExpr) |
| Modifier and Type | Method and Description |
|---|---|
JArrayType |
getArrayType() |
JExpression |
getIndexExpr() |
JExpression |
getInstance() |
JType |
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 JArrayRef(SourceInfo info, JExpression instance, JExpression indexExpr)
public JArrayType getArrayType()
public JExpression getIndexExpr()
public JExpression getInstance()
public JType 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.