@Beta public interface MutableEnumerationValueDeclaration extends MutableMemberDeclaration, EnumerationValueDeclaration
Modifier and Type | Method and Description |
---|---|
MutableEnumerationTypeDeclaration |
getDeclaringType() |
void |
setVisibility(Visibility visibility)
It is not possible to change visibility of enumeration value.
|
setDeprecated, setDocComment
markAsRead
addAnnotation, removeAnnotation
setSimpleName
remove
getDocComment, getModifiers, getVisibility, isDeprecated
findAnnotation, getAnnotations
getCompilationUnit, getSimpleName
void setVisibility(Visibility visibility)
setVisibility
in interface MutableMemberDeclaration
java.lang.UnsupportedOperationException
- alwaysMutableEnumerationTypeDeclaration getDeclaringType()
getDeclaringType
in interface EnumerationValueDeclaration
getDeclaringType
in interface MemberDeclaration
getDeclaringType
in interface MutableMemberDeclaration