@Beta public interface MutableMemberDeclaration extends MutableDeclaration, MemberDeclaration
| Modifier and Type | Method and Description |
|---|---|
MutableTypeDeclaration |
getDeclaringType() |
void |
setDeprecated(boolean deprecated)
Set the deprecated flag of this member.
|
void |
setDocComment(java.lang.String docComment)
Sets the JavaDoc comment for this member
|
void |
setVisibility(Visibility visibility)
Sets the
Visibility of this member. |
markAsReadaddAnnotation, removeAnnotationsetSimpleNameremovegetDocComment, getModifiers, getVisibility, isDeprecatedfindAnnotation, getAnnotationsgetCompilationUnit, getSimpleNamevoid setDocComment(java.lang.String docComment)
docComment - void setVisibility(Visibility visibility)
Visibility of this member.visibility - MutableTypeDeclaration getDeclaringType()
getDeclaringType in interface MemberDeclarationvoid setDeprecated(boolean deprecated)
Deprecated annotation
if appropriate.deprecated - true if this member should be marked as deprecated.