接口 ICodeGenerator
public interface ICodeGenerator
The Interface ICodeGenerator.
- 从以下版本开始:
- 1.10.7
- 作者:
- xiemalin
-
字段概要
字段 -
方法概要
修饰符和类型方法说明Gets the class name.getCode()Gets the code.Gets the full class name.Gets the package.Gets the relative proxy classes.booleanisDebug()Checks if is debug.voidsetDebug(boolean debug) Sets the debug. if enabled print out source code after generatedvoidsetOutputPath(File outputPath) Sets the output path. if set should write generated source code to target path
-
字段详细资料
-
DEFAULT_SUFFIX_CLASSNAME
auto proxied suffix class name.- 另请参阅:
-
LINE_BREAK
line break for editor- 另请参阅:
-
JAVA_END
java line end- 另请参阅:
-
JAVA_LINE_BREAK
line break for JAVA- 另请参阅:
-
PACKAGE_SPLIT
auto proxied suffix class name- 另请参阅:
-
CLASS_JOINER
- 另请参阅:
-
JAVA_CLASS_FILE_SUFFIX
- 另请参阅:
-
-
方法详细资料
-
setOutputPath
Sets the output path. if set should write generated source code to target path- 参数:
outputPath- the new output path
-
isDebug
boolean isDebug()Checks if is debug.- 返回:
- true, if is debug
-
setDebug
void setDebug(boolean debug) Sets the debug. if enabled print out source code after generated- 参数:
debug- the new debug- 另请参阅:
-
getClassName
String getClassName()Gets the class name.- 返回:
- the class name
-
getPackage
String getPackage()Gets the package.- 返回:
- the package
-
getFullClassName
String getFullClassName()Gets the full class name.- 返回:
- the full class name
-
getCode
String getCode()Gets the code.- 返回:
- the code
-
getRelativeProxyClasses
Gets the relative proxy classes.- 返回:
- the relative proxy classes
-