public class FormCompiler extends CommonCompiler
CommonCompiler.JavaTypesResolver
classNames, COMPILE_NAME, formNames, hashMappings
Modifier and Type | Method and Description |
---|---|
static javassist.CtClass |
createClassForForm(QID path,
java.util.Map<FunctionSignature,FormCompiler> formCompilers,
javassist.ClassPool classPool,
FunctionSignature signature,
java.util.Map<com.whitestein.lsps.model.ProcessModel,java.lang.String> imports,
java.util.Map<ClassType,java.lang.String> classNames,
java.util.Map<FunctionSignature,java.lang.String> formNames,
boolean generateClass,
boolean generateSource,
SrcClass srcClass)
Creates class for form without implementations.
|
protected javassist.CtClass |
createClassWithoutImplementations(javassist.ClassPool classPool,
FunctionSignature signature) |
void |
createMethodBodyForForm(javassist.CtClass cls,
FunctionSignature signature) |
protected java.lang.String |
getModuleName() |
addCreateInstance, addImport, addImport, appendSemicolon, assign, classNameForClassType, classNameForFunction, classNameForModule, classNameForProcessModel, closureClasses, compileClosure, constant, createMethodBody, createPrivateMethod, createPrivateMethod, generateClass, generateSource, getArrayClassForType, getArrayClassNameForType, getBoundType, getClassForType, getClassLoader, getClassNameForType, getExceptionTypes, getFunctionName, getProtectionDomain, getSimpleClassNameForType, hasExecutionContextParameter, lineSeparator, methodCall, methodCall, nextIdx, srcClass, strConstant, var, varDef
public static javassist.CtClass createClassForForm(QID path, java.util.Map<FunctionSignature,FormCompiler> formCompilers, javassist.ClassPool classPool, FunctionSignature signature, java.util.Map<com.whitestein.lsps.model.ProcessModel,java.lang.String> imports, java.util.Map<ClassType,java.lang.String> classNames, java.util.Map<FunctionSignature,java.lang.String> formNames, boolean generateClass, boolean generateSource, SrcClass srcClass)
path
- formCompilers
- classPool
- signature
- imports
- classNames
- formNames
- generateClass
- generateSource
- srcClass
- protected java.lang.String getModuleName()
getModuleName
in class CommonCompiler
protected javassist.CtClass createClassWithoutImplementations(javassist.ClassPool classPool, FunctionSignature signature)
public void createMethodBodyForForm(javassist.CtClass cls, FunctionSignature signature) throws javassist.NotFoundException, javassist.CannotCompileException
javassist.NotFoundException
javassist.CannotCompileException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.