@Beta public interface MemberDeclaration extends Declaration
| Modifier and Type | Method and Description | 
|---|---|
TypeDeclaration | 
getDeclaringType()  | 
java.lang.String | 
getDocComment()  | 
java.util.Set<Modifier> | 
getModifiers()  | 
Visibility | 
getVisibility()  | 
boolean | 
isDeprecated()
Returns  
true if this member is marked as deprecated. | 
findAnnotation, getAnnotationsgetCompilationUnit, getSimpleNamejava.lang.String getDocComment()
Visibility getVisibility()
TypeDeclaration getDeclaringType()
null if this is a top level elementjava.util.Set<Modifier> getModifiers()
public val foo = "foo" has the modifiers Modifier.VAL and Modifier.PUBLICboolean isDeprecated()
true if this member is marked as deprecated.true if this member is marked as deprecated.