src/share/classes/java/lang/reflect/GenericDeclaration.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2011, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 28,38 **** /** * A common interface for all entities that declare type variables. * * @since 1.5 */ ! public interface GenericDeclaration { /** * Returns an array of {@code TypeVariable} objects that * represent the type variables declared by the generic * declaration represented by this {@code GenericDeclaration} * object, in declaration order. Returns an array of length 0 if --- 28,38 ---- /** * A common interface for all entities that declare type variables. * * @since 1.5 */ ! public interface GenericDeclaration extends AnnotatedElement { /** * Returns an array of {@code TypeVariable} objects that * represent the type variables declared by the generic * declaration represented by this {@code GenericDeclaration} * object, in declaration order. Returns an array of length 0 if