インタフェース
javax.lang.model.element.ExecutableElementの使用
パッケージ
説明
ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。
抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。
注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境とやり取りできるようにするための機能。
Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。
-
com.sun.source.treeでのExecutableElementの使用
-
com.sun.source.utilでのExecutableElementの使用
修飾子と型メソッド説明abstract MethodTree
Trees.getTree
(ExecutableElement method) 指定されたExecutableElement
のMethodTree
ノードを返します。 -
javax.annotation.processingでのExecutableElementの使用
修飾子と型メソッド説明Iterable<? extends Completion>
AbstractProcessor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) コンプリートの空の反復可能オブジェクトを返します。Iterable<? extends Completion>
Processor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) ある注釈に対する推奨のコンプリートから成る反復可能オブジェクトを、ツール・インフラストラクチャに返します。 -
javax.lang.model.elementでのExecutableElementの使用
修飾子と型メソッド説明Map<? extends ExecutableElement,
? extends AnnotationValue> AnnotationMirror.getElementValues()
注釈の要素の値を返します。 -
javax.lang.model.utilでのExecutableElementの使用
修飾子と型メソッド説明static List<ExecutableElement>
ElementFilter.constructorsIn
(Iterable<? extends Element> elements) elements
内のコンストラクタのリストを返します。static Set<ExecutableElement>
ElementFilter.constructorsIn
(Set<? extends Element> elements) elements
内のコンストラクタのセットを返します。Map<? extends ExecutableElement,
? extends AnnotationValue> Elements.getElementValuesWithDefaults
(AnnotationMirror a) デフォルトを含む注釈の要素の値を返します。static List<ExecutableElement>
elements
内のメソッドのリストを返します。static Set<ExecutableElement>
elements
内のメソッドのセットを返します。修飾子と型メソッド説明default boolean
Elements.isBridge
(ExecutableElement e) 実行可能要素がブリッジ・メソッドであればtrue
を、そうでなければfalse
を返します。boolean
Elements.overrides
(ExecutableElement overrider, ExecutableElement overridden, TypeElement type) あるメソッドが指定されたクラスまたはインタフェースのメンバーとして、別のメソッドをオーバーライドするかどうかをテストします。default RecordComponentElement
Elements.recordComponentFor
(ExecutableElement accessor) 指定されたアクセッサのレコード・コンポーネントを返します。ElementKindVisitor6.visitExecutable
(ExecutableElement e, P p) 実行可能要素をビジットします。ElementScanner14.visitExecutable
(ExecutableElement e, P p) 実行可能要素をビジットします。ElementScanner6.visitExecutable
(ExecutableElement e, P p) 実行可能要素をビジットします。SimpleElementVisitor6.visitExecutable
(ExecutableElement e, P p) 実行可能要素をビジットします。ElementKindVisitor6.visitExecutableAsConstructor
(ExecutableElement e, P p) CONSTRUCTOR
実行可能要素をビジットします。ElementKindVisitor6.visitExecutableAsInstanceInit
(ExecutableElement e, P p) INSTANCE_INIT
実行可能要素をビジットします。ElementKindVisitor6.visitExecutableAsMethod
(ExecutableElement e, P p) METHOD
実行可能要素をビジットします。ElementKindVisitor6.visitExecutableAsStaticInit
(ExecutableElement e, P p) STATIC_INIT
実行可能要素をビジットします。