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

public Interface MemberDeclaration

extends Declaration
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration, org.eclipse.xtend.lib.macro.declaration.TypeDeclaration, org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator, org.eclipse.xtend.lib.macro.declaration.AnnotationTypeElementDeclaration, org.eclipse.xtend.lib.macro.declaration.EnumerationValueDeclaration, org.eclipse.xtend.lib.macro.declaration.FieldDeclaration
Annotations
@Beta
Imports
java.util.Set, com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public TypeDeclaration

Returns:

the type declaring this member or null if this is a top level element
getDeclaringType
()

public String

Returns:

the JavaDoc comment
getDocComment
()

public Set<Modifier>

Returns:

the modifiers of this Xtend element or an empty set of this is a Java element. E.g. public val foo = "foo" has the modifiers Modifier#VAL and Modifier#PUBLIC
getModifiers
()

public Visibility

Returns:

the visibility of this member
getVisibility
()

public boolean

Returns:

true if this member is marked as deprecated.
isDeprecated
()

Returns true if this member is marked as deprecated.

Method Detail

getDeclaringTypeback to summary
public TypeDeclaration getDeclaringType()
Returns:TypeDeclaration

the type declaring this member or null if this is a top level element

getDocCommentback to summary
public String getDocComment()
Returns:String

the JavaDoc comment

getModifiersback to summary
public Set<Modifier> getModifiers()
Returns:Set<Modifier>

the modifiers of this Xtend element or an empty set of this is a Java element. E.g. public val foo = "foo" has the modifiers Modifier#VAL and Modifier#PUBLIC

Since
2.7
getVisibilityback to summary
public Visibility getVisibility()
Returns:Visibility

the visibility of this member

isDeprecatedback to summary
public boolean isDeprecated()

Returns true if this member is marked as deprecated.

Returns:boolean

true if this member is marked as deprecated.

Since
2.7