インタフェースjavax.lang.model.element.ModuleElement.Directiveの
使用
ModuleElement.Directiveを使用するパッケージ
パッケージ
説明
Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。
-
javax.lang.model.elementでのModuleElement.Directiveの使用
修飾子と型インタフェース説明static interface
モジュールのエクスポートされたパッケージ。static interface
モジュールの開いたパッケージ。static interface
モジュールによって提供されるサービスの実装。static interface
モジュールの依存関係。static interface
モジュールで使用されるサービスへの参照。型ModuleElement.Directiveの引数を持つ型を返すjavax.lang.model.elementのメソッド修飾子と型メソッド説明List
<? extends ModuleElement.Directive> ModuleElement.getDirectives()
このモジュールの宣言に含まれるディレクティブを返します。型ModuleElement.Directiveのパラメータを持つjavax.lang.model.elementのメソッド修飾子と型メソッド説明default R
ModuleElement.DirectiveVisitor.visit
(ModuleElement.Directive d) 任意のディレクティブを、そのディレクティブのaccept
メソッドに渡し、追加パラメータにnull
を渡すかのように訪問します。default R
ModuleElement.DirectiveVisitor.visit
(ModuleElement.Directive d, P p) 任意のディレクティブを、そのディレクティブのaccept
メソッドに渡すかのように訪問します。default R
ModuleElement.DirectiveVisitor.visitUnknown
(ModuleElement.Directive d, P p) 不明なディレクティブにアクセスします。型ModuleElement.Directiveのパラメータを持つjavax.lang.model.elementのコンストラクタ修飾子コンストラクタ説明新しいUnknownElementException
を作成します。 -
javax.lang.model.utilでのModuleElement.Directiveの使用
型ModuleElement.Directiveのパラメータを持つjavax.lang.model.utilのメソッド修飾子と型メソッド説明default Elements.Origin
Elements.getOrigin
(ModuleElement m, ModuleElement.Directive directive) 指定されたモジュール・ディレクティブのoriginを返します。型ModuleElement.Directiveの型引数を持つjavax.lang.model.utilのメソッド・パラメータ修飾子と型メソッド説明static List
<ModuleElement.ExportsDirective> ElementFilter.exportsIn
(Iterable<? extends ModuleElement.Directive> directives) directives
のexports
ディレクティブのリストを返します。static List
<ModuleElement.OpensDirective> ElementFilter.opensIn
(Iterable<? extends ModuleElement.Directive> directives) directives
のopens
ディレクティブのリストを返します。static List
<ModuleElement.ProvidesDirective> ElementFilter.providesIn
(Iterable<? extends ModuleElement.Directive> directives) directives
のprovides
ディレクティブのリストを返します。static List
<ModuleElement.RequiresDirective> ElementFilter.requiresIn
(Iterable<? extends ModuleElement.Directive> directives) directives
のrequires
ディレクティブのリストを返します。static List
<ModuleElement.UsesDirective> ElementFilter.usesIn
(Iterable<? extends ModuleElement.Directive> directives) directives
のuses
ディレクティブのリストを返します。