Wed, 23 Jan 2013 13:27:24 -0800
8006775: JSR 308: Compiler changes in JDK8
Reviewed-by: jjg
Contributed-by: mernst@cs.washington.edu, wmdietl@cs.washington.edu, mpapi@csail.mit.edu, mahmood@notnoop.com
jjg@1521 | 1 | /* |
jjg@1521 | 2 | * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. |
jjg@1521 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jjg@1521 | 4 | * |
jjg@1521 | 5 | * This code is free software; you can redistribute it and/or modify it |
jjg@1521 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jjg@1521 | 7 | * published by the Free Software Foundation. Oracle designates this |
jjg@1521 | 8 | * particular file as subject to the "Classpath" exception as provided |
jjg@1521 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
jjg@1521 | 10 | * |
jjg@1521 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jjg@1521 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jjg@1521 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jjg@1521 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
jjg@1521 | 15 | * accompanied this code). |
jjg@1521 | 16 | * |
jjg@1521 | 17 | * You should have received a copy of the GNU General Public License version |
jjg@1521 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
jjg@1521 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jjg@1521 | 20 | * |
jjg@1521 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jjg@1521 | 22 | * or visit www.oracle.com if you need additional information or have any |
jjg@1521 | 23 | * questions. |
jjg@1521 | 24 | */ |
jjg@1521 | 25 | |
jjg@1521 | 26 | package com.sun.source.tree; |
jjg@1521 | 27 | |
jjg@1521 | 28 | import java.util.List; |
jjg@1521 | 29 | |
jjg@1521 | 30 | /** |
jjg@1521 | 31 | * A tree node for an annotated type |
jjg@1521 | 32 | * |
jjg@1521 | 33 | * For example: |
jjg@1521 | 34 | * <pre> |
jjg@1521 | 35 | * {@code @}<em>annotationType String</em> |
jjg@1521 | 36 | * {@code @}<em>annotationType</em> ( <em>arguments</em> ) <em>Date</em> |
jjg@1521 | 37 | * </pre> |
jjg@1521 | 38 | * |
jjg@1521 | 39 | * @see "JSR 308: Annotations on Java Types" |
jjg@1521 | 40 | * |
jjg@1521 | 41 | * @author Mahmood Ali |
jjg@1521 | 42 | * @since 1.8 |
jjg@1521 | 43 | */ |
jjg@1521 | 44 | public interface AnnotatedTypeTree extends ExpressionTree { |
jjg@1521 | 45 | List<? extends AnnotationTree> getAnnotations(); |
jjg@1521 | 46 | ExpressionTree getUnderlyingType(); |
jjg@1521 | 47 | } |