public interface CompilationUnit
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFileCommentLine(String commentLine)
Comments will be written at the top of the file as is, we do not append any start or end comment characters.
|
void |
addImportedType(FullyQualifiedJavaType importedType)
Adds the imported type.
|
void |
addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
Adds the imported types.
|
void |
addStaticImport(String staticImport)
Adds the static import.
|
void |
addStaticImports(Set<String> staticImports)
Adds the static imports.
|
List<String> |
getFileCommentLines()
Gets the file comment lines.
|
String |
getFormattedContent()
Gets the formatted content.
|
Set<FullyQualifiedJavaType> |
getImportedTypes()
Gets the imported types.
|
Set<String> |
getStaticImports()
Gets the static imports.
|
FullyQualifiedJavaType |
getSuperClass()
Gets the super class.
|
Set<FullyQualifiedJavaType> |
getSuperInterfaceTypes()
Gets the super interface types.
|
FullyQualifiedJavaType |
getType()
Gets the type.
|
boolean |
isJavaEnumeration()
Checks if is java enumeration.
|
boolean |
isJavaInterface()
Checks if is java interface.
|
String getFormattedContent()
Set<FullyQualifiedJavaType> getImportedTypes()
FullyQualifiedJavaType getSuperClass()
boolean isJavaInterface()
boolean isJavaEnumeration()
Set<FullyQualifiedJavaType> getSuperInterfaceTypes()
FullyQualifiedJavaType getType()
void addImportedType(FullyQualifiedJavaType importedType)
importedType - the imported typevoid addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
importedTypes - the imported typesvoid addStaticImport(String staticImport)
staticImport - the static importvoid addStaticImports(Set<String> staticImports)
staticImports - the static importsvoid addFileCommentLine(String commentLine)
commentLine - the comment lineCopyright © 2006–2016 MyBatis.org. All rights reserved.