- 
- すべてのスーパー・インタフェース:
 DirectiveTree,Tree
public interface RequiresTree extends DirectiveTree
モジュール宣言の'requires'ディレクティブのツリー・ノード。 たとえば:requires module-name; requires static module-name; requires transitive module-name;- 導入されたバージョン:
 - 9
 
 
- 
- 
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 抽象メソッド 修飾子と型 メソッド 説明 ExpressionTreegetModuleName()必要なモジュールの名前を返します。booleanisStatic()これが"静的を必要とします"ディレクティブの場合はtrueを返します。booleanisTransitive()これが"推移性が必要"ディレクティブの場合はtrueを返します。 
 - 
 
- 
- 
メソッドの詳細
- 
isStatic
boolean isStatic()
これが"静的を必要とします"ディレクティブの場合はtrueを返します。- 戻り値:
 - これが"静的を必要とします"ディレクティブの場合はtrue
 
 
- 
isTransitive
boolean isTransitive()
これが"推移性が必要"ディレクティブの場合はtrueを返します。- 戻り値:
 - これが"推移性が必要"ディレクティブの場合はtrue
 
 
- 
getModuleName
ExpressionTree getModuleName()
必要なモジュールの名前を返します。- 戻り値:
 - 必要なモジュールの名前
 
 
 - 
 
 -