Class GMethod
- java.lang.Object
-
- org.cakelab.blender.typemap.NameMapping
-
- org.cakelab.blender.generator.utils.CodeGenerator
-
- org.cakelab.blender.generator.utils.GCodeSection
-
- org.cakelab.blender.generator.utils.GMethod
-
public class GMethod extends GCodeSection
Contains code and documentation of a generated method.- Author:
- homac
-
-
Field Summary
-
Fields inherited from class org.cakelab.blender.generator.utils.GCodeSection
currentLine
-
Fields inherited from class org.cakelab.blender.generator.utils.CodeGenerator
indent, NL, TAB
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setComment(GComment comment)
java.lang.String
toString(int indent)
-
Methods inherited from class org.cakelab.blender.generator.utils.GCodeSection
append, append, appendln, appendln, getLines, numLines, reset, sortLines, sortLines
-
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
-
-
-
-
Constructor Detail
-
GMethod
public GMethod(GMethod other)
-
GMethod
public GMethod(int indent)
-
-
Method Detail
-
setComment
public void setComment(GComment comment)
-
toString
public java.lang.String toString(int indent)
- Overrides:
toString
in classGCodeSection
-
-