mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Fixes to models and tests
Running the test generator script again showed many missing tests.
This commit is contained in:
@@ -72,7 +72,7 @@ private class ApacheCollectionsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;FluentIterable;true;unmodifiable;;;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;FluentIterable;true;unmodifiable;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable);;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable);;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable[]);;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;FluentIterable;true;zip;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value",
|
"org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value",
|
"org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value",
|
||||||
@@ -113,6 +113,7 @@ private class ApacheCollectionsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(Map);;MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(Map);;MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
||||||
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||||
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;Element of MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
"org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;Element of MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
||||||
|
"org.apache.commons.collections4;MultiValuedMap;true;remove;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;OrderedIterator;true;previous;;;Element of Argument[-1];ReturnValue;value",
|
"org.apache.commons.collections4;OrderedIterator;true;previous;;;Element of Argument[-1];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;OrderedMap;true;firstKey;;;MapKey of Argument[-1];ReturnValue;value",
|
"org.apache.commons.collections4;OrderedMap;true;firstKey;;;MapKey of Argument[-1];ReturnValue;value",
|
||||||
@@ -162,7 +163,7 @@ private class ApacheCollectionsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;FluentIterable;true;unmodifiable;;;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections;FluentIterable;true;unmodifiable;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable);;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable);;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable);;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable[]);;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;FluentIterable;true;zip;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value",
|
"org.apache.commons.collections;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value",
|
"org.apache.commons.collections;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value",
|
||||||
@@ -201,6 +202,7 @@ private class ApacheCollectionsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;MultiValuedMap;true;putAll;(Map);;MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
"org.apache.commons.collections;MultiValuedMap;true;putAll;(Map);;MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
||||||
"org.apache.commons.collections;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
"org.apache.commons.collections;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||||
"org.apache.commons.collections;MultiValuedMap;true;putAll;(MultiValuedMap);;Element of MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
"org.apache.commons.collections;MultiValuedMap;true;putAll;(MultiValuedMap);;Element of MapValue of Argument[0];Element of MapValue of Argument[-1];value",
|
||||||
|
"org.apache.commons.collections;MultiValuedMap;true;remove;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;OrderedIterator;true;previous;;;Element of Argument[-1];ReturnValue;value",
|
"org.apache.commons.collections;OrderedIterator;true;previous;;;Element of Argument[-1];ReturnValue;value",
|
||||||
"org.apache.commons.collections;OrderedMap;true;firstKey;;;MapKey of Argument[-1];ReturnValue;value",
|
"org.apache.commons.collections;OrderedMap;true;firstKey;;;MapKey of Argument[-1];ReturnValue;value",
|
||||||
@@ -458,6 +460,7 @@ private class ApacheCollectionUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;CollectionUtils;true;extractSingleton;;;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;extractSingleton;;;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;CollectionUtils;true;find;;;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;find;;;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;CollectionUtils;true;get;(Iterator,int);;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;get;(Iterator,int);;Element of Argument[0];ReturnValue;value",
|
||||||
|
"org.apache.commons.collections4;CollectionUtils;true;get;(Iterable,int);;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapValue of Argument[0];MapValue of ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapValue of Argument[0];MapValue of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;CollectionUtils;true;get;(Object,int);;ArrayElement of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;CollectionUtils;true;get;(Object,int);;ArrayElement of Argument[0];ReturnValue;value",
|
||||||
@@ -495,6 +498,7 @@ private class ApacheCollectionUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;CollectionUtils;true;extractSingleton;;;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;extractSingleton;;;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;CollectionUtils;true;find;;;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;find;;;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;CollectionUtils;true;get;(Iterator,int);;Element of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;get;(Iterator,int);;Element of Argument[0];ReturnValue;value",
|
||||||
|
"org.apache.commons.collections;CollectionUtils;true;get;(Iterable,int);;Element of Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value",
|
||||||
"org.apache.commons.collections;CollectionUtils;true;get;(Map,int);;MapValue of Argument[0];MapValue of ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;get;(Map,int);;MapValue of Argument[0];MapValue of ReturnValue;value",
|
||||||
"org.apache.commons.collections;CollectionUtils;true;get;(Object,int);;ArrayElement of Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;CollectionUtils;true;get;(Object,int);;ArrayElement of Argument[0];ReturnValue;value",
|
||||||
@@ -530,9 +534,10 @@ private class ApacheListUtilsModel extends SummaryModelCsv {
|
|||||||
override predicate row(string row) {
|
override predicate row(string row) {
|
||||||
row =
|
row =
|
||||||
[
|
[
|
||||||
|
"org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;fixedSizeList;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;fixedSizeList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;lazyList;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;lazyList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -556,9 +561,10 @@ private class ApacheListUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;ListUtils;true;union;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;union;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;union;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;union;;;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;ListUtils;true;unmodifiableList;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;ListUtils;true;unmodifiableList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
"org.apache.commons.collections;ListUtils;true;defaultIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;fixedSizeList;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;fixedSizeList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;intersection;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;intersection;;;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;ListUtils;true;lazyList;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;ListUtils;true;lazyList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -602,6 +608,7 @@ private class ApacheIteratorUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;IteratorUtils;true;asMultipleUseIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;asMultipleUseIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;boundedIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;boundedIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Collection);;Element of Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Collection);;Element of Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;collatedIterator;(Comparator,Collection);;Element of Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;collatedIterator;(Comparator,Collection);;Element of Element of Argument[1];Element of ReturnValue;value",
|
||||||
@@ -625,9 +632,12 @@ private class ApacheIteratorUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;IteratorUtils;true;singletonListIterator;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;singletonListIterator;;;Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;skippingIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;skippingIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;toList;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;toListIterator;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;toListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
"org.apache.commons.collections4;IteratorUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[2];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[3];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[4];ReturnValue;taint",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableMapIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IteratorUtils;true;unmodifiableMapIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -646,6 +656,7 @@ private class ApacheIteratorUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;IteratorUtils;true;asMultipleUseIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;asMultipleUseIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;boundedIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;boundedIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Collection);;Element of Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Collection);;Element of Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Iterator[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;collatedIterator;(Comparator,Collection);;Element of Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;collatedIterator;(Comparator,Collection);;Element of Element of Argument[1];Element of ReturnValue;value",
|
||||||
@@ -669,9 +680,12 @@ private class ApacheIteratorUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;IteratorUtils;true;singletonListIterator;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;singletonListIterator;;;Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;skippingIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;skippingIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;toList;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;toListIterator;;;Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;toListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
"org.apache.commons.collections;IteratorUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IteratorUtils;true;toString;;;Argument[2];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IteratorUtils;true;toString;;;Argument[3];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IteratorUtils;true;toString;;;Argument[4];ReturnValue;taint",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;unmodifiableListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;unmodifiableListIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IteratorUtils;true;unmodifiableMapIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IteratorUtils;true;unmodifiableMapIterator;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -720,6 +734,9 @@ private class ApacheIterableUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;IterableUtils;true;skippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IterableUtils;true;skippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IterableUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IterableUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IterableUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
"org.apache.commons.collections4;IterableUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[2];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[3];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[4];ReturnValue;taint",
|
||||||
"org.apache.commons.collections4;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IterableUtils;true;unmodifiableIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IterableUtils;true;unmodifiableIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -751,6 +768,9 @@ private class ApacheIterableUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections;IterableUtils;true;skippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IterableUtils;true;skippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IterableUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IterableUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IterableUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
"org.apache.commons.collections;IterableUtils;true;toString;;;Element of Argument[0];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IterableUtils;true;toString;;;Argument[2];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IterableUtils;true;toString;;;Argument[3];ReturnValue;taint",
|
||||||
|
"org.apache.commons.collections;IterableUtils;true;toString;;;Argument[4];ReturnValue;taint",
|
||||||
"org.apache.commons.collections;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IterableUtils;true;unmodifiableIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IterableUtils;true;unmodifiableIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -852,9 +872,10 @@ private class ApacheSetUtilsModel extends SummaryModelCsv {
|
|||||||
[
|
[
|
||||||
"org.apache.commons.collections4;SetUtils$SetView;true;copyInto;;;Element of Argument[-1];Element of Argument[0];value",
|
"org.apache.commons.collections4;SetUtils$SetView;true;copyInto;;;Element of Argument[-1];Element of Argument[0];value",
|
||||||
"org.apache.commons.collections4;SetUtils$SetView;true;createIterator;;;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils$SetView;true;createIterator;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils$SetView;true;toSet;;;Element of Argument[-1];Element of Argument[0];value",
|
"org.apache.commons.collections4;SetUtils$SetView;true;toSet;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;disjunction;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
"org.apache.commons.collections4;SetUtils;true;disjunction;;;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils;true;hashSet;;;ArrayElement of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;hashSet;;;ArrayElement of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections4;SetUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
@@ -876,9 +897,10 @@ private class ApacheSetUtilsModel extends SummaryModelCsv {
|
|||||||
"org.apache.commons.collections4;SetUtils;true;unmodifiableSortedSet;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections4;SetUtils;true;unmodifiableSortedSet;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils$SetView;true;copyInto;;;Element of Argument[-1];Element of Argument[0];value",
|
"org.apache.commons.collections;SetUtils$SetView;true;copyInto;;;Element of Argument[-1];Element of Argument[0];value",
|
||||||
"org.apache.commons.collections;SetUtils$SetView;true;createIterator;;;Element of Argument[-1];Element of ReturnValue;value",
|
"org.apache.commons.collections;SetUtils$SetView;true;createIterator;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils$SetView;true;toSet;;;Element of Argument[-1];Element of Argument[0];value",
|
"org.apache.commons.collections;SetUtils$SetView;true;toSet;;;Element of Argument[-1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils;true;difference;;;Element of Argument[1];Element of ReturnValue;value",
|
"org.apache.commons.collections;SetUtils;true;disjunction;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
"org.apache.commons.collections;SetUtils;true;disjunction;;;Element of Argument[1];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
"org.apache.commons.collections;SetUtils;true;emptyIfNull;;;Argument[0];ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils;true;hashSet;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;SetUtils;true;hashSet;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
"org.apache.commons.collections;SetUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
"org.apache.commons.collections;SetUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package generatedtest;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -70,6 +71,8 @@ import org.apache.commons.collections4.keyvalue.DefaultKeyValue;
|
|||||||
import org.apache.commons.collections4.keyvalue.DefaultMapEntry;
|
import org.apache.commons.collections4.keyvalue.DefaultMapEntry;
|
||||||
import org.apache.commons.collections4.keyvalue.TiedMapEntry;
|
import org.apache.commons.collections4.keyvalue.TiedMapEntry;
|
||||||
import org.apache.commons.collections4.keyvalue.UnmodifiableMapEntry;
|
import org.apache.commons.collections4.keyvalue.UnmodifiableMapEntry;
|
||||||
|
import org.apache.commons.collections4.map.AbstractIterableMap;
|
||||||
|
import org.apache.commons.collections4.map.AbstractMapDecorator;
|
||||||
import org.apache.commons.collections4.map.HashedMap;
|
import org.apache.commons.collections4.map.HashedMap;
|
||||||
import org.apache.commons.collections4.map.LinkedMap;
|
import org.apache.commons.collections4.map.LinkedMap;
|
||||||
import org.apache.commons.collections4.map.MultiValueMap;
|
import org.apache.commons.collections4.map.MultiValueMap;
|
||||||
@@ -120,7 +123,8 @@ public class Test {
|
|||||||
HashedMap newHashedMapWithMapKey(Object element) { HashedMap m = new HashedMap(); m.put(element,null); return m; }
|
HashedMap newHashedMapWithMapKey(Object element) { HashedMap m = new HashedMap(); m.put(element,null); return m; }
|
||||||
MyAbstractMapEntry newMAMEWithMapKey(Object element) { return new MyAbstractMapEntry(element,null); }
|
MyAbstractMapEntry newMAMEWithMapKey(Object element) { return new MyAbstractMapEntry(element,null); }
|
||||||
MyAbstractMapEntryDecorator newMAMEDWithMapKey(Object element) { return new MyAbstractMapEntryDecorator(newMAMEWithMapKey(element)); }
|
MyAbstractMapEntryDecorator newMAMEDWithMapKey(Object element) { return new MyAbstractMapEntryDecorator(newMAMEWithMapKey(element)); }
|
||||||
MultiValuedMap newMVMWithMapKey(Object element) { MultiValuedMap m = new ArrayListValuedHashMap(); m.put(element,null); return m; }
|
MultiValueMap newMVMWithMapKey(Object element) { MultiValueMap m = new MultiValueMap(); m.put(element,null); return m; }
|
||||||
|
MultiValuedMap newMVdMWithMapKey(Object element) { MultiValuedMap m = new ArrayListValuedHashMap(); m.put(element,null); return m; }
|
||||||
OrderedMapIterator newOMIWithElement(Object element) { LinkedMap m = new LinkedMap(); m.put(element,null); return m.mapIterator(); }
|
OrderedMapIterator newOMIWithElement(Object element) { LinkedMap m = new LinkedMap(); m.put(element,null); return m.mapIterator(); }
|
||||||
ResourceBundle newRBWithMapKey(Object element) { return (ResourceBundle)null; }
|
ResourceBundle newRBWithMapKey(Object element) { return (ResourceBundle)null; }
|
||||||
SortedMap newTreeMapWithMapKey(Object element) { SortedMap m = new TreeMap(); m.put(element,null); return m; }
|
SortedMap newTreeMapWithMapKey(Object element) { SortedMap m = new TreeMap(); m.put(element,null); return m; }
|
||||||
@@ -133,6 +137,7 @@ public class Test {
|
|||||||
HashedMap newHashedMapWithMapValue(Object element) { HashedMap m = new HashedMap(); m.put(null,element); return m; }
|
HashedMap newHashedMapWithMapValue(Object element) { HashedMap m = new HashedMap(); m.put(null,element); return m; }
|
||||||
MyAbstractMapEntry newMAMEWithMapValue(Object element) { return new MyAbstractMapEntry(null,element); }
|
MyAbstractMapEntry newMAMEWithMapValue(Object element) { return new MyAbstractMapEntry(null,element); }
|
||||||
MyAbstractMapEntryDecorator newMAMEDWithMapValue(Object element) { return new MyAbstractMapEntryDecorator(newMAMEWithMapValue(element)); }
|
MyAbstractMapEntryDecorator newMAMEDWithMapValue(Object element) { return new MyAbstractMapEntryDecorator(newMAMEWithMapValue(element)); }
|
||||||
|
MultiValueMap newMVMWithMapValue(Object element) { MultiValueMap m = new MultiValueMap(); m.put(null,element); return m; }
|
||||||
MultiMap newMMWithMapValue(Object element) { MultiMap m = new MultiValueMap(); m.put(null,element); return m; }
|
MultiMap newMMWithMapValue(Object element) { MultiMap m = new MultiValueMap(); m.put(null,element); return m; }
|
||||||
ArrayListValuedHashMap newALVHMWithMapValue(Object element) { ArrayListValuedHashMap m = new ArrayListValuedHashMap(); m.put(null,element); return m; }
|
ArrayListValuedHashMap newALVHMWithMapValue(Object element) { ArrayListValuedHashMap m = new ArrayListValuedHashMap(); m.put(null,element); return m; }
|
||||||
HashSetValuedHashMap newHSVHMWithMapValue(Object element) { HashSetValuedHashMap m = new HashSetValuedHashMap(); m.put(null,element); return m; }
|
HashSetValuedHashMap newHSVHMWithMapValue(Object element) { HashSetValuedHashMap m = new HashSetValuedHashMap(); m.put(null,element); return m; }
|
||||||
@@ -307,7 +312,7 @@ public class Test {
|
|||||||
// "org.apache.commons.collections4.keyvalue;AbstractKeyValue;true;setValue;;;MapValue of Argument[-1];ReturnValue;value"
|
// "org.apache.commons.collections4.keyvalue;AbstractKeyValue;true;setValue;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
Object out = null;
|
Object out = null;
|
||||||
MyAbstractKeyValue in = newMAKVWithMapValue((String)source());
|
MyAbstractKeyValue in = newMAKVWithMapValue((String)source());
|
||||||
out = in.mySetValue(null);
|
out = in.mySetValue((Object)null);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -1355,6 +1360,13 @@ public class Test {
|
|||||||
out = CollectionUtils.get(in, 0);
|
out = CollectionUtils.get(in, 0);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;CollectionUtils;true;get;(Iterable,int);;Element of Argument[0];ReturnValue;value"
|
||||||
|
Object out = null;
|
||||||
|
Iterable in = newVectorWithElement((String)source());
|
||||||
|
out = CollectionUtils.get(in, 0);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value"
|
// "org.apache.commons.collections4;CollectionUtils;true;get;(Map,int);;MapKey of Argument[0];MapKey of ReturnValue;value"
|
||||||
Map.Entry out = null;
|
Map.Entry out = null;
|
||||||
@@ -1608,6 +1620,14 @@ public class Test {
|
|||||||
out = instance.append(in);
|
out = instance.append(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;FluentIterable;true;append;(Object[]);;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
FluentIterable out = null;
|
||||||
|
Object in = source();
|
||||||
|
FluentIterable instance = null;
|
||||||
|
out = instance.append(in);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;FluentIterable;true;append;(Object[]);;Element of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;FluentIterable;true;append;(Object[]);;Element of Argument[-1];Element of ReturnValue;value"
|
||||||
FluentIterable out = null;
|
FluentIterable out = null;
|
||||||
@@ -1729,6 +1749,13 @@ public class Test {
|
|||||||
out = in.skip(0L);
|
out = in.skip(0L);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;FluentIterable;true;toArray;;;Element of Argument[-1];ArrayElement of ReturnValue;value"
|
||||||
|
Object[] out = null;
|
||||||
|
FluentIterable in = newFluentIterableWithElement((String)source());
|
||||||
|
out = in.toArray(null);
|
||||||
|
sink(getArrayElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;FluentIterable;true;toList;;;Element of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;FluentIterable;true;toList;;;Element of Argument[-1];Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
@@ -1772,6 +1799,28 @@ public class Test {
|
|||||||
out = instance.zip(in);
|
out = instance.zip(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;FluentIterable;true;zip;(Iterable[]);;Element of Argument[-1];Element of ReturnValue;value"
|
||||||
|
FluentIterable out = null;
|
||||||
|
FluentIterable in = newFluentIterableWithElement((String)source());
|
||||||
|
out = in.zip((Iterable)null, (Iterable)null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;FluentIterable;true;zip;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
FluentIterable out = null;
|
||||||
|
Iterable in = newVectorWithElement((String)source());
|
||||||
|
FluentIterable instance = null;
|
||||||
|
out = instance.zip(in, (Iterable)null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value"
|
||||||
|
Set<Map.Entry> out = null;
|
||||||
|
MultiValueMap in = newMVMWithMapKey((String)source());
|
||||||
|
out = in.entrySet();
|
||||||
|
sink(getMapKeyFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value"
|
||||||
Set<Map.Entry> out = null;
|
Set<Map.Entry> out = null;
|
||||||
@@ -1779,6 +1828,20 @@ public class Test {
|
|||||||
out = in.entrySet();
|
out = in.entrySet();
|
||||||
sink(getMapKeyFromEntry(getElement(out))); // $ hasValueFlow
|
sink(getMapKeyFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapKey of Argument[-1];MapKey of Element of ReturnValue;value"
|
||||||
|
Set<Map.Entry> out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapKey((String)source());
|
||||||
|
out = in.entrySet();
|
||||||
|
sink(getMapKeyFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value"
|
||||||
|
Set<Map.Entry> out = null;
|
||||||
|
MultiValueMap in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.entrySet();
|
||||||
|
sink(getMapValueFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value"
|
||||||
Set<Map.Entry> out = null;
|
Set<Map.Entry> out = null;
|
||||||
@@ -1786,6 +1849,13 @@ public class Test {
|
|||||||
out = in.entrySet();
|
out = in.entrySet();
|
||||||
sink(getMapValueFromEntry(getElement(out))); // $ hasValueFlow
|
sink(getMapValueFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;entrySet;;;MapValue of Argument[-1];MapValue of Element of ReturnValue;value"
|
||||||
|
Set<Map.Entry> out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.entrySet();
|
||||||
|
sink(getMapValueFromEntry(getElement(out))); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;get;;;MapValue of Argument[-1];ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;get;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
Object out = null;
|
Object out = null;
|
||||||
@@ -1800,6 +1870,13 @@ public class Test {
|
|||||||
out = in.get(null);
|
out = in.get(null);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;get;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
|
Object out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.get(null);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;keySet;();;MapKey of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;keySet;();;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
Set out = null;
|
Set out = null;
|
||||||
@@ -1807,6 +1884,13 @@ public class Test {
|
|||||||
out = in.keySet();
|
out = in.keySet();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;keySet;();;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Set out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapKey((String)source());
|
||||||
|
out = in.keySet();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;remove;(Object);;MapValue of Argument[-1];ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;remove;(Object);;MapValue of Argument[-1];ReturnValue;value"
|
||||||
Object out = null;
|
Object out = null;
|
||||||
@@ -1821,6 +1905,13 @@ public class Test {
|
|||||||
out = in.remove(null);
|
out = in.remove(null);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;remove;(Object);;MapValue of Argument[-1];ReturnValue;value"
|
||||||
|
Object out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.remove(null);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
Set out = null;
|
Set out = null;
|
||||||
@@ -1828,6 +1919,13 @@ public class Test {
|
|||||||
out = in.values();
|
out = in.values();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Collection out = null;
|
||||||
|
MultiValueMap in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.values();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
Collection out = null;
|
Collection out = null;
|
||||||
@@ -1842,6 +1940,20 @@ public class Test {
|
|||||||
out = in.values();
|
out = in.values();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Get;true;values;();;MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Collection out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.values();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
|
OrderedMapIterator out = null;
|
||||||
|
OrderedMap in = newTreeBidiMapWithMapKey((String)source());
|
||||||
|
out = in.mapIterator();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
MapIterator out = null;
|
MapIterator out = null;
|
||||||
@@ -1849,6 +1961,20 @@ public class Test {
|
|||||||
out = in.mapIterator();
|
out = in.mapIterator();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
|
MapIterator out = null;
|
||||||
|
AbstractIterableMap in = newMVMWithMapKey((String)source());
|
||||||
|
out = in.mapIterator();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapValue of Argument[-1];MapValue of ReturnValue;value"
|
||||||
|
OrderedMapIterator out = null;
|
||||||
|
OrderedMap in = newTreeBidiMapWithMapValue((String)source());
|
||||||
|
out = in.mapIterator();
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapValue of Argument[-1];MapValue of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapValue of Argument[-1];MapValue of ReturnValue;value"
|
||||||
MapIterator out = null;
|
MapIterator out = null;
|
||||||
@@ -1856,6 +1982,13 @@ public class Test {
|
|||||||
out = in.mapIterator();
|
out = in.mapIterator();
|
||||||
sink(getMapValue(out)); // $ hasValueFlow
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableGet;true;mapIterator;;;MapValue of Argument[-1];MapValue of ReturnValue;value"
|
||||||
|
MapIterator out = null;
|
||||||
|
AbstractIterableMap in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.mapIterator();
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableUtils;true;boundedIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;boundedIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterable out = null;
|
Iterable out = null;
|
||||||
@@ -1867,7 +2000,7 @@ public class Test {
|
|||||||
// "org.apache.commons.collections4;IterableUtils;true;chainedIterable;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;chainedIterable;(Iterable[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
Iterable out = null;
|
Iterable out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.chainedIterable(in);
|
out = IterableUtils.chainedIterable(in, (Iterable)null);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -2007,21 +2140,21 @@ public class Test {
|
|||||||
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.partition(in, null, (Predicate<? super Object>[])null);
|
out = IterableUtils.partition(in, (Factory)null, (Predicate)null, (Predicate)null);
|
||||||
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.partition(in, (Predicate<? super Object>[])null);
|
out = IterableUtils.partition(in, (Predicate)null, (Predicate)null);
|
||||||
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;partition;;;Element of Argument[0];Element of Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.partition(in, (Predicate)null);
|
out = IterableUtils.partition(in, (Predicate)null, (Predicate)null);
|
||||||
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
sink(getElement((Iterable)getElement(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -2066,6 +2199,27 @@ public class Test {
|
|||||||
out = IterableUtils.toString(in);
|
out = IterableUtils.toString(in);
|
||||||
sink(out); // $ hasTaintFlow
|
sink(out); // $ hasTaintFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[2];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IterableUtils.toString(null, null, in, null, null);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[3];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IterableUtils.toString(null, null, null, in, null);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IterableUtils;true;toString;;;Argument[4];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IterableUtils.toString(null, null, null, null, in);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;uniqueIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterable out = null;
|
Iterable out = null;
|
||||||
@@ -2098,14 +2252,35 @@ public class Test {
|
|||||||
// "org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterable out = null;
|
Iterable out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.zippingIterable(in, (Iterable)null);
|
out = IterableUtils.zippingIterable(in, (Iterable)null, (Iterable)null);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IterableUtils;true;zippingIterable;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterable out = null;
|
Iterable out = null;
|
||||||
Iterable in = newVectorWithElement((String)source());
|
Iterable in = newVectorWithElement((String)source());
|
||||||
out = IterableUtils.zippingIterable(in);
|
out = IterableUtils.zippingIterable(in, (Iterable)null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableIterator out = null;
|
||||||
|
Object[] in = newWithArrayElement((String)source());
|
||||||
|
out = IteratorUtils.arrayIterator(in, 0, 0);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableIterator out = null;
|
||||||
|
Object[] in = newWithArrayElement((String)source());
|
||||||
|
out = IteratorUtils.arrayIterator(in, 0);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableIterator out = null;
|
||||||
|
Object in = source();
|
||||||
|
out = IteratorUtils.arrayIterator(in, (Object)null);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -2129,6 +2304,27 @@ public class Test {
|
|||||||
out = IteratorUtils.arrayIterator(in);
|
out = IteratorUtils.arrayIterator(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayListIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableListIterator out = null;
|
||||||
|
Object[] in = newWithArrayElement((String)source());
|
||||||
|
out = IteratorUtils.arrayListIterator(in, 0, 0);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayListIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableListIterator out = null;
|
||||||
|
Object[] in = newWithArrayElement((String)source());
|
||||||
|
out = IteratorUtils.arrayListIterator(in, 0);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayListIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
ResettableListIterator out = null;
|
||||||
|
Object in = source();
|
||||||
|
out = IteratorUtils.arrayListIterator(in, (Object)null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;arrayListIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;arrayListIterator;;;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
ResettableListIterator out = null;
|
ResettableListIterator out = null;
|
||||||
@@ -2206,6 +2402,13 @@ public class Test {
|
|||||||
out = IteratorUtils.chainedIterator(in);
|
out = IteratorUtils.chainedIterator(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator[]);;Element of ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
Iterator out = null;
|
||||||
|
Iterator in = newListIteratorWithElement((String)source());
|
||||||
|
out = IteratorUtils.chainedIterator(in, (Iterator)null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;chainedIterator;(Iterator,Iterator);;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterator out = null;
|
Iterator out = null;
|
||||||
@@ -2360,6 +2563,13 @@ public class Test {
|
|||||||
out = IteratorUtils.skippingIterator(in, 0L);
|
out = IteratorUtils.skippingIterator(in, 0L);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value"
|
||||||
|
Object[] out = null;
|
||||||
|
Iterator in = newListIteratorWithElement((String)source());
|
||||||
|
out = IteratorUtils.toArray(in, null);
|
||||||
|
sink(getArrayElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;toArray;;;Element of Argument[0];ArrayElement of ReturnValue;value"
|
||||||
Object[] out = null;
|
Object[] out = null;
|
||||||
@@ -2368,23 +2578,23 @@ public class Test {
|
|||||||
sink(getArrayElement(out)); // $ hasValueFlow
|
sink(getArrayElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;toList;;;Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
Iterator in = (Iterator)source();
|
Iterator in = newListIteratorWithElement((String)source());
|
||||||
out = IteratorUtils.toList(in, 0);
|
out = IteratorUtils.toList(in, 0);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;toList;;;Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;toList;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
Iterator in = (Iterator)source();
|
Iterator in = newListIteratorWithElement((String)source());
|
||||||
out = IteratorUtils.toList(in);
|
out = IteratorUtils.toList(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;toListIterator;;;Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;toListIterator;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
ListIterator out = null;
|
ListIterator out = null;
|
||||||
Iterator in = (Iterator)source();
|
Iterator in = newListIteratorWithElement((String)source());
|
||||||
out = IteratorUtils.toListIterator(in);
|
out = IteratorUtils.toListIterator(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2409,6 +2619,27 @@ public class Test {
|
|||||||
out = IteratorUtils.toString(in);
|
out = IteratorUtils.toString(in);
|
||||||
sink(out); // $ hasTaintFlow
|
sink(out); // $ hasTaintFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[2];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IteratorUtils.toString(null, null, in, null, null);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[3];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IteratorUtils.toString(null, null, null, in, null);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;IteratorUtils;true;toString;;;Argument[4];ReturnValue;taint"
|
||||||
|
String out = null;
|
||||||
|
String in = (String)source();
|
||||||
|
out = IteratorUtils.toString(null, null, null, null, in);
|
||||||
|
sink(out); // $ hasTaintFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;unmodifiableIterator;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Iterator out = null;
|
Iterator out = null;
|
||||||
@@ -2428,7 +2659,7 @@ public class Test {
|
|||||||
MapIterator out = null;
|
MapIterator out = null;
|
||||||
MapIterator in = newOMIWithElement((String)source());
|
MapIterator in = newOMIWithElement((String)source());
|
||||||
out = IteratorUtils.unmodifiableMapIterator(in);
|
out = IteratorUtils.unmodifiableMapIterator(in);
|
||||||
sink(getElement((Iterator)out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;IteratorUtils;true;unmodifiableMapIterator;;;MapValue of Argument[0];MapValue of ReturnValue;value"
|
// "org.apache.commons.collections4;IteratorUtils;true;unmodifiableMapIterator;;;MapValue of Argument[0];MapValue of ReturnValue;value"
|
||||||
@@ -2479,6 +2710,13 @@ public class Test {
|
|||||||
out = IteratorUtils.zippingIterator(null, null, in);
|
out = IteratorUtils.zippingIterator(null, null, in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[0];ReturnValue;value"
|
||||||
|
List out = null;
|
||||||
|
List in = (List)source();
|
||||||
|
out = ListUtils.defaultIfNull(in, null);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value"
|
// "org.apache.commons.collections4;ListUtils;true;defaultIfNull;;;Argument[1];ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
@@ -2493,6 +2731,13 @@ public class Test {
|
|||||||
out = ListUtils.emptyIfNull(in);
|
out = ListUtils.emptyIfNull(in);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;ListUtils;true;fixedSizeList;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
|
List out = null;
|
||||||
|
List in = (List)newVectorWithElement((String)source());
|
||||||
|
out = ListUtils.fixedSizeList(in);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;ListUtils;true;intersection;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
List out = null;
|
List out = null;
|
||||||
@@ -2696,6 +2941,13 @@ public class Test {
|
|||||||
out = (Collection)in.get(null);
|
out = (Collection)in.get(null);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(in, null);
|
||||||
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
||||||
MultiMap out = null;
|
MultiMap out = null;
|
||||||
@@ -2703,6 +2955,13 @@ public class Test {
|
|||||||
out.put(in, null);
|
out.put(in, null);
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[1];Element of MapValue of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(null, in);
|
||||||
|
sink(getElement((Collection)getMapValue(out))); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[1];Element of MapValue of Argument[-1];value"
|
// "org.apache.commons.collections4;MultiMap;true;put;;;Argument[1];Element of MapValue of Argument[-1];value"
|
||||||
MultiMap out = null;
|
MultiMap out = null;
|
||||||
@@ -2710,6 +2969,13 @@ public class Test {
|
|||||||
out.put(null, in);
|
out.put(null, in);
|
||||||
sink(getElement((Collection)getMapValue(out))); // $ hasValueFlow
|
sink(getElement((Collection)getMapValue(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Collection out = null;
|
||||||
|
MultiValueMap in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.values();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
Collection out = null;
|
Collection out = null;
|
||||||
@@ -2755,7 +3021,7 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiMapUtils;true;transformedMultiValuedMap;;;MapKey of Argument[0];MapKey of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiMapUtils;true;transformedMultiValuedMap;;;MapKey of Argument[0];MapKey of ReturnValue;value"
|
||||||
MultiValuedMap out = null;
|
MultiValuedMap out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = MultiMapUtils.transformedMultiValuedMap(in, null, null);
|
out = MultiMapUtils.transformedMultiValuedMap(in, null, null);
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2769,7 +3035,7 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiMapUtils;true;unmodifiableMultiValuedMap;;;MapKey of Argument[0];MapKey of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiMapUtils;true;unmodifiableMultiValuedMap;;;MapKey of Argument[0];MapKey of ReturnValue;value"
|
||||||
MultiValuedMap out = null;
|
MultiValuedMap out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = MultiMapUtils.unmodifiableMultiValuedMap(in);
|
out = MultiMapUtils.unmodifiableMultiValuedMap(in);
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2846,7 +3112,7 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;asMap;;;MapKey of Argument[-1];MapKey of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;asMap;;;MapKey of Argument[-1];MapKey of ReturnValue;value"
|
||||||
Map out = null;
|
Map out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = in.asMap();
|
out = in.asMap();
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2874,14 +3140,14 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;keySet;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;keySet;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
Set out = null;
|
Set out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = in.keySet();
|
out = in.keySet();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;keys;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;keys;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
MultiSet out = null;
|
MultiSet out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = in.keys();
|
out = in.keys();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2895,7 +3161,7 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;mapIterator;;;MapKey of Argument[-1];Element of ReturnValue;value"
|
||||||
MapIterator out = null;
|
MapIterator out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out = in.mapIterator();
|
out = in.mapIterator();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2937,7 +3203,7 @@ public class Test {
|
|||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;putAll;(MultiValuedMap);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
||||||
MultiValuedMap out = null;
|
MultiValuedMap out = null;
|
||||||
MultiValuedMap in = newMVMWithMapKey((String)source());
|
MultiValuedMap in = newMVdMWithMapKey((String)source());
|
||||||
out.putAll(in);
|
out.putAll(in);
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
@@ -2955,6 +3221,27 @@ public class Test {
|
|||||||
out.putAll(null, in);
|
out.putAll(null, in);
|
||||||
sink(getElement(getMapValue(out))); // $ hasValueFlow
|
sink(getElement(getMapValue(out))); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiValuedMap;true;remove;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Set out = null;
|
||||||
|
SetValuedMap in = newHSVHMWithMapValue((String)source());
|
||||||
|
out = in.remove(null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiValuedMap;true;remove;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
List out = null;
|
||||||
|
ListValuedMap in = newALVHMWithMapValue((String)source());
|
||||||
|
out = in.remove(null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;MultiValuedMap;true;remove;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Collection out = null;
|
||||||
|
MultiValuedMap in = newALVHMWithMapValue((String)source());
|
||||||
|
out = in.remove(null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;MultiValuedMap;true;values;;;Element of MapValue of Argument[-1];Element of ReturnValue;value"
|
||||||
Collection out = null;
|
Collection out = null;
|
||||||
@@ -3011,6 +3298,13 @@ public class Test {
|
|||||||
out.put(in, null);
|
out.put(in, null);
|
||||||
sink(getMapKeyFromPut(out)); // $ hasValueFlow
|
sink(getMapKeyFromPut(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(in, null);
|
||||||
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
||||||
MultiMap out = null;
|
MultiMap out = null;
|
||||||
@@ -3025,6 +3319,13 @@ public class Test {
|
|||||||
out.put(in, null);
|
out.put(in, null);
|
||||||
sink(getMapKey(out)); // $ hasValueFlow
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[0];MapKey of Argument[-1];value"
|
||||||
|
AbstractMapDecorator out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(in, null);
|
||||||
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
||||||
Put out = null;
|
Put out = null;
|
||||||
@@ -3032,6 +3333,13 @@ public class Test {
|
|||||||
out.put(null, in);
|
out.put(null, in);
|
||||||
sink(getMapValueFromPut(out)); // $ hasValueFlow
|
sink(getMapValueFromPut(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(null, in);
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
||||||
MultiMap out = null;
|
MultiMap out = null;
|
||||||
@@ -3046,6 +3354,13 @@ public class Test {
|
|||||||
out.put(null, in);
|
out.put(null, in);
|
||||||
sink(getMapValue(out)); // $ hasValueFlow
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;Argument[1];MapValue of Argument[-1];value"
|
||||||
|
AbstractMapDecorator out = null;
|
||||||
|
Object in = source();
|
||||||
|
out.put(null, in);
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
Object out = null;
|
Object out = null;
|
||||||
@@ -3053,6 +3368,13 @@ public class Test {
|
|||||||
out = in.put(null, null);
|
out = in.put(null, null);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
|
Object out = null;
|
||||||
|
MultiValueMap in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.put(null, null);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
Object out = null;
|
Object out = null;
|
||||||
@@ -3067,6 +3389,13 @@ public class Test {
|
|||||||
out = in.put(null, null);
|
out = in.put(null, null);
|
||||||
sink(out); // $ hasValueFlow
|
sink(out); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;put;;;MapValue of Argument[-1];ReturnValue;value"
|
||||||
|
Object out = null;
|
||||||
|
AbstractMapDecorator in = newMVMWithMapValue((String)source());
|
||||||
|
out = in.put(null, null);
|
||||||
|
sink(out); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
||||||
Put out = null;
|
Put out = null;
|
||||||
@@ -3074,6 +3403,20 @@ public class Test {
|
|||||||
out.putAll(in);
|
out.putAll(in);
|
||||||
sink(getMapKeyFromPut(out)); // $ hasValueFlow
|
sink(getMapKeyFromPut(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Map in = newTreeMapWithMapKey((String)source());
|
||||||
|
out.putAll(in);
|
||||||
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapKey of Argument[0];MapKey of Argument[-1];value"
|
||||||
|
AbstractMapDecorator out = null;
|
||||||
|
Map in = newTreeMapWithMapKey((String)source());
|
||||||
|
out.putAll(in);
|
||||||
|
sink(getMapKey(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapValue of Argument[0];MapValue of Argument[-1];value"
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapValue of Argument[0];MapValue of Argument[-1];value"
|
||||||
Put out = null;
|
Put out = null;
|
||||||
@@ -3081,6 +3424,20 @@ public class Test {
|
|||||||
out.putAll(in);
|
out.putAll(in);
|
||||||
sink(getMapValueFromPut(out)); // $ hasValueFlow
|
sink(getMapValueFromPut(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapValue of Argument[0];MapValue of Argument[-1];value"
|
||||||
|
MultiValueMap out = null;
|
||||||
|
Map in = newTreeMapWithMapValue((String)source());
|
||||||
|
out.putAll(in);
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;Put;true;putAll;(Map);;MapValue of Argument[0];MapValue of Argument[-1];value"
|
||||||
|
AbstractMapDecorator out = null;
|
||||||
|
Map in = newTreeMapWithMapValue((String)source());
|
||||||
|
out.putAll(in);
|
||||||
|
sink(getMapValue(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;QueueUtils;true;predicatedQueue;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;QueueUtils;true;predicatedQueue;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Queue out = null;
|
Queue out = null;
|
||||||
@@ -3123,6 +3480,13 @@ public class Test {
|
|||||||
out = in.myCreateIterator();
|
out = in.myCreateIterator();
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;SetUtils$SetView;true;toSet;;;Element of Argument[-1];Element of ReturnValue;value"
|
||||||
|
Set out = null;
|
||||||
|
MySetView in = newSetViewWithElement((String)source());
|
||||||
|
out = in.toSet();
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
SetUtils.SetView out = null;
|
SetUtils.SetView out = null;
|
||||||
@@ -3131,10 +3495,17 @@ public class Test {
|
|||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;SetUtils;true;difference;;;Element of Argument[1];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;SetUtils;true;disjunction;;;Element of Argument[0];Element of ReturnValue;value"
|
||||||
SetUtils.SetView out = null;
|
SetUtils.SetView out = null;
|
||||||
Set in = newTreeSetWithElement((String)source());
|
Set in = newTreeSetWithElement((String)source());
|
||||||
out = SetUtils.difference(null, in);
|
out = SetUtils.disjunction(in, null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;SetUtils;true;disjunction;;;Element of Argument[1];Element of ReturnValue;value"
|
||||||
|
SetUtils.SetView out = null;
|
||||||
|
Set in = newTreeSetWithElement((String)source());
|
||||||
|
out = SetUtils.disjunction(null, in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -3249,6 +3620,13 @@ public class Test {
|
|||||||
out = SetUtils.unmodifiableNavigableSet(in);
|
out = SetUtils.unmodifiableNavigableSet(in);
|
||||||
sink(getElement(out)); // $ hasValueFlow
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
// "org.apache.commons.collections4;SetUtils;true;unmodifiableSet;(Object[]);;ArrayElement of Argument[0];Element of ReturnValue;value"
|
||||||
|
Set out = null;
|
||||||
|
Object in = source();
|
||||||
|
out = SetUtils.unmodifiableSet(in, null);
|
||||||
|
sink(getElement(out)); // $ hasValueFlow
|
||||||
|
}
|
||||||
{
|
{
|
||||||
// "org.apache.commons.collections4;SetUtils;true;unmodifiableSet;(Set);;Element of Argument[0];Element of ReturnValue;value"
|
// "org.apache.commons.collections4;SetUtils;true;unmodifiableSet;(Set);;Element of Argument[0];Element of ReturnValue;value"
|
||||||
Set out = null;
|
Set out = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user