DirectiveTree
, Tree
public interface RequiresTree extends DirectiveTree
requires module-name; requires static module-name; requires transitive module-name;
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getModuleName() |
Returns the name of the module that is required.
|
boolean |
isStatic() |
Returns true if this is a "requires static" directive.
|
boolean |
isTransitive() |
Returns true if this is a "requires transitive" directive.
|
boolean isStatic()
boolean isTransitive()
ExpressionTree getModuleName()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b158-1