public class InfixExpressionBuilder extends ExpressionBuilderBase
Modifier and Type | Field and Description |
---|---|
private org.eclipse.jdt.core.dom.InfixExpression |
m_expression
Method invocation.
|
private int |
m_operandCount
Number of operands added to expression.
|
m_source
m_ast
Constructor and Description |
---|
InfixExpressionBuilder(ClassBuilder source,
org.eclipse.jdt.core.dom.InfixExpression expr)
Constructor.
|
InfixExpressionBuilder(ClassBuilder source,
org.eclipse.jdt.core.dom.InfixExpression expr,
org.eclipse.jdt.core.dom.Expression operand)
Constructor with left operand supplied.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOperand(org.eclipse.jdt.core.dom.Expression operand)
Add operand to expression.
|
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addOperand, addStringLiteralOperand, addVariableOperand, getExpression
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
private final org.eclipse.jdt.core.dom.InfixExpression m_expression
private int m_operandCount
public InfixExpressionBuilder(ClassBuilder source, org.eclipse.jdt.core.dom.InfixExpression expr)
source
- expr
- public InfixExpressionBuilder(ClassBuilder source, org.eclipse.jdt.core.dom.InfixExpression expr, org.eclipse.jdt.core.dom.Expression operand)
source
- expr
- operand
- protected void addOperand(org.eclipse.jdt.core.dom.Expression operand)
addOperand
in class ExpressionBuilderBase
operand
-