JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.lang.annotation.Target

Packages that use Target
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 Target in java.lang
 

Classes in java.lang with annotations of type Target
 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 Target in java.lang.annotation
 

Classes in java.lang.annotation with annotations of type Target
 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

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.