# Enum

* jsx

  ```tsx
  import { Enum } from "@alloy-js/java";


  <Enum
    abstract
    default
    final
    implements={Children[]}
    name={string | Namekey}
    native
    private
    protected
    public
    refkey={Refkey}
    static
    strictfp
    synchronized
    transient
    volatile
   />
  ```

* stc

  ```ts
  import { Enum } from "@alloy-js/java/stc";


  Enum({
    abstract: boolean,
    default: boolean,
    final: boolean,
    implements: Children[],
    name: string | Namekey,
    native: boolean,
    private: boolean,
    protected: boolean,
    public: boolean,
    refkey: Refkey,
    static: boolean,
    strictfp: boolean,
    synchronized: boolean,
    transient: boolean,
    volatile: boolean,
  }).children(children)
  ```

## Props

|              |                                                       |   |
| ------------ | ----------------------------------------------------- | - |
| abstract     | optional boolean                                      |   |
| children     | optional [Children](../../../core/types/children/)    |   |
| default      | optional boolean                                      |   |
| final        | optional boolean                                      |   |
| implements   | optional [Children](../../../core/types/children/)\[] |   |
| name         | string \| [Namekey](../../../core/types/namekey/)     |   |
| native       | optional boolean                                      |   |
| private      | optional boolean                                      |   |
| protected    | optional boolean                                      |   |
| public       | optional boolean                                      |   |
| refkey       | optional [Refkey](../../../core/types/refkey/)        |   |
| static       | optional boolean                                      |   |
| strictfp     | optional boolean                                      |   |
| synchronized | optional boolean                                      |   |
| transient    | optional boolean                                      |   |
| volatile     | optional boolean                                      |   |
