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 8e2d74a commit 8b555caCopy full SHA for 8b555ca
java/ql/test/library-tests/typeflow/A.java
@@ -118,4 +118,12 @@ public void m10(Object o) {
118
default -> { }
119
}
120
121
+
122
+ private static <T> T lookupFoo(Map<String, T> m) {
123
+ return m.get("foo");
124
+ }
125
126
+ public void m11(Map<String, String> m) {
127
+ lookupFoo(m);
128
129
java/ql/test/library-tests/typeflow/typeflow.expected
@@ -18,5 +18,6 @@
18
| A.java:112:23:112:24 | cs | String | false |
19
| A.java:116:13:116:14 | o2 | String | false |
20
| A.java:117:49:117:50 | cs | String | false |
21
+| A.java:123:12:123:12 | m | Map<String,String> | false |
22
| UnionTypes.java:45:7:45:7 | x | Inter | false |
23
| UnionTypes.java:48:23:48:23 | x | Inter | false |
0 commit comments