Compiler, JavaSourceIClassLoader, SimpleCompiler and their subclasses
can be configured with these options.
Compiler#options(), JavaSourceIClassLoader#options(), SimpleCompiler#options()
| Modifier and Type | Field and Description |
|---|---|
| public static final JaninoOption | EXPRESSIONS_IN_TRY_WITH_RESOURCES_ALLOWED
Contrary to the JLS, allow any expression as a resource in a TRY-with-resources statement. |
| public static final JaninoOption | PRIVATE_MEMBERS_OF_ENCLOSING_AND_ENCLOSED_TYPES_INACCESSIBLE
Contrary to the JLS, disallow access to |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static JaninoOption | |
| public static JaninoOption[] |
| EXPRESSIONS_IN_TRY_WITH_RESOURCES_ALLOWED | back to summary |
|---|---|
| public static final JaninoOption EXPRESSIONS_IN_TRY_WITH_RESOURCES_ALLOWED Contrary to the JLS, allow any expression as a resource in a TRY-with-resources statement. | |
| PRIVATE_MEMBERS_OF_ENCLOSING_AND_ENCLOSED_TYPES_INACCESSIBLE | back to summary |
|---|---|
| public static final JaninoOption PRIVATE_MEMBERS_OF_ENCLOSING_AND_ENCLOSED_TYPES_INACCESSIBLE Contrary to the JLS, disallow access to | |
| JaninoOption | back to summary |
|---|---|
| private JaninoOption() | |
| valueOf | back to summary |
|---|---|
| public static JaninoOption valueOf(String name) | |
| values | back to summary |
|---|---|
| public static JaninoOption[] values() | |