org.apache.ibatis.ibator.api.dom.java
Interface CompilationUnit
- All Known Implementing Classes:
- Interface, TopLevelClass, TopLevelEnumeration
public interface CompilationUnit
This interface describes metods common to all Java compilation
units (Java classes, interfaces, and enums).
- Author:
- Jeff Butler
getFormattedContent
java.lang.String getFormattedContent()
getImportedTypes
java.util.Set<FullyQualifiedJavaType> getImportedTypes()
getSuperClass
FullyQualifiedJavaType getSuperClass()
isJavaInterface
boolean isJavaInterface()
isJavaEnumeration
boolean isJavaEnumeration()
getSuperInterfaceTypes
java.util.Set<FullyQualifiedJavaType> getSuperInterfaceTypes()
getType
FullyQualifiedJavaType getType()
addImportedType
void addImportedType(FullyQualifiedJavaType importedType)
addImportedTypes
void addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes)
addFileCommentLine
void addFileCommentLine(java.lang.String commentLine)
- Comments will be written at the top of the file as is,
we do not append any start or end comment characters.
Note that in the Eclipse plugin, file comments will not be
merged.
- Parameters:
commentLine
-
getFileCommentLines
java.util.List<java.lang.String> getFileCommentLines()