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:
ModifiersPackage.getAnnotableAndModifiable()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addModifier(Modifier newModifier)
EList<AnnotationInstance>
getAnnotationInstances()
EList<AnnotationInstanceOrModifier>
getAnnotationsAndModifiers()
Returns the value of the 'Annotations And Modifiers' containment reference list.EList<Modifier>
getModifiers()
boolean
hasModifier(Class<?> type)
boolean
isHidden(Commentable context)
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
void
makePrivate()
void
makeProtected()
void
makePublic()
void
removeAllModifiers()
void
removeModifier(Class<?> modifierType)
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getAnnotationsAndModifiers
EList<AnnotationInstanceOrModifier> getAnnotationsAndModifiers()
Returns the value of the 'Annotations And Modifiers' containment reference list. The list contents are of typeAnnotationInstanceOrModifier
.- Returns:
- the value of the 'Annotations And Modifiers' containment reference list.
- See Also:
ModifiersPackage.getAnnotableAndModifiable_AnnotationsAndModifiers()
- 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"
-
-