KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style

#KT-9664 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-10-26 23:23:09 +03:00
parent ad030a2c03
commit 891e033d5b
56 changed files with 1050 additions and 82 deletions
@@ -0,0 +1 @@
SwingUtilities { println("a") }
@@ -0,0 +1,5 @@
SwingUtilities.invokeLater(object : Runnable {
override fun run() {
println("a")
}
})
@@ -0,0 +1,5 @@
<html>
<body>
Converts an anonymous object literal implementing a Java interface with single abstract method into call with lambda expression.
</body>
</html>