public class JArrayLength extends JExpression
Constructor and Description |
---|
JArrayLength(SourceInfo info,
JExpression instance) |
Modifier and Type | Method and Description |
---|---|
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.
|
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JArrayLength(SourceInfo info, JExpression instance)
public JExpression getInstance()
public JType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.