File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ private module Frameworks {
92
92
private import semmle.code.java.frameworks.apache.IO
93
93
private import semmle.code.java.frameworks.apache.Lang
94
94
private import semmle.code.java.frameworks.Flexjson
95
+ private import semmle.code.java.frameworks.generated
95
96
private import semmle.code.java.frameworks.guava.Guava
96
97
private import semmle.code.java.frameworks.jackson.JacksonSerializability
97
98
private import semmle.code.java.frameworks.javaee.jsf.JSFRenderer
Original file line number Diff line number Diff line change 1
1
/** Custom definitions related to the Apache Commons IO library. */
2
2
3
3
import java
4
- import IOGenerated
5
4
private import semmle.code.java.dataflow.ExternalFlow
6
5
7
- // TODO: manual models that were not generated yet
8
6
private class ApacheCommonsIOCustomSummaryCsv extends SummaryModelCsv {
7
+ /**
8
+ * Models that are not yet auto generated or where the generated summaries will
9
+ * be ignored.
10
+ * Note that if a callable has any handwritten summary, all generated summaries
11
+ * will be ignored for that callable.
12
+ */
9
13
override predicate row ( string row ) {
10
14
row =
11
15
[
Original file line number Diff line number Diff line change
1
+ /**
2
+ * A module importing all generated Models as Data models.
3
+ */
4
+
5
+ import java
6
+
7
+ private module GeneratedFrameworks {
8
+ private import apache.IOGenerated
9
+ }
You can’t perform that action at this time.
0 commit comments