Skip to content

Applying Single-Element Annotations – OCP Oracle Certified Professional

  • Home
  • Contact Us

Security Threat Categories

2024-08-20

Basics of Annotations – Annotations

25.1 Basics of Annotations Support for annotations is provided by the Annotation API, which is located in the java.lang.annotation package.…

Read More
2024-06-20

Declaring Annotation Type Elements – Annotations

Declaring Annotation Type Elements The body of an annotation type declaration may contain declarations of annotation type elements. The syntax…

Read More
2024-04-16

Defaults for Annotation Type Elements – Annotations

Defaults for Annotation Type Elements An annotation type element declaration can declare a default value for an element using the…

Read More
2024-02-15

Applying Normal Annotations – Annotations

Applying Normal Annotations When a normal annotation is applied to a program element, in addition to the name of the…

Read More
2023-11-20

Meta-Annotations – Annotations

25.4 Meta-Annotations Meta-annotations are annotations that can be applied on an annotation type declaration to specify various aspects of the…

Read More
2023-08-21

The @Target Meta-Annotation 2 – Annotations

The target values of the ElementType constants from 1 to 10 in Table 25.2 indicate declaration contexts—that is, a context…

Read More
2023-08-20

The @Target Meta-Annotation – Annotations

The @Target Meta-Annotation An annotation type declaration can specify the contexts in which the annotation is applicable. This is controlled…

Read More
2023-02-22

The @FunctionalInterface Annotation – Annotations

The @FunctionalInterface Annotation The marker annotation @FunctionalInterface is designed to ensure that a given interface is indeed functional—that is, it…

Read More
2022-09-15

The @SafeVarargs Annotation – Annotations

The @SafeVarargs Annotation The marker annotation @SafeVarargs is used to instruct the compiler to suppress unchecked warnings that would otherwise…

Read More
2022-06-10

Processing Annotations 2 – Annotations

In Example 25.4, the method printTaskInfoAnnotation() at (1) in the TaskInfoAnnotationProcessor class can be used to specifically discover TaskInfo annotations…

Read More

Posts navigation

Older posts
  • Application Security Overview
  • Applying Normal Annotations
  • Java Security Policies
  • Oracle and Linux
  • Oracle Certification Exam
  • Security Threat Categories
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • February 2024
  • January 2024
  • November 2023
  • August 2023
  • June 2023
  • April 2023
  • March 2023
  • February 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • June 2022
  • May 2022
  • March 2022
  • January 2022
  • November 2021
  • September 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • January 2021
May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Aug    
No comments to show.
Copyright All rights reserved. Theme curtiseye