インタフェース
javax.lang.model.element.VariableElementの使用
VariableElementを使用するパッケージ
パッケージ
説明
抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。
Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。
-
com.sun.source.utilでのVariableElementの使用
型VariableElementのパラメータを持つcom.sun.source.utilのメソッド修飾子と型メソッド説明ParameterNameProvider.getParameterName(VariableElement parameter) 指定されたパラメータのパラメータ名を推測します。 -
javax.lang.model.elementでのVariableElementの使用
型VariableElementの引数を持つ型を返すjavax.lang.model.elementのメソッド修飾子と型メソッド説明List<? extends VariableElement> ExecutableElement.getParameters()この実行可能ファイルの仮パラメータを返します。型VariableElementのパラメータを持つjavax.lang.model.elementのメソッド修飾子と型メソッド説明AnnotationValueVisitor.visitEnumConstant(VariableElement c, P p) 注釈のenum値をビジットします。ElementVisitor.visitVariable(VariableElement e, P p) 変数要素をビジットします。 -
javax.lang.model.utilでのVariableElementの使用
型VariableElementの引数を持つ型を返すjavax.lang.model.utilのメソッド修飾子と型メソッド説明static List<VariableElement> elements内のフィールドのリストを返します。static Set<VariableElement> elements内のフィールドのセットを返します。型VariableElementのパラメータを持つjavax.lang.model.utilのメソッド修飾子と型メソッド説明default TypeElementElements.getEnumConstantBody(VariableElement enumConstant) 引数がオプションのクラス本文で宣言されたenum定数である場合、enum定数のクラス本文を返します。それ以外の場合はnullを返します。SimpleAnnotationValueVisitor6.visitEnumConstant(VariableElement c, P p) 注釈のenum値をビジットします。ElementKindVisitor6.visitVariable(VariableElement e, P p) 変数要素をビジットします。ElementScanner6.visitVariable(VariableElement e, P p) 変数要素をビジットします。ElementScanner7.visitVariable(VariableElement e, P p) 変数要素をビジットします。SimpleElementVisitor6.visitVariable(VariableElement e, P p) 変数要素をビジットします。SimpleElementVisitor7.visitVariable(VariableElement e, P p) 変数要素をビジットします。ElementKindVisitor14.visitVariableAsBindingVariable(VariableElement e, P p) BINDING_VARIABLE可変要素をビジットします。ElementKindVisitor6.visitVariableAsBindingVariable(VariableElement e, P p) BINDING_VARIABLE可変要素をビジットします。ElementKindVisitor6.visitVariableAsEnumConstant(VariableElement e, P p) ENUM_CONSTANT可変要素を訪問します。ElementKindVisitor6.visitVariableAsExceptionParameter(VariableElement e, P p) EXCEPTION_PARAMETER可変要素を訪問します。ElementKindVisitor6.visitVariableAsField(VariableElement e, P p) FIELD可変要素を訪問します。ElementKindVisitor6.visitVariableAsLocalVariable(VariableElement e, P p) LOCAL_VARIABLE可変要素を訪問します。ElementKindVisitor6.visitVariableAsParameter(VariableElement e, P p) PARAMETER可変要素を訪問します。ElementKindVisitor6.visitVariableAsResourceVariable(VariableElement e, P p) RESOURCE_VARIABLE可変要素を訪問します。ElementKindVisitor7.visitVariableAsResourceVariable(VariableElement e, P p) RESOURCE_VARIABLE可変要素を訪問します。