Look through generic annotation types extracted from Kotlin

This commit is contained in:
Chris Smowton
2022-12-09 11:52:28 +00:00
parent 65dc0dc326
commit 40e902eca9

View File

@@ -38,7 +38,7 @@ class Annotation extends @annotation, Expr {
/** Gets the annotation type declaration for this annotation. */
override AnnotationType getType() {
result = Expr.super.getType().(AnnotationType).getSourceDeclaration()
result = Expr.super.getType().(Interface).getSourceDeclaration()
}
/** Gets the annotation element with the specified `name`. */