public abstract class AbstractFuncHolder extends Object implements FuncHolder
Constructor and Description |
---|
AbstractFuncHolder() |
Modifier and Type | Method and Description |
---|---|
boolean |
isComplexWriterFuncHolder()
Checks that the current function holder stores output value
using field writer instead of vector holder.
|
boolean |
isNested() |
abstract ClassGenerator.HoldingContainer |
renderEnd(ClassGenerator<?> classGenerator,
ClassGenerator.HoldingContainer[] inputVariables,
com.sun.codemodel.JVar[] workspaceJVars,
FunctionHolderExpression holderExpr)
Generate methods body and complete the code generation.
|
void |
renderMiddle(ClassGenerator<?> g,
ClassGenerator.HoldingContainer[] inputVariables,
com.sun.codemodel.JVar[] workspaceJVars) |
abstract com.sun.codemodel.JVar[] |
renderStart(ClassGenerator<?> g,
ClassGenerator.HoldingContainer[] inputVariables,
FieldReference fieldReference) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpr, getParamCount, getParamMajorType
public abstract com.sun.codemodel.JVar[] renderStart(ClassGenerator<?> g, ClassGenerator.HoldingContainer[] inputVariables, FieldReference fieldReference)
public void renderMiddle(ClassGenerator<?> g, ClassGenerator.HoldingContainer[] inputVariables, com.sun.codemodel.JVar[] workspaceJVars)
public abstract ClassGenerator.HoldingContainer renderEnd(ClassGenerator<?> classGenerator, ClassGenerator.HoldingContainer[] inputVariables, com.sun.codemodel.JVar[] workspaceJVars, FunctionHolderExpression holderExpr)
classGenerator
- the class responsible for code generationinputVariables
- the source of the vector holdersworkspaceJVars
- class fieldsholderExpr
- holder for the function expressionpublic boolean isNested()
isNested
in interface FuncHolder
public boolean isComplexWriterFuncHolder()
FuncHolder
isComplexWriterFuncHolder
in interface FuncHolder
Copyright © 1970 The Apache Software Foundation. All rights reserved.