@@ -1446,66 +1446,80 @@ public void test() {
1446
1446
sink (getElement (out )); // $ hasValueFlow
1447
1447
}
1448
1448
{
1449
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of Argument[2] ;value"
1449
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate) ;;Element of Argument[0];Element of ReturnValue ;value"
1450
1450
Collection out = null ;
1451
1451
Iterable in = newVectorWithElement ((String )source ());
1452
- CollectionUtils .select (in , null , out , null );
1452
+ out = CollectionUtils .select (in , null );
1453
1453
sink (getElement (out )); // $ hasValueFlow
1454
1454
}
1455
1455
{
1456
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of Argument[2];value"
1456
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate,Collection);;Argument[2];ReturnValue;value"
1457
+ Collection out = null ;
1458
+ Collection in = (Collection )source ();
1459
+ out = CollectionUtils .select (null , null , in );
1460
+ sink (out ); // $ hasValueFlow
1461
+ }
1462
+ {
1463
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate,Collection);;Element of Argument[0];Element of Argument[2];value"
1457
1464
Collection out = null ;
1458
1465
Iterable in = newVectorWithElement ((String )source ());
1459
1466
CollectionUtils .select (in , null , out );
1460
1467
sink (getElement (out )); // $ hasValueFlow
1461
1468
}
1462
1469
{
1463
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of Argument[3];value"
1470
+ Collection mid = null ;
1464
1471
Collection out = null ;
1465
1472
Iterable in = newVectorWithElement ((String )source ());
1466
- CollectionUtils .select (in , null , null , out );
1473
+ out = CollectionUtils .select (in , null , mid );
1467
1474
sink (getElement (out )); // $ hasValueFlow
1468
1475
}
1469
1476
{
1470
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of ReturnValue;value"
1477
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate,Collection,Collection);; Argument[2]; ReturnValue;value"
1471
1478
Collection out = null ;
1472
- Iterable in = newVectorWithElement (( String )source () );
1473
- out = CollectionUtils .select (in , null , null , null );
1474
- sink (getElement ( out ) ); // $ hasValueFlow
1479
+ Collection in = ( Collection )source ();
1480
+ out = CollectionUtils .select (null , null , in , null );
1481
+ sink (out ); // $ hasValueFlow
1475
1482
}
1476
1483
{
1477
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of ReturnValue ;value"
1484
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate,Collection,Collection) ;;Element of Argument[0];Element of Argument[2] ;value"
1478
1485
Collection out = null ;
1479
1486
Iterable in = newVectorWithElement ((String )source ());
1480
- out = CollectionUtils .select (in , null , null );
1487
+ CollectionUtils .select (in , null , out , null );
1481
1488
sink (getElement (out )); // $ hasValueFlow
1482
1489
}
1483
1490
{
1484
- // "org.apache.commons.collections4;CollectionUtils;true;select;;;Element of Argument[0];Element of ReturnValue;value"
1491
+ Collection mid = null ;
1485
1492
Collection out = null ;
1486
1493
Iterable in = newVectorWithElement ((String )source ());
1487
- out = CollectionUtils .select (in , null );
1494
+ out = CollectionUtils .select (in , null , mid , null );
1488
1495
sink (getElement (out )); // $ hasValueFlow
1489
1496
}
1490
1497
{
1491
- // "org.apache.commons.collections4;CollectionUtils;true;selectRejected; ;;Element of Argument[0];Element of Argument[2 ];value"
1498
+ // "org.apache.commons.collections4;CollectionUtils;true;select;(Iterable,Predicate,Collection,Collection) ;;Element of Argument[0];Element of Argument[3 ];value"
1492
1499
Collection out = null ;
1493
1500
Iterable in = newVectorWithElement ((String )source ());
1494
- CollectionUtils .selectRejected (in , null , out );
1501
+ CollectionUtils .select (in , null , null , out );
1495
1502
sink (getElement (out )); // $ hasValueFlow
1496
1503
}
1497
1504
{
1498
- // "org.apache.commons.collections4;CollectionUtils;true;selectRejected;;;Element of Argument[0];Element of ReturnValue;value"
1505
+ // "org.apache.commons.collections4;CollectionUtils;true;selectRejected;(Iterable,Predicate) ;;Element of Argument[0];Element of ReturnValue;value"
1499
1506
Collection out = null ;
1500
1507
Iterable in = newVectorWithElement ((String )source ());
1501
- out = CollectionUtils .selectRejected (in , null , null );
1508
+ out = CollectionUtils .selectRejected (in , null );
1502
1509
sink (getElement (out )); // $ hasValueFlow
1503
1510
}
1504
1511
{
1505
- // "org.apache.commons.collections4;CollectionUtils;true;selectRejected;;;Element of Argument[0];Element of ReturnValue;value"
1512
+ // "org.apache.commons.collections4;CollectionUtils;true;selectRejected;(Iterable,Predicate,Collection);;Argument[2];ReturnValue;value"
1513
+ Collection out = null ;
1514
+ Collection in = (Collection )source ();
1515
+ out = CollectionUtils .selectRejected (null , null , in );
1516
+ sink (out ); // $ hasValueFlow
1517
+ }
1518
+ {
1519
+ // "org.apache.commons.collections4;CollectionUtils;true;selectRejected;(Iterable,Predicate,Collection);;Element of Argument[0];Element of Argument[2];value"
1506
1520
Collection out = null ;
1507
1521
Iterable in = newVectorWithElement ((String )source ());
1508
- out = CollectionUtils .selectRejected (in , null );
1522
+ CollectionUtils .selectRejected (in , null , out );
1509
1523
sink (getElement (out )); // $ hasValueFlow
1510
1524
}
1511
1525
{
@@ -2088,6 +2102,13 @@ public void test() {
2088
2102
out = IterableUtils .first (in );
2089
2103
sink (out ); // $ hasValueFlow
2090
2104
}
2105
+ {
2106
+ // "org.apache.commons.collections4;IterableUtils;true;forEachButLast;;;Element of Argument[0];ReturnValue;value"
2107
+ Object out = null ;
2108
+ Iterable in = newVectorWithElement ((String )source ());
2109
+ out = IterableUtils .forEachButLast (in , null );
2110
+ sink (out ); // $ hasValueFlow
2111
+ }
2091
2112
{
2092
2113
// "org.apache.commons.collections4;IterableUtils;true;get;;;Element of Argument[0];ReturnValue;value"
2093
2114
Object out = null ;
@@ -2424,6 +2445,13 @@ public void test() {
2424
2445
out = IteratorUtils .first (in );
2425
2446
sink (out ); // $ hasValueFlow
2426
2447
}
2448
+ {
2449
+ // "org.apache.commons.collections4;IteratorUtils;true;forEachButLast;;;Element of Argument[0];ReturnValue;value"
2450
+ Object out = null ;
2451
+ Iterator in = newListIteratorWithElement ((String )source ());
2452
+ out = IteratorUtils .forEachButLast (in , null );
2453
+ sink (out ); // $ hasValueFlow
2454
+ }
2427
2455
{
2428
2456
// "org.apache.commons.collections4;IteratorUtils;true;get;;;Element of Argument[0];ReturnValue;value"
2429
2457
Object out = null ;
@@ -2936,21 +2964,21 @@ public void test() {
2936
2964
sink (getElement (out )); // $ hasValueFlow
2937
2965
}
2938
2966
{
2939
- // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsBag;;;MapValue of Argument[0];ReturnValue;value"
2967
+ // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsBag;;;Element of MapValue of Argument[0];Element of ReturnValue;value"
2940
2968
Bag out = null ;
2941
2969
MultiValuedMap in = newALVHMWithMapValue ((String )source ());
2942
2970
out = MultiMapUtils .getValuesAsBag (in , null );
2943
2971
sink (getElement (out )); // $ hasValueFlow
2944
2972
}
2945
2973
{
2946
- // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsList;;;MapValue of Argument[0];ReturnValue;value"
2974
+ // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsList;;;Element of MapValue of Argument[0];Element of ReturnValue;value"
2947
2975
List out = null ;
2948
2976
MultiValuedMap in = newALVHMWithMapValue ((String )source ());
2949
2977
out = MultiMapUtils .getValuesAsList (in , null );
2950
2978
sink (getElement (out )); // $ hasValueFlow
2951
2979
}
2952
2980
{
2953
- // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsSet;;;MapValue of Argument[0];ReturnValue;value"
2981
+ // "org.apache.commons.collections4;MultiMapUtils;true;getValuesAsSet;;;Element of MapValue of Argument[0];Element of ReturnValue;value"
2954
2982
Set out = null ;
2955
2983
MultiValuedMap in = newALVHMWithMapValue ((String )source ());
2956
2984
out = MultiMapUtils .getValuesAsSet (in , null );
0 commit comments