モジュール jdk.compiler
パッケージ com.sun.source.tree

インタフェースAnnotationTree

  • すべてのスーパー・インタフェース:
    ExpressionTree, Tree

    public interface AnnotationTree
    extends ExpressionTree
    注釈のツリー・ノードです。 たとえば:
        @annotationType
        @annotationType ( arguments )
     
    導入されたバージョン:
    1.6
    The Java™Language Specificationを参照してください。
    セクション9.7
    • メソッドの詳細

      • getAnnotationType

        Tree getAnnotationType()
        注釈型を返します。
        戻り値:
        注釈型
      • getArguments

        List<? extends ExpressionTree> getArguments()
        注釈の引数(ある場合)を返します。
        戻り値:
        注釈型の引数