remove redundant fromSource calls

Co-authored-by: @tausbn <tausbn@github.com>
This commit is contained in:
Stephan Brandauer
2023-09-26 10:31:23 +02:00
parent 32502d5e2c
commit 9f7f2ab70e

View File

@@ -30,14 +30,12 @@ newtype TFrameworkModeEndpoint =
TOverridableParameter(Method m, Parameter p) {
p.getCallable() = m and
m instanceof ModelExclusions::ModelApi and
m.fromSource() and
not m.getDeclaringType().isFinal() and
not m.isFinal() and
not m.isStatic()
} or
TOverridableQualifier(Method m) {
m instanceof ModelExclusions::ModelApi and
m.fromSource() and
not m.getDeclaringType().isFinal() and
not m.isFinal() and
not m.isStatic()