Class Interface
java.lang.Object
org.mybatis.generator.api.dom.java.JavaElement
org.mybatis.generator.api.dom.java.AbstractJavaType
org.mybatis.generator.api.dom.java.InnerInterface
org.mybatis.generator.api.dom.java.Interface
- All Implemented Interfaces:
CompilationUnit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(CompilationUnitVisitor<R> visitor) 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) Methods inherited from class org.mybatis.generator.api.dom.java.InnerInterface
addTypeParameter, getTypeParameters
Methods inherited from class org.mybatis.generator.api.dom.java.AbstractJavaType
addField, addInnerClass, addInnerEnum, addInnerInterface, addMethod, addSuperInterface, getFields, getInnerClasses, getInnerEnums, getInnerInterfaces, getMethods, getSuperInterfaceTypes, getType
Methods inherited from class org.mybatis.generator.api.dom.java.JavaElement
addAnnotation, addJavaDocLine, addSuppressTypeWarningsAnnotation, getAnnotations, getJavaDocLines, getVisibility, isStatic, setStatic, setVisibility
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mybatis.generator.api.dom.java.CompilationUnit
getType
-
Constructor Details
-
Interface
-
Interface
-
-
Method Details
-
getImportedTypes
- Specified by:
getImportedTypes
in interfaceCompilationUnit
-
addImportedType
- Specified by:
addImportedType
in interfaceCompilationUnit
-
addFileCommentLine
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 interfaceCompilationUnit
- Parameters:
commentLine
- the comment line
-
getFileCommentLines
- Specified by:
getFileCommentLines
in interfaceCompilationUnit
-
addImportedTypes
- Specified by:
addImportedTypes
in interfaceCompilationUnit
-
getStaticImports
- Specified by:
getStaticImports
in interfaceCompilationUnit
-
addStaticImport
- Specified by:
addStaticImport
in interfaceCompilationUnit
-
addStaticImports
- Specified by:
addStaticImports
in interfaceCompilationUnit
-
accept
- Specified by:
accept
in interfaceCompilationUnit
-