Avoid deprecated Annotation.getAValue

This commit is contained in:
Chris Smowton
2022-09-20 10:15:23 +01:00
parent 0ab5d466f6
commit 14fa6d4487

View File

@@ -4,6 +4,6 @@ from Field f, Annotation ann, Expr value, Expr valueChild
where
f.getDeclaringType().fromSource() and
ann = f.getAnAnnotation() and
value = ann.getAValue() and
value = ann.getValue(_) and
valueChild.getParent() = value
select f, ann, value, valueChild