Interface AnnotableAndModifiable

All Superinterfaces:
Commentable, EObject, Notifier
All Known Subinterfaces:
Annotation, CatchParameter, Class, ClassMethod, ConcreteClassifier, Constructor, Enumeration, Field, Interface, InterfaceMethod, LocalVariable, Method, OrdinaryParameter, Parameter, ReceiverParameter, VariableLengthParameter
All Known Implementing Classes:
AnnotableAndModifiableImpl, AnnotationImpl, CatchParameterImpl, ClassImpl, ClassMethodImpl, ConcreteClassifierImpl, ConstructorImpl, EnumerationImpl, FieldImpl, InterfaceImpl, InterfaceMethodImpl, LocalVariableImpl, MethodImpl, OrdinaryParameterImpl, ParameterImpl, ReceiverParameterImpl, VariableLengthParameterImpl

public interface AnnotableAndModifiable extends Commentable
A representation of the model object 'Annotable And Modifiable'.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
abstract="true"
  • Method Details

    • getAnnotationsAndModifiers

      EList<AnnotationInstanceOrModifier> getAnnotationsAndModifiers()
      Returns the value of the 'Annotations And Modifiers' containment reference list. The list contents are of type AnnotationInstanceOrModifier.
      Returns:
      the value of the 'Annotations And Modifiers' containment reference list.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true"
    • isHidden

      boolean isHidden(Commentable context)
      Generated class or method.
      EMF model class or method.
    • isStatic

      boolean isStatic()
      Generated class or method.
      EMF model class or method.
      kind="operation"
    • removeModifier

      void removeModifier(Class<?> modifierType)
      Generated class or method.
      EMF model class or method.
    • makePublic

      void makePublic()
      Generated class or method.
      EMF model class or method.
    • makePrivate

      void makePrivate()
      Generated class or method.
      EMF model class or method.
    • makeProtected

      void makeProtected()
      Generated class or method.
      EMF model class or method.
    • getModifiers

      EList<Modifier> getModifiers()
      Generated class or method.
      EMF model class or method.
      kind="operation"
    • removeAllModifiers

      void removeAllModifiers()
      Generated class or method.
      EMF model class or method.
    • hasModifier

      boolean hasModifier(Class<?> type)
      Generated class or method.
      EMF model class or method.
    • isPublic

      boolean isPublic()
      Generated class or method.
      EMF model class or method.
      kind="operation"
    • isPrivate

      boolean isPrivate()
      Generated class or method.
      EMF model class or method.
      kind="operation"
    • isProtected

      boolean isProtected()
      Generated class or method.
      EMF model class or method.
      kind="operation"
    • addModifier

      void addModifier(Modifier newModifier)
      Generated class or method.
      EMF model class or method.
      newModifierRequired="true"
    • getAnnotationInstances

      EList<AnnotationInstance> getAnnotationInstances()
      Generated class or method.
      EMF model class or method.
      kind="operation"