@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({ElementType.TYPE, ElementType.CONSTRUCTOR, ElementType.METHOD})
public @interface VisibilityOptions
Marker annotation used in the context of AST transformations to provide a custom visibility.
| Type | Name and Description |
|---|---|
Visibility |
constructorReturns the visibility to apply to generated constructors. |
String |
idReturns the identifier used to match other annotations that reference these options. |
Visibility |
methodReturns the visibility to apply to generated methods. |
Visibility |
typeReturns the visibility to apply to generated types. |
Visibility |
valueReturns the default visibility to apply when no more specific member is set. |
Returns the visibility to apply to generated constructors. Defaults to Visibility.UNDEFINED.
Returns the identifier used to match other annotations that reference these options. Defaults to Undefined.STRING, meaning no identifier.
Returns the visibility to apply to generated methods. Defaults to Visibility.UNDEFINED.
Returns the visibility to apply to generated types. Defaults to Visibility.UNDEFINED.
Returns the default visibility to apply when no more specific member is set. Defaults to Visibility.UNDEFINED.