Better work with getLocalPath method
Compatibility with 123 branch is lost - start using fixed AddSupportForSingleDialog from IDEA
Properly capture local functions

Local functions in local classed wasn't captured properly
Fixed bug when class or trait declared early than its parent, traits and abstract classes which declared after doesn't translated
#KT-3437 Fixed
Fixed return value for ArrayList#remove in js library.
Removed unnecessary Kotlin.IndexOutOfBounds.
Basic support for resolving top-level SAM interfaces.
Updated test data.
Removed redundant field in JavaPackageScope.
Moved SAM function creation to JavaFunctionResolver.
Got rid of method duplication.
Inlined method which was used only once, and in different subsystem.
Removed redundant code.
Asserting right after reading.
Calculating interface function name in constructor.
Saving mapping from SAM constructor to trait.
Supported SAM constructors in codegen (simplest case).
Added FileFilter to mock JDK.
Added tests with FilenameFilter (several arguments).
Loading interface with only one method inherited from Object as not functional.

 #KT-1242 fixed
Capable of changing owner.