Top Methods
org.eclipse.xtend.lib.macro.declaration

public Interface MutableMemberDeclaration

extends MutableDeclaration, MemberDeclaration
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration, org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclarator, org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTypeElementDeclaration, org.eclipse.xtend.lib.macro.declaration.MutableEnumerationValueDeclaration, org.eclipse.xtend.lib.macro.declaration.MutableFieldDeclaration
Annotations
@Beta
Imports
com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public MutableTypeDeclaration
public void
setDeprecated(boolean
true if this member should be marked as deprecated.
deprecated
)

Set the deprecated flag of this member.

public void
setDocComment(String docComment)

Sets the JavaDoc comment for this member

public void
setVisibility(Visibility visibility)

Sets the Visibility of this member.

Inherited from org.eclipse.xtend.lib.macro.declaration.MemberDeclaration:
getDocCommentgetModifiersgetVisibilityisDeprecated
Inherited from org.eclipse.xtend.lib.macro.declaration.MutableDeclaration:
markAsRead

Method Detail

getDeclaringTypeback to summary
public MutableTypeDeclaration getDeclaringType()

Redeclares org.eclipse.xtend.lib.macro.declaration.MemberDeclaration.getDeclaringType.

Returns:MutableTypeDeclaration

the type declaring this member

setDeprecatedback to summary
public void setDeprecated(boolean deprecated)

Set the deprecated flag of this member. It will add or remove the Deprecated annotation if appropriate.

Parameters
deprecated:boolean

true if this member should be marked as deprecated.

Since
2.7
setDocCommentback to summary
public void setDocComment(String docComment)

Sets the JavaDoc comment for this member

setVisibilityback to summary
public void setVisibility(Visibility visibility)

Sets the Visibility of this member.