public interface ICodeGenerator
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClassName()
Gets the class name.
|
String |
getCode()
Gets the code.
|
String |
getFullClassName()
Gets the full class name.
|
String |
getPackage()
Gets the package.
|
Set<Class<?>> |
getRelativeProxyClasses()
Gets the relative proxy classes.
|
boolean |
isDebug()
Checks if is debug.
|
void |
setDebug(boolean debug)
Sets the debug. if enabled print out source code after generated
|
void |
setOutputPath(File outputPath)
Sets the output path. if set should write generated source code to target path
|
void setOutputPath(File outputPath)
outputPath - the new output pathboolean isDebug()
void setDebug(boolean debug)
debug - the new debuggetCode()String getClassName()
String getPackage()
String getFullClassName()
String getCode()
Copyright © 2019 Baidu, Inc.. All rights reserved.