IT. Expert System.

Java Standard Edition (SE)

Retention


java.lang.annotation

Annotation Type Retention



  • @Documented
     @Retention(value=RUNTIME)
     @Target(value=ANNOTATION_TYPE)
    public @interface Retention
    Indicates how long annotations with the annotated type are to be retained. If no Retention annotation is present on an annotation type declaration, the retention policy defaults to RetentionPolicy.CLASS.

    A Retention meta-annotation has effect only if the meta-annotated type is used directly for annotation. It has no effect if the meta-annotated type is used as a member type in another annotation type.

    Since:
    1.5
    See The Java™ Language Specification:
    9.6.3.2 @Retention
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      RetentionPolicy value
      Returns the retention policy.
    • Element Detail

      • value

        public abstract RetentionPolicy value
        Returns the retention policy.
        Returns:
        the retention policy


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 212 / . Delta: 0.07490 с