public class CfgReadWriteNode extends CfgSimpleNode<JNode>
Constructor and Description |
---|
CfgReadWriteNode(CfgNode<?> parent,
JNode node,
JExpression target,
JExpression value) |
Modifier and Type | Method and Description |
---|---|
void |
accept(CfgVisitor visitor) |
protected CfgNode<?> |
cloneImpl() |
JExpression |
getTarget()
Get operation target.
|
JVariable |
getTargetVariable()
Get target variable if target is variable reference.
|
JExpression |
getValue()
Get expression which is assigned to value.
|
String |
toDebugString() |
public CfgReadWriteNode(CfgNode<?> parent, JNode node, JExpression target, JExpression value)
public void accept(CfgVisitor visitor)
public JExpression getTarget()
public JVariable getTargetVariable()
null
otherwise (e.g. target is array reference).public JExpression getValue()
null
when new value expression can't be statically determined.public String toDebugString()
toDebugString
in class CfgSimpleNode<JNode>
Copyright © 2018. All rights reserved.