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 d84501d commit 212a515Copy full SHA for 212a515
java/ql/automodel/src/AutomodelFrameworkModeCharacteristics.qll
@@ -26,7 +26,13 @@ newtype JavaRelatedLocationType =
26
newtype TFrameworkModeEndpoint =
27
TExplicitParameter(Parameter p) or
28
TQualifier(Callable c) { not c instanceof Constructor } or
29
- TReturnValue(Callable c) or
+ TReturnValue(Callable c) {
30
+ c instanceof Constructor or
31
+ c instanceof Method and
32
+ (
33
+ not c.getReturnType() instanceof VoidType
34
+ )
35
+ } or
36
TOverridableParameter(Method m, Parameter p) {
37
p.getCallable() = m and
38
m instanceof ModelExclusions::ModelApi and
0 commit comments