-
所有超级接口:
-
ExpressionTree, Tree
用于注解类型的树节点。例如:
@annotationType String
@annotationType ( arguments ) Date
-
自Java版本:
-
1.8
-
参见:
-
-
Nested Class Summary
Nested classes/interfaces declared in interface com.sun.source.tree.Tree
Tree.Kind
-
Method Summary
-
Method Details
-
getAnnotations
返回与此类型表达式关联的注解。
-
返回:
-
注解
-
getUnderlyingType
返回与注解关联的基础类型。
-
返回:
-
基础类型