6843077: JSR 308: Annotations on types
authorjjg
Fri, 26 Jun 2009 18:39:45 -0700
changeset 3063 a3fd491f7754
parent 3061 419b6dba7ccf
child 3064 1f377edfe18f
child 3065 452aaa2899fc
child 3067 503964947e9f
6843077: JSR 308: Annotations on types Reviewed-by: jjg, mcimadamore, darcy Contributed-by: mernst@cs.washington.edu, mali@csail.mit.edu, mpapi@csail.mit.edu
jdk/src/share/classes/java/lang/annotation/ElementType.java
--- a/jdk/src/share/classes/java/lang/annotation/ElementType.java	Fri Jun 26 16:50:58 2009 +0200
+++ b/jdk/src/share/classes/java/lang/annotation/ElementType.java	Fri Jun 26 18:39:45 2009 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2009 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -40,6 +40,12 @@
     /** Class, interface (including annotation type), or enum declaration */
     TYPE,
 
+    /** Uses of a type */
+    TYPE_USE,
+
+    /** type parameters */
+    TYPE_PARAMETER,
+
     /** Field declaration (includes enum constants) */
     FIELD,