# HG changeset patch # User jfranck # Date 1352338774 28800 # Node ID e5214ad6600a4cffad7146e40c080a4b5889d745 # Parent 967376921f208f2f32100cc433cc743375dc9e6d 8001598: Augment ElementType enum for JSR 308 Reviewed-by: darcy diff -r 967376921f20 -r e5214ad6600a jdk/src/share/classes/java/lang/annotation/ElementType.java --- a/jdk/src/share/classes/java/lang/annotation/ElementType.java Wed Nov 07 15:08:28 2012 -0800 +++ b/jdk/src/share/classes/java/lang/annotation/ElementType.java Wed Nov 07 17:39:34 2012 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2012, Oracle and/or its affiliates. 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 @@ -46,7 +46,7 @@ /** Method declaration */ METHOD, - /** Parameter declaration */ + /** Formal parameter declaration */ PARAMETER, /** Constructor declaration */ @@ -59,5 +59,19 @@ ANNOTATION_TYPE, /** Package declaration */ - PACKAGE + PACKAGE, + + /** + * Type parameter declaration + * + * @since 1.8 + */ + TYPE_PARAMETER, + + /** + * Use of a type + * + * @since 1.8 + */ + TYPE_USE }