| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Retention | |
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java programming language. | 
| java.lang.annotation | Provides library support for the Java programming language annotation facility. | 
| Uses of Retention in java.lang | 
|---|
| Classes in java.lang with annotations of type Retention | |
|---|---|
 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.  | 
 interface | 
Override
Indicates that a method declaration is intended to override a method declaration in a superclass.  | 
 interface | 
SuppressWarnings
Indicates that the named compiler warnings should be suppressed in the annotated element (and in all program elements contained in the annotated element).  | 
| Uses of Retention in java.lang.annotation | 
|---|
| Classes in java.lang.annotation with annotations of type Retention | |
|---|---|
 interface | 
Documented
Indicates that annotations with a type are to be documented by javadoc and similar tools by default.  | 
 interface | 
Inherited
Indicates that an annotation type is automatically inherited.  | 
 interface | 
Retention
Indicates how long annotations with the annotated type are to be retained.  | 
 interface | 
Target
Indicates the kinds of program element to which an annotation type is applicable.  | 
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.