Commit Graph

15206 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 85caff9df4 Add copyright 2014-04-23 18:09:42 +04:00
Natalia Ukhorskaya 9fea5460a8 Find method in class that is on stack, not in method owner class 2014-04-23 18:09:41 +04:00
Natalia Ukhorskaya 4f84d4d2db Load classes mentioned in method arguments before invokeMethod 2014-04-23 18:09:40 +04:00
Natalia Ukhorskaya 964b81ce6a CHECKCAST always succeeds on null 2014-04-23 18:09:38 +04:00
Natalia Ukhorskaya 92edc8299e Cast method arguments to method parameter types 2014-04-23 18:09:37 +04:00
Natalia Ukhorskaya 56e0746814 Support checkcast instruction for array 2014-04-23 18:09:36 +04:00
Natalia Ukhorskaya ca877f1413 Use ASM5 2014-04-23 18:09:34 +04:00
Natalia Ukhorskaya c9fc9aa005 Add annotations from eval4j 2014-04-23 18:09:33 +04:00
Natalia Ukhorskaya 86414bbb7f Remove annotations from eval4j module 2014-04-23 18:09:32 +04:00
Natalia Ukhorskaya 86fffab86f Fix separators for JdiTests 2014-04-23 18:09:30 +04:00
Natalia Ukhorskaya ae3419879d Fix errors caused by new kotlin version 2014-04-23 18:09:29 +04:00
Natalia Ukhorskaya 32132a8b3e Rename org.objectweb.asm to org.jetbrains.org.objectweb.asm 2014-04-23 18:09:28 +04:00
Natalia Ukhorskaya 68397d9421 Add module eval4j 2014-04-23 18:09:27 +04:00
Natalia Ukhorskaya a99ec0c5fa Merge remote-tracking branch 'eval4j/master' 2014-04-23 18:08:55 +04:00
Andrey Breslav 34f437cc00 Analyze all relevant files in JetPositionManager 2014-04-23 15:21:08 +04:00
Andrey Breslav 94693bf8dc Unused method removed 2014-04-23 14:06:15 +04:00
Andrey Breslav 93d3eab9f9 More granular locks in KotlinResolveCache 2014-04-23 14:06:14 +04:00
Andrey Breslav 04b28b14e5 Synchronization logic extracted into a method 2014-04-23 14:06:14 +04:00
Andrey Breslav 35b2d6536e Unneeded synchronization removed 2014-04-23 14:06:14 +04:00
Andrey Breslav 3275e52290 Got rid of unneeded caching in KotlinCacheService 2014-04-23 14:06:13 +04:00
Andrey Breslav af9694738e JvmResolveUtil extracted for methods that are used only for tests 2014-04-23 14:06:13 +04:00
Andrey Breslav 2a3d1c1b18 AnalyzerFacadeWithCache.getLazyResolveSessionForFile() inlined 2014-04-23 14:06:12 +04:00
Andrey Breslav 9b01eb15ce KotlinCacheManager removed in favor of KotlinCacheService 2014-04-23 14:06:12 +04:00
Andrey Breslav 523faed696 AnalyzerFacadeWithCache simply redirects to KotlinCacheService now 2014-04-23 14:06:12 +04:00
Andrey Breslav 00ebd967e2 AnalyzerFacadeWithCache.analyzeFileWithCache() is inlined 2014-04-23 14:06:11 +04:00
Andrey Breslav 7ee483fbc8 getDeclarationsFromProject() is replaced by lazy resolve 2014-04-23 14:06:11 +04:00
Andrey Breslav 54f3dd20b3 KotlinCacheManagerUtil usages replaced by lazy resolve 2014-04-23 14:06:10 +04:00
Andrey Breslav 1a92964250 JavaDescriptorResolver is cached by KotlinResolveCache
Accessible via JavaResolveExtension
2014-04-23 14:06:10 +04:00
Andrey Breslav ed79be6d2d AnalyzerFacade.Setup introduced 2014-04-23 14:06:10 +04:00
Andrey Breslav 45a90a8f20 Eager methods removed from AnalyzerFacade 2014-04-23 14:06:09 +04:00
Andrey Breslav d45347688d Create consolidated caching service to provide all lazily resolved data
Other caches are to be removed later
2014-04-23 14:06:09 +04:00
Andrey Breslav 4d425aff11 Methods pulled up into the interface 2014-04-23 14:06:09 +04:00
Andrey Breslav 143b78d031 KotlinCacheManagerUtil uses lazy resolve 2014-04-23 14:03:14 +04:00
Andrey Breslav 0ce4e5e113 Minor. One utility method reused in the other 2014-04-23 14:03:14 +04:00
Andrey Breslav 99b5fa1f47 Minor. Method replaced by a more convenient one from the same class 2014-04-23 14:03:13 +04:00
Zalim Bashorov 82e26ff856 Generated tests 2014-04-22 22:33:09 +04:00
Zack Grannan aec5ae5dd4 Added IfThenToDoubleBangIntention 2014-04-22 22:33:08 +04:00
Zack Grannan 8476a790bd Added DoubleBangToIfThenIntention 2014-04-22 22:33:08 +04:00
Zack Grannan f58e1811e4 Added methods to IfThenUtils 2014-04-22 22:33:08 +04:00
Zack Grannan e5054a4a54 Modified IfThenToElvis to not apply when using '!!' would be better 2014-04-22 22:33:08 +04:00
Zack Grannan 9f63f7c488 Updated AbstractJetInspectionTest to use runtime if necessary 2014-04-22 22:33:08 +04:00
Zack Grannan f4beffd451 Added getOperationToken method to JetUnaryExpression 2014-04-22 22:33:07 +04:00
Alexey Sedunov a600606cac Extract Function: UI support for validation 2014-04-22 18:45:56 +04:00
Alexey Sedunov 0e9676173b Extract Function: Implement validation 2014-04-22 18:45:55 +04:00
Alexey Sedunov e052a64767 Introduce Variable: Compare receivers (both implicit and explicit) when looking for expression occurrences
#KT-4819 Fixed
2014-04-22 18:45:54 +04:00
Zalim Bashorov 40ee454e67 Merge pull request #450 from wutalman/assert_to_if
KT-4576: (Bug fix) Intention to transform an if an AssertionError throw into an assert
2014-04-22 17:30:22 +04:00
Valentin Kipyatkov 19aa35ffeb Smart completion: minor changes 2014-04-22 14:15:07 +04:00
Valentin Kipyatkov e017f4d952 Smart completion: auto-popup parameter info when comma is inserted 2014-04-22 11:44:32 +04:00
Valentin Kipyatkov 134496d182 Smart completion: special items with "!!" and "?:" for nullable members 2014-04-21 22:14:20 +04:00
Valentin Kipyatkov 710e61dea7 Fixed duplicated "Shorten FQ names" checkbox in live templates 2014-04-21 22:06:16 +04:00