Modifiers
Renders the modifiers based on the provided props.
Objects extend this interface to allow to take modifiers as boolean props. Then can declare components like so
<Class public final abstract />
Error will be thrown if try to specify multiple access modifiers
import { Modifiers } from "@alloy-js/java";
<Modifiers abstract default final native private protected public static strictfp synchronized transient volatile />import { Modifiers } from "@alloy-js/java/stc";
Modifiers({ abstract: boolean, default: boolean, final: boolean, native: boolean, private: boolean, protected: boolean, public: boolean, static: boolean, strictfp: boolean, synchronized: boolean, transient: boolean, volatile: boolean,}).children(children)| abstract | optional boolean | |
| default | optional boolean | |
| final | optional boolean | |
| native | optional boolean | |
| private | optional boolean | |
| protected | optional boolean | |
| public | optional boolean | |
| static | optional boolean | |
| strictfp | optional boolean | |
| synchronized | optional boolean | |
| transient | optional boolean | |
| volatile | optional boolean |