インタフェース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 RModuleElement.DirectiveVisitor.visit(ModuleElement.Directive d)そのディレクティブのacceptメソッドに渡し、追加のパラメータとしてnullを渡すことによって、任意のディレクティブをビジットします。default RModuleElement.DirectiveVisitor.visit(ModuleElement.Directive d, P p)そのディレクティブをacceptメソッドに渡すことによって、ディレクティブをビジットします。default RModuleElement.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.OriginElements.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ディレクティブのリストを返します。