src/share/classes/com/sun/mirror/util/Declarations.java

Print this page

        

*** 30,44 **** /** * Utility methods for operating on declarations. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface Declarations { /** * Tests whether one type, method, or field declaration hides another. * --- 30,50 ---- /** * Utility methods for operating on declarations. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this interface is {@link + * javax.lang.model.util.Elements}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface Declarations { /** * Tests whether one type, method, or field declaration hides another. *