/** * Returns the live ordered list of annotations for this Type node (added in JLS8 API). * <p> * Note that type annotations ({@link 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 * <code>modifiers()</code> list. * </p> * * @return the live list of annotations (element type: {@link Annotation}) * @exception UnsupportedOperationException if this operation is used below JLS8 * @see ITypeBinding#getTypeAnnotations() */ public List annotations() { // more efficient than just calling unsupportedIn2_3_4() to check if (this.annotations == null) { unsupportedIn2_3_4(); } return this.annotations; } }
/** * Returns the live ordered list of annotations for this Type node (added in JLS8 API). * <p> * Note that type annotations ({@link 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 * <code>modifiers()</code> list. * </p> * * @return the live list of annotations (element type: {@link Annotation}) * @exception UnsupportedOperationException if this operation is used below JLS8 * @see ITypeBinding#getTypeAnnotations() */ public List annotations() { // more efficient than just calling unsupportedIn2_3_4() to check if (this.annotations == null) { unsupportedIn2_3_4(); } return this.annotations; } }
/** * Returns the live ordered list of annotations for this Type node (added in JLS8 API). * <p> * Note that type annotations ({@link 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 * <code>modifiers()</code> list. * </p> * * @return the live list of annotations (element type: {@link Annotation}) * @exception UnsupportedOperationException if this operation is used below JLS8 * @see ITypeBinding#getTypeAnnotations() */ public List annotations() { // more efficient than just calling unsupportedIn2_3_4() to check if (this.annotations == null) { unsupportedIn2_3_4(); } return this.annotations; } }
/** * Returns the live ordered list of annotations for this Type node (added in JLS8 API). * <p> * Note that type annotations ({@link 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 * <code>modifiers()</code> list. * </p> * * @return the live list of annotations (element type: {@link Annotation}) * @exception UnsupportedOperationException if this operation is used below JLS8 * @see ITypeBinding#getTypeAnnotations() */ public List annotations() { // more efficient than just calling unsupportedIn2_3_4() to check if (this.annotations == null) { unsupportedIn2_3_4(); } return this.annotations; } }
/** * Returns the live ordered list of annotations for this Type node (added in JLS8 API). * <p> * Note that type annotations ({@link 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 * <code>modifiers()</code> list. * </p> * * @return the live list of annotations (element type: {@link Annotation}) * @exception UnsupportedOperationException if this operation is used below JLS8 * @see ITypeBinding#getTypeAnnotations() */ public List annotations() { // more efficient than just calling unsupportedIn2_3_4() to check if (this.annotations == null) { unsupportedIn2_3_4(); } return this.annotations; } }