@@ -261,6 +261,7 @@ Predicate _1 |-->Function(_1,boolean)
261
261
Function _1 |-->Function_1
262
262
Comparator _1 |-->Function(_1,(_1,boolean))
263
263
AtomicReference _1 |-->_1
264
+ Consumer _1 |-->Function(_1, void)
264
265
265
266
Collection _1 |-->Sequence_1`collectionParameters
266
267
Iterable _1 |-->Sequence_1`collectionParameters
@@ -1411,12 +1412,15 @@ _1 > > _2 |-->(_1`queryForm/(2->pow(_2`queryForm)))->oclAsType(long)
1411
1412
1412
1413
_1 && _2 |-->_1`queryForm & _2`queryForm
1413
1414
_1 || _2 |-->_1`queryForm or _2`queryForm
1415
+
1414
1416
_1 & _2 |-->MathLib.bitwiseAnd(_1`queryForm,_2`queryForm)<when> _1 int
1415
1417
_1 & _2 |-->MathLib.bitwiseAnd(_1`queryForm,_2`queryForm)<when> _1 long
1416
1418
_1 & _2 |-->_1`queryForm & _2`queryForm
1419
+
1417
1420
_1 | _2 |-->MathLib.bitwiseOr(_1`queryForm,_2`queryForm)<when> _1 int
1418
1421
_1 | _2 |-->MathLib.bitwiseOr(_1`queryForm,_2`queryForm)<when> _1 long
1419
1422
_1 | _2 |-->_1`queryForm or _2`queryForm
1423
+
1420
1424
_1 ^ _2 |-->MathLib.bitwiseXor(_1`queryForm,_2`queryForm)<when> _1 int
1421
1425
_1 ^ _2 |-->MathLib.bitwiseXor(_1`queryForm,_2`queryForm)<when> _1 long
1422
1426
_1 ^ _2 |-->_1`queryForm xor _2`queryForm
@@ -1613,6 +1617,8 @@ java.lang.reflect.Array . _1 |-->_1`arrayMethodCall
1613
1617
1614
1618
Collections . _1 |-->_1`collectionMethodCallQueryForm
1615
1619
1620
+ _1 . _2 |-->(if _1`queryForm->keys()->contains(_2`keyvalue) then _1`queryForm_2`mapMethodCallQueryForm else _2`testdefault endif)<when> _1 Map, _2`methodName getOrDefault
1621
+
1616
1622
_1 . _2 |-->_1`queryForm_2`mapMethodCallQueryForm<when> _1 Map
1617
1623
_1 . _2 |-->_1`queryForm_2`fileMethodCallQueryForm<when> _1 File
1618
1624
_1 . _2 |-->_1`queryForm_2`dateMethodCallQueryForm<when> _1 Date
@@ -1633,6 +1639,22 @@ _1 |-->_1`queryForm<when> _1 expression
1633
1639
1634
1640
_0 |-->_0
1635
1641
1642
+ methodName::
1643
+ _1 ( ) |-->_1
1644
+ _1 ( _2 ) |-->_1
1645
+
1646
+ _* |-->
1647
+
1648
+
1649
+ keyvalue::
1650
+ getOrDefault ( _1 ) |-->_1`first
1651
+ putIfAbsent ( _1 ) |-->_1`first
1652
+ _* |-->
1653
+
1654
+ testdefault::
1655
+ getOrDefault ( _1 ) |-->_1`last
1656
+ _* |-->
1657
+
1636
1658
1637
1659
enumsetMethodCall::
1638
1660
allOf ( _1 ) |-->_1.allInstances()
@@ -1661,6 +1683,10 @@ byteValue ( ) |-->->oclAsType(int)
1661
1683
longValue ( ) |-->->oclAsType(long)
1662
1684
charValue ( ) |-->+""
1663
1685
1686
+ test ( _1 ) |-->->apply(_1)
1687
+ accept ( _1 ) |-->->apply(_1)
1688
+ apply ( _1 ) |-->->apply(_1)
1689
+
1664
1690
toString ( ) |-->+""
1665
1691
compareTo ( _1 ) |-->->compareTo(_1)
1666
1692
compareToIgnoreCase ( _1 ) |-->->toLowerCase()->compareTo(_1->toLowerCase())
@@ -1763,14 +1789,14 @@ limit ( _1 ) |-->.subrange(1,_1)
1763
1789
skip ( _1 ) |-->.subrange(_1+1)
1764
1790
reduce ( _1 ) |-->->iterate( _var; _acc : OclAny | _1->apply((_acc,_var)) )
1765
1791
1766
- apply ( _1 ) |-->->apply(_1)
1767
-
1768
1792
add ( _1 ) |-->->excludes(_1)
1769
1793
addAll ( _1 ) |-->->intersection(_1`last) /= _1`last
1770
1794
push ( _1 ) |-->true
1771
1795
1772
1796
size ( ) |-->->size()
1773
1797
length ( ) |-->->size()
1798
+ estimateSize ( ) |-->->size()
1799
+ getExactSizeIfKnown ( ) |-->->size()
1774
1800
capacity ( ) |-->->size()
1775
1801
getFirst ( ) |-->->first()
1776
1802
firstElement ( ) |-->->first()
@@ -1828,6 +1854,7 @@ listIterator ( _1 ) |-->.subrange(_1+1)->iterator()
1828
1854
1829
1855
1830
1856
get ( _1 ) |-->->at(_1+1)
1857
+ getOrDefault ( _1 ) |-->->at(_1+1)
1831
1858
elementAt ( _1 ) |-->->at(_1+1)
1832
1859
charAt ( _1 ) |-->->at(_1+1)
1833
1860
printStackTrace ( ) |-->.printStackTrace()
@@ -1848,6 +1875,8 @@ Stream . _1 |-->_1`streamMethodCallQueryForm
1848
1875
1849
1876
Collections . _1 |-->_1`collectionMethodCallQueryForm
1850
1877
1878
+ _1 . _2 |-->if _1`queryForm->keys()->contains(_2`keyvalue) then _1`queryForm_2`mapMethodCallQueryForm else _2`testdefault endif<when> _2`methodName getOrDefault
1879
+
1851
1880
_1 . _2 |-->_1_2`mapMethodCallQueryForm<when> _1 Map
1852
1881
_1 . _2 |-->_1_2`fileMethodCallQueryForm<when> _1 File
1853
1882
_1 . _2 |-->_1_2`dateMethodCallQueryForm<when> _1 Date
@@ -2546,6 +2575,73 @@ _1 ( ) |-->_1()
2546
2575
_1 ( _2 ) |-->_1(_2)
2547
2576
2548
2577
2578
+ methodCallType::
2579
+ super ( ) |-->OclType
2580
+ super ( _1 ) |-->OclType
2581
+
2582
+ this ( ) |-->OclType
2583
+ this ( _1 ) |-->OclType
2584
+
2585
+ parseInt ( _1 ) |-->int
2586
+ println ( _1 ) |-->void
2587
+ deepToString ( _1 ) |-->String
2588
+
2589
+ length ( ) |-->int
2590
+ size ( ) |-->int
2591
+ estimateSize ( ) |-->long
2592
+ getExactSizeIfKnown ( ) |-->long
2593
+ tryAdvance ( _1 ) |-->boolean
2594
+ capacity ( ) |-->int
2595
+
2596
+ max ( _1 ) |-->OclAny
2597
+ min ( _1 ) |-->OclAny
2598
+ get ( _1 ) |-->OclAny
2599
+ charAt ( _1 ) |-->String
2600
+ getTimeInMillis ( ) |-->long
2601
+ setTimeInMillis ( _1 ) |-->void
2602
+ computeTime ( ) |-->long
2603
+ exec ( _1 ) |-->OclProcess
2604
+ schedule ( _1 ) |-->void
2605
+ scheduleAtFixedRate ( _1 ) |-->void
2606
+
2607
+ allMatch ( _1 ) |-->boolean
2608
+ anyMatch ( _1 ) |-->boolean
2609
+ distinct ( ) |-->Sequence
2610
+
2611
+ filter ( _1 ) |-->Sequence
2612
+ mapToInt ( _1 ) |-->Sequence
2613
+ stream ( ) |-->Sequence
2614
+ forEach ( _1 ) |-->void
2615
+
2616
+ absolute ( _1 ) |-->void
2617
+ updateString ( _1 ) |-->void
2618
+ relative ( _1 ) |-->void
2619
+
2620
+ assertTrue ( _1 ) |-->void
2621
+ assertFalse ( _1 ) |-->void
2622
+ assertEquals ( _1 ) |-->void
2623
+ assertNotEquals ( _1 ) |-->void
2624
+ assertNotNull ( _1 ) |-->void
2625
+ assertSame ( _1 ) |-->void
2626
+ assertNotSame ( _1 ) |-->void
2627
+ assertArrayEquals ( _1 ) |-->void
2628
+ fail ( ) |-->void
2629
+ fail ( _1 ) |-->void
2630
+ assertThat ( _1 ) |-->void
2631
+
2632
+ writeBoolean ( _1 ) |-->void
2633
+ writeChar ( _1 ) |-->void
2634
+ writeShort ( _1 ) |-->void
2635
+ writeInt ( _1 ) |-->void
2636
+ writeLong ( _1 ) |-->void
2637
+ writeFloat ( _1 ) |-->void
2638
+ writeDouble ( _1 ) |-->void
2639
+ skipBytes ( _1 ) |-->int
2640
+
2641
+ _1 ( ) |-->_1()
2642
+ _1 ( _2 ) |-->_1(_2)
2643
+
2644
+
2549
2645
lambdaParameters::
2550
2646
( _1 ) |-->lambda _1 : OclAny in
2551
2647
( _* ) |-->_*`lambdaParameter
@@ -2858,6 +2954,9 @@ _1 ^ _2 |-->_1 xor _2
2858
2954
2859
2955
_1 instanceof _2 |-->_1->oclIsKindOf(_2)
2860
2956
2957
+
2958
+ _1 . _2 |-->(if _1`queryForm->keys()->contains(_2`keyvalue) then _1`queryForm_2`mapMethodCallQueryForm else _2`testdefault endif)<when> _1 Map, _2`methodName getOrDefault
2959
+
2861
2960
_1 . _2 |-->_1_2`mapMethodCallQueryForm<when> _1 Map
2862
2961
_1 . _2 |-->_1_2`fileMethodCallQueryForm<when> _1 File
2863
2962
_1 . _2 |-->_1_2`dateMethodCallQueryForm<when> _1 Date
@@ -3348,6 +3447,8 @@ System . _1 |-->_1`systemMethodCall
3348
3447
3349
3448
_1 . _2 |--> for _2`forEachVariable : _1 do\n (_2`forEachUpdateForm)<when> _2 methodCall, _2`isForEachCall true
3350
3449
3450
+ _1 . _2 |--> if _1->keys()->includes(_2`keyvalue) then skip else _1 := _1_2`mapMethodCallSideEffect<when> _1 Map, _2`methodName putIfAbsent
3451
+
3351
3452
_1 . _2 |--> _1 := _1_2`mapMethodCallSideEffect<when> _1 Map
3352
3453
3353
3454
_1 . _2 |--> _1 := _1_2`collectionMethodCallSideEffect<when> _1 Collection
@@ -3488,6 +3589,9 @@ HashBag _1 |-->Sequence{}_1`collectionCreationRest
3488
3589
TreeList _1 |-->Sequence{}_1`collectionCreationRest
3489
3590
3490
3591
Stream _1 |-->Sequence{}_1`collectionCreationRest
3592
+ IntStream _1 |-->Sequence{}
3593
+ LongStream _1 |-->Sequence{}
3594
+ DoubleStream _1 |-->Sequence{}
3491
3595
3492
3596
JsonArray _1 |-->Sequence{}_1`collectionCreationRest
3493
3597
JSONArray _1 |-->Sequence{}_1`collectionCreationRest
@@ -3526,6 +3630,8 @@ RandomAccessFile _1 |-->_1`newRAFile
3526
3630
3527
3631
Socket _1 |-->OclDatasource.newSocket_1
3528
3632
3633
+ StringTokenizer _1 |-->OclIterator.newOclIterator_String_1`stringTokenizerArguments
3634
+
3529
3635
Thread _1 |-->OclProcess.newOclProcess_1
3530
3636
Timer _1 |-->OclProcess.newOclProcess("","TimerTask")
3531
3637
TimerTask _1 |-->OclProcess.newOclProcess_1
@@ -3547,6 +3653,13 @@ _1 _2 |-->_1_2
3547
3653
_1 |-->_1
3548
3654
3549
3655
3656
+ stringTokenizerArguments::
3657
+ ( _1 ) |-->_String(_1)<when> _1 multiple
3658
+ ( _1 ) |-->(_1)
3659
+ _1 |-->_1`stringTokenizerArguments<when> _1 arguments
3660
+
3661
+
3662
+
3550
3663
isCollectionCreatedName::
3551
3664
Set _1 |-->true
3552
3665
HashSet _1 |-->true
@@ -3634,6 +3747,7 @@ intArrayInit::
3634
3747
[ _1 ] [ _2 ] [ ] |-->Integer.subrange(1,_1)->collect(Integer.subrange(1,_2)->collect(Sequence{}))
3635
3748
[ ] [ ] [ ] _1 |-->_1
3636
3749
3750
+
3637
3751
doubleArrayInit::
3638
3752
[ ] |-->Sequence{}
3639
3753
[ _1 ] |-->Integer.subrange(1,_1)->collect(0.0)
@@ -4127,12 +4241,12 @@ _1 |-->_1
4127
4241
4128
4242
4129
4243
forIncrement::
4130
- _1 ; _2 ; _3 |--> ; _3`expressionListUpdateForm
4131
- _1 ; ; _2 |--> ; _2`expressionListUpdateForm
4244
+ _1 ; _2 ; _3 |--> ; _3`expressionListUpdateForm
4245
+ _1 ; ; _2 |--> ; _2`expressionListUpdateForm
4132
4246
_1 ; ; |-->
4133
- ; _1 ; _2 |--> ; _2`expressionListUpdateForm
4247
+ ; _1 ; _2 |--> ; _2`expressionListUpdateForm
4134
4248
; _1 ; |-->
4135
- ; ; _1 |--> ; _1`expressionListUpdateForm
4249
+ ; ; _1 |--> ; _1`expressionListUpdateForm
4136
4250
; ; |-->
4137
4251
_1 |-->
4138
4252
0 commit comments