インタフェースjavax.annotation.processing.ProcessingEnvironment
の使用
-
ProcessingEnvironmentを使用しているパッケージ パッケージ 説明 com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。javax.annotation.processing 注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境と通信できるようにするための機能。 -
-
com.sun.source.utilでのProcessingEnvironmentの使用
型ProcessingEnvironmentのパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 static DocTrees
DocTrees. instance(ProcessingEnvironment env)
指定されたProcessingEnvironmentのDocTreesオブジェクトを返します。static JavacTask
JavacTask. instance(ProcessingEnvironment processingEnvironment)
ProcessingEnvironment
のJavacTask
を返します。static Trees
Trees. instance(ProcessingEnvironment env)
指定されたProcessingEnvironmentのTreesオブジェクトを返します。 -
javax.annotation.processingでのProcessingEnvironmentの使用
ProcessingEnvironmentとして宣言されているjavax.annotation.processingのフィールド 修飾子と型 フィールド 説明 protected ProcessingEnvironment
AbstractProcessor. processingEnv
ツール・フレームワークによって提供された処理環境。ProcessingEnvironment型のパラメータを持つjavax.annotation.processingのメソッド 修飾子と型 メソッド 説明 void
AbstractProcessor. init(ProcessingEnvironment processingEnv)
処理環境を使ってプロセッサを初期化するために、processingEnv
フィールドをprocessingEnv
引数の値に設定します。void
Processor. init(ProcessingEnvironment processingEnv)
指定された処理環境を使用してプロセッサを初期化します。
-