Commit Graph

937 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 104f15adc4 Moved Java-related keys to JavaBindingContext. 2013-06-25 20:17:47 +04:00
Evgeny Gerashchenko eef380a5c3 Extracted SAM constructor and adapter recording methods. 2013-06-25 20:17:46 +04:00
Evgeny Gerashchenko 939bab67f0 Removed useless parameter. 2013-06-25 20:17:46 +04:00
Evgeny Gerashchenko caf25ad4eb More direct resolving function group from Java. 2013-06-25 20:17:46 +04:00
Evgeny Gerashchenko 8e49eb135a Correctly processing inherited methods when checking for SAM interface. 2013-06-25 20:17:43 +04:00
Evgeny Gerashchenko eb7dc87225 Ignore SAM adapters when finding abstract members. 2013-06-25 20:17:42 +04:00
Evgeny Gerashchenko 5e2c3fcb50 Loading SAM adapters for constructors. 2013-06-25 20:16:20 +04:00
Mikhael Bogdanov aec6deae9f Rename fields on name clashing
#KT-3663 Fixed
 #KT-3664 Fixed
2013-06-17 15:20:42 +04:00
Mikhael Bogdanov 47fe81471a Synthetic accessors for class object private members
#KT-3338 Fixed
2013-06-17 15:20:34 +04:00
Andrey Breslav 3e8031acbd Properly load objects nested into class objects from Java 2013-06-10 15:33:10 +04:00
Evgeny Gerashchenko 203dd93a7a Not loading SAM adapters from compiled Kotlin classes. 2013-06-06 21:35:02 +04:00
Evgeny Gerashchenko c51a70b3b8 Optimized obtaining super methods. 2013-06-03 18:20:36 +04:00
Evgeny Gerashchenko 43b9a9d434 Renamed Name.getName() and FqName.getFqName() to asString() 2013-05-21 17:56:05 +04:00
Evgeny Gerashchenko de6d5a4a96 Fixed loading SAM interfaces when they inherit abstract methods. 2013-05-21 17:52:15 +04:00
Evgeny Gerashchenko fb416418f0 Minor. Fixed assertion message. 2013-05-21 17:52:15 +04:00
Evgeny Gerashchenko 5fc7c885bb KT-3577 Stack overflow when resolving SAM adapter (from completion, show parameters, etc)
#KT-3577
2013-05-21 17:52:14 +04:00
Evgeny Gerashchenko 6f7d42185f Added dependency class resolver -> function resolver. 2013-05-21 17:52:14 +04:00
Nikolay Krasko 11a1067380 Workaround assert when java function overrides kotlin property accessor
#KT-3621 Open
2013-05-20 14:17:46 +04:00
Michał Sapalski 68cd832831 Search in all superclasses in quickfix for NOTHING_TO_OVERRIDE. 2013-05-15 10:33:19 +04:00
Evgeny Gerashchenko cb2f24b1cc Not loading SAM constructors for FunctionN classes. 2013-05-07 18:50:44 +04:00
Evgeny Gerashchenko d56494ebd3 KT-3553 Problem with propagation for extension functions
#KT-3553 fixed
2013-05-07 18:50:43 +04:00
Natalia.Ukhorskaya 6e2584d0de Generate bytecode for delegated properties 2013-04-30 21:47:22 +04:00
Michał Sapalski 2352d86932 Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-29 15:44:06 +04:00
Andrey Breslav bd4d6c810f Optimization: hierarchical signatures build only for non-static methods (1 sec on toString()) 2013-04-26 14:33:29 +04:00
Andrey Breslav 7b602d4dd7 MembersCache made lazy 2013-04-26 14:33:29 +04:00
Andrey Breslav 2d50810a02 ClassMemberProcessor restructured 2013-04-26 14:33:28 +04:00
Alexander Udalov d45889048b Increase ABI version
Due to changes related to FunctionN now being interfaces, FunctionImplN
classes, KFunctionN, callable references
2013-04-22 17:59:32 +04:00
Evgeny Gerashchenko 8c4e45de9a Supported SAM adapters with type parameters. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko db8d285b25 Extracted method recreating type parameters. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko 7bd11718de Supported simplest cases of SAM adapter in backend. 2013-04-18 22:01:26 +04:00
Evgeny Gerashchenko be0238a61e Loading SAM adapters with wildcard types. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko c8e02f75b0 Supported simplest cases of SAM adapter. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko 37eccdb01f Saving "SAM interface" mark when resolving Java class. 2013-04-18 21:59:49 +04:00
Evgeny Gerashchenko 0ae0941e43 Minor. Used util method. 2013-04-18 21:59:48 +04:00
Andrey Breslav e88875eb20 Unused method removed 2013-04-17 17:11:20 +04:00
Andrey Breslav b89dc314c8 getPlatformToKotlinClassMap() removed from ModuleConfiguration 2013-04-17 17:11:19 +04:00
Andrey Breslav 4111e78ac2 ModuleDescriptor stores a PlatformToKotlinClassMap 2013-04-17 17:11:18 +04:00
Andrey Breslav 2e710d7462 getDefaultImports() removed from ModuleConfiguration 2013-04-17 17:11:18 +04:00
Andrey Breslav f3656bcadd ModuleDescriptor stores default imports 2013-04-17 17:11:18 +04:00
Andrey Breslav d5a4a67a86 DefaultModuleConfiguration made a singleton, ALL_JAVA_IMPORTS constant introduced 2013-04-17 17:11:17 +04:00
Andrey Breslav a72e49d8f7 Use ModuleDescriptor instead of ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav e29418cde5 ModuleDescriptor stores a ModuleConfiguration 2013-04-17 17:11:17 +04:00
Andrey Breslav 2e44996cd0 ModuleDescriptor interface extracted 2013-04-17 17:11:16 +04:00
Mikhael Bogdanov 57b161b08a KT-3500: ClassFormatError: Duplicate method name&signature in class file && KT-3429: Traits override bug 2013-04-17 15:23:33 +04:00
Andrey Breslav 03335b5143 Constant made final 2013-04-12 21:06:53 +04:00
Evgeny Gerashchenko f713b03abc Fixed propagation for non-abstract methods inherited from traits. 2013-04-11 21:06:33 +04:00
Evgeny Gerashchenko b1ea79113f Replaced hard exception with LOG.error. 2013-04-04 17:51:51 +04:00
Evgeny Gerashchenko 6e43b78deb KT-3459 "import java.util.*" is removed by optimize imports if the only usage is a SAM constructor
#KT-3459 fixed
2013-04-03 17:44:01 +04:00
Evgeny Gerashchenko c4f2740074 KT-3469 AssertionError: Couldn't find super type for super function
Class descriptor for Java class was recreated in KotlinSignatureInJavaMarkerProvider.

 #KT-3469 fixed
2013-04-03 15:13:10 +04:00
Evgeny Gerashchenko 1ddf074052 Compacted serialized versions of methods and functions in JavaToKotlinMethodMapGenerated. 2013-04-02 22:04:22 +04:00