mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
256 B
Java
12 lines
256 B
Java
import java.lang.SuppressWarnings;
|
|
|
|
public class AnnotationTest {
|
|
@SuppressWarnings("unchecked")
|
|
public static class AnnotatedClass {
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
AnnotatedClass.class.getAnnotation(SuppressWarnings.class);
|
|
}
|
|
}
|