Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT internal-Mandriva-19.202.56.2mdv2008.0

java.lang
Annotation Type Deprecated


@Documented
@Retention(value=RUNTIME)
public @interface Deprecated

A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists. Compilers warn when a deprecated program element is used or overridden in non-deprecated code.

Since:
1.5


Java™ Platform
Standard Ed. 7

DRAFT internal-Mandriva-19.202.56.2mdv2008.0

Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.