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
-
public class InvocationBuilder extends ExpressionBuilderBase
Method invocation builder. This wraps the AST method invocation representation with convenience methods and added control information.
-
-
Field Summary
Fields Modifier and Type Field Description private MethodInvocation
m_invoke
Method invocation.-
Fields 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
Constructors Constructor Description InvocationBuilder(ClassBuilder source, MethodInvocation invoke)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
InvocationBuilder
public InvocationBuilder(ClassBuilder source, MethodInvocation invoke)
Constructor.- Parameters:
source
-invoke
-
-
-
Method Detail
-
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
-
-
-