Tal Man
8cf965db7e
2 intentions for moving lambda functions;
...
moves lambda functions in function calls inside and outside of the
parenthesis: foo({ it }) <-> foo() { it }
2014-03-04 20:07:42 +04:00
Alexey Sedunov
a18e2f7cfa
Make utlity functions public
2014-03-04 19:45:37 +04:00
Alexey Sedunov
36633af275
Extract JSON utility functions
2014-03-04 19:45:36 +04:00
Alexey Sedunov
1edaa877dc
Fix search scope of Kotlin light methods
...
#KT-4638 Fixed
2014-03-04 19:45:35 +04:00
Alexey Sedunov
3729966270
Forbid moving file to another file
...
#KT-4069 Fixed
2014-03-04 19:45:34 +04:00
Alexey Sedunov
12310b5bd9
Reuse getQualifiedElementSelector() function
2014-03-04 19:45:33 +04:00
Alexey Sedunov
e48616e739
Do not insert parentheses into package directives
...
Add tests for "Move Package" refactoring
2014-03-04 19:45:32 +04:00
Alexey Sedunov
d2f6b55cb5
Box qualified names of package directives into dot-qualified expressions
2014-03-04 19:45:30 +04:00
Alexey Sedunov
5e87fc35e0
Do not rely on write action lock during preparation phase of RefactoringHelper
...
#KT-4631 Fixed
2014-03-04 19:45:29 +04:00
Alexey Sedunov
b34b3ccf38
Delete redundant annotation
2014-03-04 19:45:29 +04:00
Alexander Udalov
f8d3f8480a
Minor, use constants instead of hard-coded strings
2014-03-04 19:23:46 +04:00
Ladislav Thon
36bc7580aa
fix main function detection to rely on actually resolved types
2014-03-04 19:18:14 +04:00
Valentin Kipyatkov
a2f6b99862
Convert to block body intention action
2014-03-04 19:13:54 +04:00
Alexander Udalov
af2a28c099
Minor, inline only once-used methods
2014-03-04 19:04:58 +04:00
Alexander Udalov
d5e9cadccf
Delete default "import jet.*" from JS analyzer
2014-03-04 18:19:43 +04:00
Alexander Udalov
3a0a688ebc
Add test on KotlinSyntheticClass annotation for $$TImpl
2014-03-04 18:19:43 +04:00
Alexander Udalov
76cc5b301a
Minor, revert unneeded "!!"
2014-03-04 18:19:43 +04:00
Alexander Udalov
981c40286f
Minor, assert value != null in EnumValue
...
Similar to ArrayValue, AnnotationValue, etc.
2014-03-04 18:19:43 +04:00
Alexander Udalov
c74b8e72c7
Extract DescriptorUtils.unwrapFakeOverride()
2014-03-04 18:19:42 +04:00
Alexander Udalov
e017cf76f2
Minor, delete/inline methods
2014-03-04 18:19:42 +04:00
Alexander Udalov
4c49c39f8d
Minor, delete unnecessary parameter from util method
2014-03-04 18:19:42 +04:00
Alexander Udalov
eb5aba560e
Load class kind in KotlinSyntheticClass annotation
...
Fix some of the usages of KotlinSyntheticClass header where really package
parts were meant (they were committed by mistake).
DescriptorResolverUtils.isCompiledKotlinPackageClass no longer checks for class
being a compiled package part, because PSI classes are not built for package
parts (according to EmptyPackageFragmentClsStubBuilderFactory)
2014-03-04 18:19:42 +04:00
Ilya Klyuchnikov
ea40389e34
validating android annotations
2014-03-04 14:28:53 +04:00
Nikolay Krasko
1ee64f8186
Test for KT-4610
...
#KT-4610 Fixed
2014-03-03 19:24:27 +04:00
Nikolay Krasko
0dfbe08255
Test for KT-4482
...
#KT-4482 Fixed
2014-03-03 19:24:26 +04:00
Mikhael Bogdanov
16fbe1d5dd
Abi version increased: inline calls in runtime (otherwise client inlining wouldn't work)
2014-03-03 15:52:25 +04:00
Mikhael Bogdanov
03ac462dcb
jet->kotlin fix
2014-03-03 15:43:48 +04:00
Mikhael Bogdanov
6d1effe981
Inline trait support
2014-03-03 15:43:48 +04:00
Mikhael Bogdanov
286dd50be4
Code clean and simplification
2014-03-03 15:43:48 +04:00
Mikhael Bogdanov
1a011c3f9b
Code clean and simplification
2014-03-03 15:43:47 +04:00
Mikhael Bogdanov
55fbdbd302
Code clean
2014-03-03 15:43:47 +04:00
Mikhael Bogdanov
8ac48b746c
Closure assertions removal update
2014-03-03 15:43:47 +04:00
Mikhael Bogdanov
2d2ffea807
Construction invocation simplification
2014-03-03 15:43:47 +04:00
Mikhael Bogdanov
cd030ec88e
VirtualFileFinder refactoring
2014-03-03 15:43:46 +04:00
Mikhael Bogdanov
ead2f84a29
Call generator refactoring
2014-03-03 15:43:46 +04:00
Mikhael Bogdanov
e7603d2e62
Code simplification and clean
...
~special flag
2014-03-03 15:43:46 +04:00
Mikhael Bogdanov
c8302fdf9c
Push arguments refactoring
2014-03-03 15:43:46 +04:00
Mikhael Bogdanov
2d9674089c
Support operatorAssign expressions in inline
2014-03-03 15:43:46 +04:00
Mikhael Bogdanov
4d8898c9f2
Rename: Inliner->CallGenerator
2014-03-03 15:43:45 +04:00
Mikhael Bogdanov
476a9ede64
Package rename: asm->inline
2014-03-03 15:43:45 +04:00
Mikhael Bogdanov
3bf952b49c
Beautify
2014-03-03 15:43:45 +04:00
Mikhael Bogdanov
ee136d6594
Default inline flag = true
2014-03-03 15:43:45 +04:00
Mikhael Bogdanov
c716b6eda0
remapping to facades
2014-03-03 15:43:44 +04:00
Mikhael Bogdanov
3f9125cf08
Recursive lambdas regeneration/copy
2014-03-03 15:43:44 +04:00
Mikhael Bogdanov
e695f0a516
Extracting class builder interface
2014-03-03 15:43:44 +04:00
Mikhael Bogdanov
9028e24d35
Public visibilities for lambdas in inline methods
2014-03-03 15:43:44 +04:00
Mikhael Bogdanov
8793fc21e0
Support non-inlinable lambda cloning between modules
2014-03-03 15:43:43 +04:00
Mikhael Bogdanov
04be107a06
Remove redundant parameters
2014-03-03 15:43:43 +04:00
Mikhael Bogdanov
5740d99233
Properly index new variables after method inline
2014-03-03 15:43:43 +04:00
Mikhael Bogdanov
55e03dd8b3
isInline method moved from SimpleFunctionDescriptor to InlineStrategy
2014-03-03 15:43:43 +04:00