Package | Description |
---|---|
com.whitestein.lsps.engine.lang.compiled | |
com.whitestein.lsps.lang.compiled.model |
Modifier and Type | Method and Description |
---|---|
protected SrcClass |
CommonCompiler.srcClass() |
protected SrcClass |
NamespaceCompiler.srcClass(FunctionSignature signature) |
protected SrcClass |
NamespaceCompiler.srcClass(NamedClassType type) |
Modifier and Type | Method and Description |
---|---|
static javassist.CtClass |
FormCompiler.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.
|
static javassist.CtClass |
RecordCompiler.createClassForInterfaceWithoutImplementations(Map<NamedClassType,RecordCompiler> recordCompilers,
javassist.ClassPool classPool,
InterfaceType interfaceType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass)
Creates class for interface without implementations..
|
static javassist.CtClass |
RecordCompiler.createClassForRecordWithoutImplementations(Map<NamedClassType,RecordCompiler> recordCompilers,
javassist.ClassPool classPool,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtConstructor,SrcMethod> constructors)
Creates class for record without implementations..
|
static javassist.CtClass |
RecordCompiler.createConstructorBodies(javassist.ClassPool classPool,
javassist.CtClass ctClass,
javassist.CtClass moduleCls,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtConstructor,SrcMethod> constructors)
Creates constructor bodies.
|
static javassist.CtClass |
RecordCompiler.createConstructorHeaders(javassist.ClassPool classPool,
javassist.CtClass ctClass,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtConstructor,SrcMethod> constructors)
Create constructor headers.
|
static javassist.CtClass |
RecordCompiler.createHeadersOfMethods(javassist.ClassPool classPool,
javassist.CtClass ctClass,
InterfaceType interfaceType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtMethod,SrcMethod> methods)
Creates headers of methods.
|
static javassist.CtClass |
RecordCompiler.createHeadersOfMethods(javassist.ClassPool classPool,
javassist.CtClass ctClass,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtMethod,SrcMethod> methods)
Creates headers of methods.
|
static void |
RecordCompiler.createImplementationsOfRecordMethods(javassist.ClassPool classPool,
javassist.CtClass ctClass,
javassist.CtClass moduleCls,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtMethod,SrcMethod> methods)
Creates implementation of methods.
|
static javassist.CtClass |
RecordCompiler.setInterfaces(javassist.ClassPool classPool,
javassist.CtClass cls,
InterfaceType interfaceType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass)
Sets interfaces.
|
static javassist.CtClass |
RecordCompiler.setSuperclassAndInterfaces(javassist.ClassPool classPool,
javassist.CtClass cls,
RecordType recordType,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<javassist.CtConstructor,SrcMethod> constructors)
Sets superclass and interfaces.
|
void |
FileWriter.writeToFile(SrcClass srcClass) |
Constructor and Description |
---|
CommonCompiler(boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames)
Creates new instance.
|
NamespaceCompiler(QID path,
boolean generateClass,
boolean generateSource,
SrcClass srcClass,
Map<com.whitestein.lsps.model.ProcessModel,String> hashMappings,
Map<ClassType,String> classNames,
Map<FunctionSignature,String> formNames,
FileWriter fileWriter)
Creates new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
SrcInterface |
Modifier and Type | Method and Description |
---|---|
SrcClass |
SrcClass.addConstructor(SrcMethod constructor) |
SrcClass |
SrcClass.addField(SrcVariableDef field) |
SrcClass |
SrcClass.addImport(String imp) |
SrcClass |
SrcClass.addInnerClass(SrcClass innerClass) |
SrcClass |
SrcClass.addInterface(String intf) |
SrcClass |
SrcClass.addMethod(SrcMethod method) |
SrcClass |
SrcClass.addModifier(SrcModifier modifier) |
SrcClass |
SrcClass.setPackage(String packageDeclaration) |
SrcClass |
SrcClass.setSuperClassName(String superClassName) |
Modifier and Type | Method and Description |
---|---|
SrcClass |
SrcClass.addInnerClass(SrcClass innerClass) |
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.