Package org.jibx.schema.codegen
Class InvocationBuilder
java.lang.Object
org.jibx.schema.codegen.ASTBuilderBase
org.jibx.schema.codegen.ExpressionBuilderBase
org.jibx.schema.codegen.InvocationBuilder
Method invocation builder. This wraps the AST method invocation representation with convenience methods and added
control information.
-
Field Summary
FieldsFields inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
m_expression, m_source
Fields inherited from class org.jibx.schema.codegen.ASTBuilderBase
m_ast
-
Constructor Summary
ConstructorsConstructorDescriptionInvocationBuilder
(ClassBuilder source, MethodInvocation invoke) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOperand
(Expression operand) Add operand to expression.Methods inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addStringLiteralOperand, addVariableOperand, getExpression
Methods inherited from class org.jibx.schema.codegen.ASTBuilderBase
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
-
Field Details
-
m_invoke
private final MethodInvocation m_invokeMethod invocation.
-
-
Constructor Details
-
InvocationBuilder
Constructor.- Parameters:
source
-invoke
-
-
-
Method Details
-
addOperand
protected void addOperand(Expression operand) Add operand to expression. This just adds the supplied operand expression as a new method parameter.- Specified by:
addOperand
in classExpressionBuilderBase
- Parameters:
operand
-
-