Class MethodGenerator
- java.lang.Object
-
- org.cakelab.blender.typemap.NameMapping
-
- org.cakelab.blender.generator.utils.CodeGenerator
-
- org.cakelab.blender.generator.utils.FieldVisitor
-
- org.cakelab.blender.generator.utils.MethodGenerator
-
- Direct Known Subclasses:
CFacadeGetMethodGenerator
,CFacadeSetMethodGenerator
public abstract class MethodGenerator extends FieldVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ARCH64_TEST
protected ClassGenerator
classgen
protected GMethod
content
-
Fields inherited from class org.cakelab.blender.generator.utils.CodeGenerator
indent, NL, TAB
-
-
Constructor Summary
Constructors Constructor Description MethodGenerator(ClassGenerator classGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GCodeSection
appendln(java.lang.String line)
void
reset()
-
Methods inherited from class org.cakelab.blender.generator.utils.FieldVisitor
appendFieldDoc, getClassTypeName, getFieldDoc, getFieldType, getScalarJavaObjectType, getTemplateParameter, getTypeList, visitArray, visitField, visitPointer, visitScalar, visitStruct
-
Methods inherited from class org.cakelab.blender.generator.utils.CodeGenerator
getIndentString, indent
-
Methods inherited from class org.cakelab.blender.typemap.NameMapping
getFieldDescriptorName, mangle, mapClass2Struct, mapStruct2Class, toCamelCase, toFirstLowerCase, toGetterMethodName, toSetterMethodName
-
-
-
-
Field Detail
-
ARCH64_TEST
protected static final java.lang.String ARCH64_TEST
- See Also:
- Constant Field Values
-
classgen
protected ClassGenerator classgen
-
content
protected GMethod content
-
-
Constructor Detail
-
MethodGenerator
public MethodGenerator(ClassGenerator classGenerator)
-
-
Method Detail
-
reset
public void reset()
- Specified by:
reset
in classCodeGenerator
-
appendln
protected GCodeSection appendln(java.lang.String line)
-
-