## Uses of Class
java.lang.annotation.RetentionPolicy

- Packages that use RetentionPolicy
  Package | Description
  --- | ---
  java.lang.annotation |

- - ### Uses of RetentionPolicy in java.lang.annotation

    Methods in java.lang.annotation that return RetentionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `static RetentionPolicy` | RetentionPolicy.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static RetentionPolicy[]` | RetentionPolicy.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

Copyright © 2025 API Design. All Rights Reserved.