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 37aa6b2 commit 2b1423dCopy full SHA for 2b1423d
java/ql/src/utils/model-generator/internal/CaptureModelsSpecific.qll
@@ -55,7 +55,8 @@ private predicate isJdkInternal(J::CompilationUnit cu) {
55
private predicate isRelevantForModels(J::Callable api) {
56
not isInTestFile(api.getCompilationUnit().getFile()) and
57
not isJdkInternal(api.getCompilationUnit()) and
58
- not api instanceof J::MainMethod
+ not api instanceof J::MainMethod and
59
+ not api instanceof J::StaticInitializer
60
}
61
62
/**
0 commit comments