requires directive.
For example "requires foo.bar;" or "requires public foo.baz;".
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | isPublic
Public readability modifier. |
| pack-priv final boolean | isStatic
Static modifier. |
| Access | Constructor and Description |
|---|---|
| pack-priv | JRequiresDirective(final String
name of required module or service. name, final boolean Use isPublic, final boolean public modifier.Use isStatic)static modifier.Creates an instance of Java module |
| Modifier and Type | Method and Description |
|---|---|
| public JFormatter | Returns: provided instance of Java code formatter.Java code formatter. f)Implements abstract com. Print source code of this module directive. |
| protected void | generateModifiers(final JFormatter
Java code formatter. f)Print source code of |
| public JModuleDirective. | Returns: type of this module directive. Will always returnType.RequiresDirective.Implements abstract com. Gets the type of this module directive. |
| isPublic | back to summary |
|---|---|
| pack-priv final boolean isPublic Public readability modifier. | |
| isStatic | back to summary |
|---|---|
| pack-priv final boolean isStatic Static modifier. | |
| JRequiresDirective | back to summary |
|---|---|
| pack-priv JRequiresDirective(final String name, final boolean isPublic, final boolean isStatic) Creates an instance of Java module
| |
| generate | back to summary |
|---|---|
| public JFormatter generate(final JFormatter f) Implements abstract com. Print source code of this module directive.
| |
| generateModifiers | back to summary |
|---|---|
| protected void generateModifiers(final JFormatter f) Print source code of
| |
| getType | back to summary |
|---|---|
| public JModuleDirective. Implements abstract com. Gets the type of this module directive.
| |