Implement Kotlin sub-classes tooltip to handle MPP correctly

Before this commit, Java tooltip was in use which could not
work correctly with expect / actual classes
So #KT-21011 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-09 13:29:13 +03:00
parent 90b6f369e0
commit cbcd35e2f5
13 changed files with 114 additions and 6 deletions
@@ -0,0 +1,6 @@
open class <lineMarker descr="<html><body>Is subclassed by<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#kotlinClass/testModule_Common:ExpectedChild">ExpectedChild [testModule_Common]</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#kotlinClass/testModule_JVM:ExpectedChild">ExpectedChild [testModule_JVM]</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#kotlinClass/testModule_Common:SimpleChild">SimpleChild</a><br><div style='margin-top: 5px'><font size='2'>Click or press Ctrl+Alt+B to navigate</font></div></body</html>">SimpleParent</lineMarker>
expect class <lineMarker descr="Has actuals in JVM">ExpectedChild</lineMarker> : SimpleParent
class SimpleChild : SimpleParent()
@@ -0,0 +1,3 @@
// !CHECK_HIGHLIGHTING
actual class ExpectedChild : SimpleParent()