com.borland.jbuilder.jot
Interface JotAssignment

All Superinterfaces:
JotBinaryExpression, JotExpression, JotMarker, JotOperation, JotSourceElement

public interface JotAssignment
extends JotBinaryExpression

This interface represents a variable assignment expression. See section 15.25 in the Java Language Specifcation for more information.


Method Summary
 JotExpression getLHS()
          Returns a JotExpression instance that represents the left-hand side of the assignment expression.
 JotExpression getRHS()
          Returns a JotExpression instance that represents the right-hand side of the assignment expression.
 java.lang.String getVariableName()
           
 void setRValue(java.lang.String value)
          Replaces the right hand side of the assignment with the specified value.
 void setVariableName(java.lang.String name)
           
 
Methods inherited from interface com.borland.jbuilder.jot.JotBinaryExpression
getOperator, getOperatorType
 
Methods inherited from interface com.borland.jbuilder.jot.JotExpression
getAssignment, getCondition, getMethodCall, getNew, getOperation, getValue, getVariable, isConstant, isNull
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 
Methods inherited from interface com.borland.jbuilder.jot.JotOperation
isBinaryOperation
 

Method Detail

getVariableName

public java.lang.String getVariableName()

setVariableName

public void setVariableName(java.lang.String name)

getLHS

public JotExpression getLHS()
Returns a JotExpression instance that represents the left-hand side of the assignment expression.
Specified by:
getLHS in interface JotBinaryExpression

getRHS

public JotExpression getRHS()
Returns a JotExpression instance that represents the right-hand side of the assignment expression.
Specified by:
getRHS in interface JotBinaryExpression

setRValue

public void setRValue(java.lang.String value)
Replaces the right hand side of the assignment with the specified value.