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