1.1 --- a/src/share/classes/com/sun/javadoc/TypeVariable.java Wed Jan 23 20:57:40 2013 +0000 1.2 +++ b/src/share/classes/com/sun/javadoc/TypeVariable.java Wed Jan 23 13:27:24 2013 -0800 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 }