CodeQL library for Java/Kotlin
codeql/java-all 4.0.1-dev (changelog, source)
Search

Module JDKAnnotations

Provides classes that represent standard annotations from the JDK.

Import path

import semmle.code.java.JDKAnnotations

Imports

java

Provides all default Java QL imports.

Classes

DeprecatedAnnotation

A @Deprecated annotation.

NonReflectiveAnnotation

An annotation that does not indicate that a field may be accessed reflectively.

OverrideAnnotation

An @Override annotation.

ReflectiveAccessAnnotation

An annotation suggesting that the annotated element may be accessed reflectively.

RepeatableAnnotation

A @Repeatable annotation.

RetentionAnnotation

A @Retention annotation.

StandardNonReflectiveAnnotation
SuppressWarningsAnnotation

A @SuppressWarnings annotation.

TargetAnnotation

A @Target annotation.