Compiler Tree API

com.sun.source.tree
Interface AnnotationTree

All Superinterfaces:
ExpressionTree, Tree

public interface AnnotationTree
extends ExpressionTree

A tree node for an annotation. For example:

    @annotationType
    @annotationType ( arguments )
 

Since:
1.6
See Also:
"The Java Language Specification, 3rd ed, section 9.7"

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
Tree.Kind
 
Method Summary
 Tree getAnnotationType()
           
 List<? extends ExpressionTree> getArguments()
           
 
Methods inherited from interface com.sun.source.tree.Tree
accept, getKind
 

Method Detail

getAnnotationType

Tree getAnnotationType()

getArguments

List<? extends ExpressionTree> getArguments()

Compiler Tree API

Submit a bug or feature
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved.