@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. |
markAsRead
addAnnotation, removeAnnotation
setSimpleName
remove
getDocComment, getModifiers, getVisibility, isDeprecated
findAnnotation, getAnnotations
getCompilationUnit, getSimpleName
void setDocComment(java.lang.String docComment)
docComment
- void setVisibility(Visibility visibility)
Visibility
of this member.visibility
- MutableTypeDeclaration getDeclaringType()
getDeclaringType
in interface MemberDeclaration
void setDeprecated(boolean deprecated)
Deprecated
annotation
if appropriate.deprecated
- true
if this member should be marked as deprecated.