public interface CompilationUnit
Modifier and Type | Method and Description |
---|---|
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) |
void |
addImportedTypes(Set<FullyQualifiedJavaType> importedTypes) |
void |
addStaticImport(String staticImport) |
void |
addStaticImports(Set<String> staticImports) |
List<String> |
getFileCommentLines() |
String |
getFormattedContent() |
Set<FullyQualifiedJavaType> |
getImportedTypes() |
Set<String> |
getStaticImports() |
FullyQualifiedJavaType |
getSuperClass() |
Set<FullyQualifiedJavaType> |
getSuperInterfaceTypes() |
FullyQualifiedJavaType |
getType() |
boolean |
isJavaEnumeration() |
boolean |
isJavaInterface() |
String getFormattedContent()
Set<FullyQualifiedJavaType> getImportedTypes()
FullyQualifiedJavaType getSuperClass()
boolean isJavaInterface()
boolean isJavaEnumeration()
Set<FullyQualifiedJavaType> getSuperInterfaceTypes()
FullyQualifiedJavaType getType()
void addImportedType(FullyQualifiedJavaType importedType)
void addImportedTypes(Set<FullyQualifiedJavaType> importedTypes)
void addStaticImport(String staticImport)
void addFileCommentLine(String commentLine)
commentLine
- Copyright © 2010–2018 MyBatis.org. All rights reserved.