インタフェース javax.lang.model.element.ModuleElement.Directiveの
使用
-
ModuleElement.Directiveを使用するパッケージ パッケージ 説明 javax.lang.model.element Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。javax.lang.model.util -
-
javax.lang.model.elementでのModuleElement.Directiveの使用
javax.lang.model.elementのModuleElement.Directiveのサブインタフェース 修飾子と型 インタフェース 説明 static interfaceModuleElement.ExportsDirectiveエクスポートされたモジュールのパッケージ。static interfaceModuleElement.OpensDirectiveモジュールの開かれたパッケージ。static interfaceModuleElement.ProvidesDirectiveモジュールによって提供されるサービスの実装。static interfaceModuleElement.RequiresDirectiveモジュールの依存関係。static interfaceModuleElement.UsesDirectiveモジュールによって使用されるサービスへの参照。ModuleElement.Directiveを戻すjavax.lang.model.elementのメソッド 修飾子と型 メソッド 説明 ModuleElement.DirectiveUnknownDirectiveException. getUnknownDirective()未知のディレクティブを返します。型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のコンストラクタ コンストラクタ 説明 UnknownDirectiveException(ModuleElement.Directive d, Object p)新しい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ディレクティブのリストを返します。
-