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 eda676d commit ee75073Copy full SHA for ee75073
java/ql/src/utils/stub-generator/Stubs.qll
@@ -17,11 +17,7 @@ abstract private class GeneratedType extends ClassOrInterface {
17
18
private string stubKeyword() {
19
this instanceof Interface and
20
- (
21
- this instanceof AnnotationType and result = "@interface"
22
- or
23
- result = "interface"
24
- )
+ (if this instanceof AnnotationType then result = "@interface" else result = "interface")
25
or
26
this instanceof Class and
27
(if this instanceof EnumType then result = "enum" else result = "class")
0 commit comments