Interface MutableEnumerationValueDeclaration
-
- All Superinterfaces:
AnnotationTarget,Declaration,Element,EnumerationValueDeclaration,MemberDeclaration,MutableAnnotationTarget,MutableDeclaration,MutableElement,MutableMemberDeclaration,MutableNamedElement,NamedElement
@Beta public interface MutableEnumerationValueDeclaration extends MutableMemberDeclaration, EnumerationValueDeclaration
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MutableEnumerationTypeDeclarationgetDeclaringType()voidsetVisibility(Visibility visibility)It is not possible to change visibility of enumeration value.-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotations
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDocComment, getModifiers, getVisibility, isDeprecated
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableAnnotationTarget
addAnnotation, removeAnnotation
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableDeclaration
markAsRead
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableElement
remove
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableMemberDeclaration
setDeprecated, setDocComment
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MutableNamedElement
setSimpleName
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
-
-
-
Method Detail
-
setVisibility
void setVisibility(Visibility visibility)
It is not possible to change visibility of enumeration value.- Specified by:
setVisibilityin interfaceMutableMemberDeclaration- Throws:
java.lang.UnsupportedOperationException- always
-
getDeclaringType
MutableEnumerationTypeDeclaration getDeclaringType()
- Specified by:
getDeclaringTypein interfaceEnumerationValueDeclaration- Specified by:
getDeclaringTypein interfaceMemberDeclaration- Specified by:
getDeclaringTypein interfaceMutableMemberDeclaration- Returns:
- the type declaring this member
-
-