diff --git a/src/share/classes/java/lang/annotation/ElementType.java b/src/share/classes/java/lang/annotation/ElementType.java index 5aa7b4093123c3153864a4dfb064c9622d406bab..cec7ee630e041ccf28626588264eefdea0762083 100644 --- a/src/share/classes/java/lang/annotation/ElementType.java +++ b/src/share/classes/java/lang/annotation/ElementType.java @@ -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 @@ public enum ElementType { /** 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,