src/share/classes/javax/lang/model/element/PackageElement.java

Print this page
rev 218 : 6460529: Provide mixin interfaces for getQualifiedName and getTypeParameters
Reviewed-by: jjg

*** 1,7 **** /* ! * Copyright 2005-2006 Sun Microsystems, Inc. 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. Sun designates this --- 1,7 ---- /* ! * Copyright 2005-2009 Sun Microsystems, Inc. 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. Sun designates this
*** 23,33 **** * have any questions. */ package javax.lang.model.element; - /** * Represents a package program element. Provides access to information * about the package and its members. * * @author Joseph D. Darcy --- 23,32 ----
*** 34,46 **** * @author Scott Seligman * @author Peter von der Ah&eacute; * @see javax.lang.model.util.Elements#getPackageOf * @since 1.6 */ - public interface PackageElement extends Element { - /** * Returns the fully qualified name of this package. * This is also known as the package's <i>canonical</i> name. * * @return the fully qualified name of this package, or an --- 33,44 ---- * @author Scott Seligman * @author Peter von der Ah&eacute; * @see javax.lang.model.util.Elements#getPackageOf * @since 1.6 */ + public interface PackageElement extends Element, QualifiedNameable { /** * Returns the fully qualified name of this package. * This is also known as the package's <i>canonical</i> name. * * @return the fully qualified name of this package, or an