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