requires module-name; requires static module-name; requires transitive module-name;
Modifier and Type | Method and Description |
---|---|
public ExpressionTree | Returns: the name of the module that is requiredReturns the name of the module that is required. |
public boolean | Returns: true if this is a "requires static" directiveReturns true if this is a "requires static" directive. |
public boolean | Returns: true if this is a "requires transitive" directiveReturns true if this is a "requires transitive" directive. |
getModuleName | back to summary |
---|---|
public ExpressionTree getModuleName() Returns the name of the module that is required.
|
isStatic | back to summary |
---|---|
public boolean isStatic() Returns true if this is a "requires static" directive.
|
isTransitive | back to summary |
---|---|
public boolean isTransitive() Returns true if this is a "requires transitive" directive.
|