[F] resetVisibilityModifiersForClass
Resets the visibility modifiers for a property in a given visibility class.
This does not clear the modifiers. It resets them to the uninitialized state.
This is useful when cloning properties and you want to reset the visibility modifiers on the clone.
If the visibility modifiers for this property and given visibility class are sealed, this function will issue a diagnostic and leave the visibility modifiers unchanged.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | the program in which the property occurs |
property | ModelProperty | the property to reset visibility modifiers for |
visibilityClass | Enum | the visibility class to reset visibility modifiers for |
context ? | DecoratorContext | the optional decorator context to use for displaying diagnostics |
Returns
void