public class InnerInterface extends JavaElement
Constructor and Description |
---|
InnerInterface(FullyQualifiedJavaType type)
Instantiates a new interface.
|
InnerInterface(String type)
Instantiates a new interface.
|
Modifier and Type | Method and Description |
---|---|
void |
addField(Field field) |
void |
addInnerInterfaces(InnerInterface innerInterface)
Adds the inner interface.
|
void |
addMethod(Method method)
Adds the method.
|
void |
addSuperInterface(FullyQualifiedJavaType superInterface)
Adds the super interface.
|
List<Field> |
getFields() |
String |
getFormattedContent(int indentLevel,
CompilationUnit compilationUnit)
Gets the formatted content.
|
List<InnerInterface> |
getInnerInterfaces()
Gets the inner interface.
|
List<Method> |
getMethods()
Gets the methods.
|
FullyQualifiedJavaType |
getSuperClass() |
Set<FullyQualifiedJavaType> |
getSuperInterfaceTypes() |
FullyQualifiedJavaType |
getType()
Gets the type.
|
boolean |
isJavaEnumeration() |
boolean |
isJavaInterface() |
addAnnotation, addFormattedAnnotations, addFormattedJavadoc, addJavaDocLine, addSuppressTypeWarningsAnnotation, getAnnotations, getJavaDocLines, getVisibility, isFinal, isStatic, setFinal, setStatic, setVisibility
public InnerInterface(FullyQualifiedJavaType type)
type
- the typepublic InnerInterface(String type)
type
- the typepublic void addField(Field field)
public String getFormattedContent(int indentLevel, CompilationUnit compilationUnit)
indentLevel
- the indent levelcompilationUnit
- the compilation unitpublic void addSuperInterface(FullyQualifiedJavaType superInterface)
superInterface
- the super interfacepublic void addMethod(Method method)
method
- the methodpublic FullyQualifiedJavaType getType()
public FullyQualifiedJavaType getSuperClass()
public Set<FullyQualifiedJavaType> getSuperInterfaceTypes()
public List<InnerInterface> getInnerInterfaces()
public void addInnerInterfaces(InnerInterface innerInterface)
innerInterface
- the inner interfacepublic boolean isJavaInterface()
public boolean isJavaEnumeration()
Copyright © 2006–2018 MyBatis.org. All rights reserved.