jdk/src/share/classes/java/lang/reflect/TypeVariable.java
changeset 15510 898d924a7efd
parent 14342 8435a30053c1
child 18546 862067c6481c
--- a/jdk/src/share/classes/java/lang/reflect/TypeVariable.java	Sat Jan 26 16:57:02 2013 +0000
+++ b/jdk/src/share/classes/java/lang/reflect/TypeVariable.java	Tue Jan 29 10:32:49 2013 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, 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
@@ -86,4 +86,16 @@
      * @return the name of this type variable, as it appears in the source code
      */
     String getName();
+
+    /**
+     * Returns an array of AnnotatedType objects that represent the use of
+     * types to denote the upper bounds of the type parameter represented by
+     * this TypeVariable. The order of the objects in the array corresponds to
+     * the order of the bounds in the declaration of the type parameter.
+     *
+     * Returns an array of length 0 if the type parameter declares no bounds.
+     *
+     * @since 1.8
+     */
+     AnnotatedType[] getAnnotatedBounds();
 }