DirectiveTree
, Tree
public interface RequiresTree extends DirectiveTree
requires module-name; requires public module-name;
Modifier and Type | Method | Description |
---|---|---|
ExpressionTree |
getModuleName() |
Returns the name of the module that is required.
|
boolean |
isPublic() |
Returns true if this is a "requires public" directive.
|
boolean isPublic()
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, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1