@Documented
@Target(value=METHOD)
public @interface Publish
The method that is annotated with this annotation must also comply with the following constraints:
View
SuppressWarnings
or SuppressReact4jWarnings
annotations with a key
"React4j:PublicMethod". This warning is also suppressed by the annotation processor if it is implementing
an interface method.
View
annotation as the method is not
expected to be invoked outside the view. A warning will be generated but can be suppressed by the
SuppressWarnings
or SuppressReact4jWarnings
annotations with a key "React4j:ProtectedMethod".
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
qualifier
Return the qualifier used to publish value to the context.
|