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

Print this page

        

*** 67,81 **** * return d.getSimpleName().equals("Bob"); * } * }; * result = nameFilter.filter(decls); </pre></blockquote> * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public class DeclarationFilter { // Predefined filters for convenience. /** --- 67,87 ---- * return d.getSimpleName().equals("Bob"); * } * }; * result = nameFilter.filter(decls); </pre></blockquote> * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this class is {@link + * javax.lang.model.util.ElementFilter}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public class DeclarationFilter { // Predefined filters for convenience. /**