# HG changeset patch # User jjg # Date 1246066785 25200 # Node ID a3fd491f77542f531d925c1b619815dda50457b0 # Parent 419b6dba7ccfb8873c02bbb06e5901909c307c2b 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 diff -r 419b6dba7ccf -r a3fd491f7754 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,