Module org.eclipse.xtend.lib.macro
Interface MutableEnumerationValueDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,EnumerationValueDeclaration,MemberDeclaration,MutableAnnotationTarget,MutableDeclaration,MutableElement,MutableMemberDeclaration,MutableNamedElement,NamedElement
@Beta
public interface MutableEnumerationValueDeclaration
extends MutableMemberDeclaration, EnumerationValueDeclaration
- Author:
- Sven Efftinge
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetVisibility(Visibility visibility) It is not possible to change visibility of enumeration value.Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDocComment, getModifiers, getVisibility, isDeprecatedMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget
addAnnotation, removeAnnotationMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableDeclaration
markAsReadMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableElement
removeMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration
setDeprecated, setDocCommentMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
setSimpleNameMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
Method Details
-
setVisibility
It is not possible to change visibility of enumeration value.- Specified by:
setVisibilityin interfaceMutableMemberDeclaration- Parameters:
visibility-- Throws:
UnsupportedOperationException- always
-
getDeclaringType
MutableEnumerationTypeDeclaration getDeclaringType()- Specified by:
getDeclaringTypein interfaceEnumerationValueDeclaration- Specified by:
getDeclaringTypein interfaceMemberDeclaration- Specified by:
getDeclaringTypein interfaceMutableMemberDeclaration- Returns:
- the type declaring this member
-