| spoon.reflect.declaration.CtModifiable
getModifiers | Set<ModifierKind> getModifiers()(Code) | | Returns the modifiers of this element, excluding annotations. Implicit
modifiers, such as the
public and
static modifiers of
interface members, are included.
the modifiers of this declaration in undefined order; an emptyset if there are none |
getVisibility | ModifierKind getVisibility()(Code) | | Gets the visibility of this modifiable element.
|
hasModifier | boolean hasModifier(ModifierKind modifier)(Code) | | Tells if this element contains the given modifier.
Parameters: modifier - to search true if this element contain the modifier |
setVisibility | void setVisibility(ModifierKind visibility)(Code) | | Sets the visibility of this modifiable element (replaces old visibility).
|
|
|