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
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 Summary
Modifier and TypeMethodDescriptionvoidaddModifier(Modifier newModifier) Returns the value of the 'Annotations And Modifiers' containment reference list.booleanhasModifier(Class<?> type) booleanisHidden(Commentable context) booleanbooleanbooleanisPublic()booleanisStatic()voidvoidvoidvoidvoidremoveModifier(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, getStringClassMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
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:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
isHidden
- Generated class or method.
- EMF model class or method.
-
isStatic
boolean isStatic()- Generated class or method.
- EMF model class or method.
- kind="operation"
-
removeModifier
- 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
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
removeAllModifiers
void removeAllModifiers()- Generated class or method.
- EMF model class or method.
-
hasModifier
- 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
- 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"
-