org.apache.ibatis.ibator.api.dom.java
Class TopLevelClass
java.lang.Object
org.apache.ibatis.ibator.api.dom.java.JavaElement
org.apache.ibatis.ibator.api.dom.java.InnerClass
org.apache.ibatis.ibator.api.dom.java.TopLevelClass
- All Implemented Interfaces:
- CompilationUnit
public class TopLevelClass
- extends InnerClass
- implements CompilationUnit
- Author:
- Jeff Butler
| Methods inherited from class org.apache.ibatis.ibator.api.dom.java.InnerClass |
addField, addInnerClass, addInnerEnum, addMethod, addSuperInterface, getFields, getFormattedContent, getInnerClasses, getInnerEnums, getMethods, getSuperClass, getSuperInterfaceTypes, getType, setSuperClass |
| Methods inherited from class org.apache.ibatis.ibator.api.dom.java.JavaElement |
addAnnotation, addFormattedAnnotations, addFormattedJavadoc, addJavaDocLine, addSuppressTypeWarningsAnnotation, getAnnotations, getJavaDocLines, getVisibility, isFinal, isStatic, setFinal, setStatic, setVisibility |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopLevelClass
public TopLevelClass(FullyQualifiedJavaType type)
getImportedTypes
public java.util.Set<FullyQualifiedJavaType> getImportedTypes()
- Specified by:
getImportedTypes in interface CompilationUnit
- Returns:
- Returns the importedTypes.
addImportedType
public void addImportedType(FullyQualifiedJavaType importedType)
- Specified by:
addImportedType in interface CompilationUnit
getFormattedContent
public java.lang.String getFormattedContent()
- Specified by:
getFormattedContent in interface CompilationUnit
isJavaInterface
public boolean isJavaInterface()
- Specified by:
isJavaInterface in interface CompilationUnit
isJavaEnumeration
public boolean isJavaEnumeration()
- Specified by:
isJavaEnumeration in interface CompilationUnit
addFileCommentLine
public void addFileCommentLine(java.lang.String commentLine)
- Description copied from interface:
CompilationUnit
- 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.
- Specified by:
addFileCommentLine in interface CompilationUnit
getFileCommentLines
public java.util.List<java.lang.String> getFileCommentLines()
- Specified by:
getFileCommentLines in interface CompilationUnit
addImportedTypes
public void addImportedTypes(java.util.Set<FullyQualifiedJavaType> importedTypes)
- Specified by:
addImportedTypes in interface CompilationUnit