public class FormCompiler extends CommonCompiler
CommonCompiler.JavaTypesResolver
classNames, COMPILE_NAME, formNames, hashMappings
Modifier and Type | Method and Description |
---|---|
static javassist.CtClass |
createClassForForm(QID path,
Map<FunctionSignature,FormCompiler> formCompilers,
javassist.ClassPool classPool,
FunctionSignature signature,
Map<com.whitestein.lsps.model.ProcessModel,String> imports,
Map<ClassType,String> classNames,
Map<FunctionSignature,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 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, Map<FunctionSignature,FormCompiler> formCompilers, javassist.ClassPool classPool, FunctionSignature signature, Map<com.whitestein.lsps.model.ProcessModel,String> imports, Map<ClassType,String> classNames, Map<FunctionSignature,String> formNames, boolean generateClass, boolean generateSource, SrcClass srcClass)
path
- formCompilers
- classPool
- signature
- imports
- classNames
- formNames
- generateClass
- generateSource
- srcClass
- protected 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.