インタフェース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ディレクティブのリストを返します。