1.1 --- a/src/share/classes/com/sun/javadoc/TypeVariable.java Mon Jan 21 01:27:42 2013 -0500 1.2 +++ b/src/share/classes/com/sun/javadoc/TypeVariable.java Mon Feb 04 18:08:53 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -55,4 +55,11 @@ 1.11 * which this type variable is declared. 1.12 */ 1.13 ProgramElementDoc owner(); 1.14 + 1.15 + /** 1.16 + * Get the annotations of this program element. 1.17 + * Return an empty array if there are none. 1.18 + */ 1.19 + public AnnotationDesc[] annotations(); 1.20 + 1.21 }