public interface IDeclarationElement extends IDeclaration
IDeclarationElement
may have
optional modifiers, supporting fine tuning of its behavior.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
An optional name for the declaration element.
|
boolean |
hasModifier(java.lang.String modifier)
true if the declaration has the requested modifier. |
accept, getDeclarationContext, isBlock
java.lang.String getName()
boolean hasModifier(java.lang.String modifier)
true
if the declaration has the requested modifier.
An implementation is free to support modifiers and define their respective semantics.
An example for a modifier may be "persistent" to indicate the implementation should store argument values to be able to present them again in a later call (in a wizard for example).
modifier
- The modifier name.true
if the declaration has the requested
modifier.