Method Hierarchy: Refactoring

- Do not rely on light methods and Java method hierarchy
- Support val/var parameters
- Support built-in member functions

 #KT-14346 Fixed
This commit is contained in:
Alexey Sedunov
2017-07-03 20:44:41 +03:00
parent 10941ae732
commit 53d12e6cf7
16 changed files with 316 additions and 39 deletions
@@ -0,0 +1,20 @@
<node text="List (kotlin.collections)" base="true">
<node text="UnmodifiableList in Collections (java.util)"/>
<node text="CheckedList in Collections (java.util)"/>
<node text="SynchronizedList in Collections (java.util)"/>
<node text="AbstractList (java.util)">
<node text="ArrayList in Arrays (java.util)"/>
<node text="EmptyList in Collections (java.util)"/>
<node text="SubList in ArrayList (java.util)"/>
<node text="AbstractSequentialList (java.util)"/>
<node text="CopiesList in Collections (java.util)"/>
<node text="SingletonList in Collections (java.util)"/>
<node text="ArrayList (java.util)"/>
</node>
<node text="ArrayList (java.util)"/>
<node text="AbstractList (kotlin.collections)">
<node text="SubList in AbstractList (kotlin.collections)"/>
<node text="ReversedListReadOnly (kotlin.collections)"/>
</node>
<node text="EmptyList (kotlin.collections)"/>
</node>
@@ -0,0 +1,3 @@
fun foo(list: List<String>){
list.<caret>get(1)
}