|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.dom.ASTNode
org.aspectj.org.eclipse.jdt.core.dom.Type
org.aspectj.org.eclipse.jdt.core.dom.AnnotatableType
public abstract class AnnotatableType
Abstract base class of AST nodes that represent an annotatable type (added in JLS8 API).
Introduced in JLS8, type references that can be annotated are represented by
AnnotatableType. For the list of types extending AnnotatableType, see Type.
Note that type annotations (ITypeBinding.getTypeAnnotations()) that semantically
belong to a resolved type reference don't always show up in annotations().
Syntactically, type annotations can also be part of an associated declaration node's
modifiers() list.
| Field Summary |
|---|
| Method Summary | |
|---|---|
java.util.List |
annotations()
Returns the live ordered list of annotations for this Type node (added in JLS8 API). |
ChildListPropertyDescriptor |
getAnnotationsProperty()
Returns the structural property descriptor for the "annotations" property of this node (element type: Annotation) (added in JLS8 API). |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.Type |
|---|
isAnnotatable, isArrayType, isIntersectionType, isNameQualifiedType, isParameterizedType, isPrimitiveType, isQualifiedType, isSimpleType, isUnionType, isWildcardType, resolveBinding |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.ASTNode |
|---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, hashCode, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final ChildListPropertyDescriptor getAnnotationsProperty()
Annotation) (added in JLS8 API).
public java.util.List annotations()
Note that type annotations (ITypeBinding.getTypeAnnotations()) that semantically
belong to a resolved type reference don't always show up in this list.
Syntactically, type annotations can also be part of an associated declaration node's
modifiers() list.
Annotation)
java.lang.UnsupportedOperationException - if this operation is used below JLS8ITypeBinding.getTypeAnnotations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||