-
- すべてのスーパー・インタフェース:
ModuleElement.Directive
- 含まれているインタフェース:
- ModuleElement
public static interface ModuleElement.RequiresDirective extends ModuleElement.Directive
モジュールの依存性。- 導入されたバージョン:
- 9
-
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 抽象メソッド 修飾子と型 メソッド 説明 ModuleElementgetDependency()必要なモジュールを返しますbooleanisStatic()これが静的依存関係かどうかを返します。booleanisTransitive()これが推移的依存関係かどうかを返します。-
インタフェースjavax.lang.model.elementで宣言されたメソッド。ModuleElement.Directive
accept, getKind
-
-
-
-
メソッドの詳細
-
isStatic
boolean isStatic()
これが静的依存関係かどうかを返します。- 戻り値:
- これが静的依存関係かどうか
-
isTransitive
boolean isTransitive()
これが推移的依存関係かどうかを返します。- 戻り値:
- これが推移的依存関係であるかどうか
-
getDependency
ModuleElement getDependency()
必要なモジュールを返します- 戻り値:
- 必要なモジュール
-
-