Interface IDeclarationElement

All Superinterfaces:
IDeclaration
All Known Subinterfaces:
IArgumentDeclaration
All Known Implementing Classes:
ArgumentDeclaration, DeclarationElement

public interface IDeclarationElement extends IDeclaration
A concrete named declaration. An IDeclarationElement may have optional modifiers, supporting fine tuning of its behavior.
  • Method Details

    • getName

      String getName()
      An optional name for the declaration element.
      Returns:
      An optional name for the declaration element.
    • hasModifier

      boolean hasModifier(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).

      Parameters:
      modifier - The modifier name.
      Returns:
      true if the declaration has the requested modifier.