Files
codeql/java/ql/test/library-tests/annotations/GetLibraryAnnotationElement.ql
2018-10-11 11:31:37 +02:00

14 lines
324 B
Plaintext

/**
* @name GetLibraryAnnotationElement
*/
import default
from Class cl, Annotation ann, AnnotationType anntp, AnnotationElement anne
where
cl.fromSource() and
ann = cl.getAnAnnotation() and
anntp = ann.getType() and
anne = anntp.getAnAnnotationElement()
select cl, ann, anntp.getQualifiedName(), anne.getName()