| 构造器和说明 |
|---|
JavaElement()
Instantiates a new java element.
|
JavaElement(JavaElement original)
Copy Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAnnotation(String annotation)
Adds the annotation.
|
void |
addFormattedAnnotations(StringBuilder sb,
int indentLevel)
Adds the formatted annotations.
|
void |
addFormattedJavadoc(StringBuilder sb,
int indentLevel)
Adds the formatted javadoc.
|
void |
addJavaDocLine(String javaDocLine)
Adds the java doc line.
|
void |
addSuppressTypeWarningsAnnotation()
Adds the suppress type warnings annotation.
|
List<String> |
getAnnotations()
Gets the annotations.
|
List<String> |
getJavaDocLines()
Gets the java doc lines.
|
JavaVisibility |
getVisibility()
Gets the visibility.
|
boolean |
isFinal()
Checks if is final.
|
boolean |
isStatic()
Checks if is static.
|
void |
setFinal(boolean isFinal)
Sets the final.
|
void |
setStatic(boolean isStatic)
Sets the static.
|
void |
setVisibility(JavaVisibility visibility)
Sets the visibility.
|
public JavaElement()
public JavaElement(JavaElement original)
original - the originalpublic List<String> getJavaDocLines()
public void addJavaDocLine(String javaDocLine)
javaDocLine - the java doc linepublic void addAnnotation(String annotation)
annotation - the annotationpublic JavaVisibility getVisibility()
public void setVisibility(JavaVisibility visibility)
visibility - The visibility to set.public void addSuppressTypeWarningsAnnotation()
public void addFormattedJavadoc(StringBuilder sb, int indentLevel)
sb - the sbindentLevel - the indent levelpublic void addFormattedAnnotations(StringBuilder sb, int indentLevel)
sb - the sbindentLevel - the indent levelpublic boolean isFinal()
public void setFinal(boolean isFinal)
isFinal - the new finalpublic boolean isStatic()
public void setStatic(boolean isStatic)
isStatic - the new staticCopyright © 2006–2016 MyBatis.org. All rights reserved.