We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dc0dc commit 40e902eCopy full SHA for 40e902e
java/ql/lib/semmle/code/java/Annotation.qll
@@ -38,7 +38,7 @@ class Annotation extends @annotation, Expr {
38
39
/** Gets the annotation type declaration for this annotation. */
40
override AnnotationType getType() {
41
- result = Expr.super.getType().(AnnotationType).getSourceDeclaration()
+ result = Expr.super.getType().(Interface).getSourceDeclaration()
42
}
43
44
/** Gets the annotation element with the specified `name`. */
0 commit comments