Anton Bannykh
d0284d19ec
Make PropertiesLowering a DeclarationTransformer
2020-02-06 21:03:35 +03:00
Anton Bannykh
03398e6025
Make StripTypeAliasDeclarationsLowering a DeclarationTransformer
2020-02-06 21:03:35 +03:00
Anton Bannykh
3d726fe5a2
Make InlineClassDeclarationLowering a DeclarationTransformer
2020-02-06 21:03:34 +03:00
Anton Bannykh
0a5db9d222
Make inlineClassUsageLowering a BodyLoweringPass
2020-02-06 21:03:34 +03:00
Anton Bannykh
fe236507a0
Make LocalDeclarationsLowering a BodyLoweringPass
2020-02-06 21:03:34 +03:00
Anton Bannykh
1eec2acf43
Make LocalClassPopupLowering a BodyLoweringPass
2020-02-06 21:03:34 +03:00
Anton Bannykh
d228de9008
Make ArrayConstructorLowering a BodyLoweringPass
2020-02-06 21:03:34 +03:00
Anton Bannykh
bf26b86cf2
Make ProvisionalFunctionExpressionLowering a BodyLoweringPass
2020-02-06 21:03:34 +03:00
Anton Bannykh
5aa2deb449
Make ReturnableBlockLowering a BodyLoweringPass
2020-02-06 21:03:33 +03:00
Anton Bannykh
2fa04afbf2
Make SharedVariablesLowering a BodyLoweringPass
2020-02-06 21:03:33 +03:00
Anton Bannykh
936e53d044
Make TailrecLowering a BodyLoweringPass
2020-02-06 21:03:33 +03:00
Anton Bannykh
a42f849981
Change BodyLoweringPass API; add DeclarationTransformer + helper methods
2020-02-06 21:03:33 +03:00
Anton Bannykh
b087d2d756
IR impl: additional constructors for IrBody implementations
2020-02-06 21:03:33 +03:00
Anton Bannykh
20dc3ccdb8
New mechanism for mappings between old and produced declarations
2020-02-06 21:03:33 +03:00
Anton Bannykh
e8fba8bcb6
IR API: change val ... : MutableList to var ...: List for most lists
...
All mutable state for IR declarations should be either:
- var (mutable properties)
- or class member list
Mutable properties are straightforward to persist.
The class member list is handled in a special way.
2020-02-06 21:03:32 +03:00
Anton Bannykh
0bcde9dffc
IR API: Make IrEnumEntry.initializerExpression IrExpressionBody
...
All non-declarations should be inside IrBody's now
2020-02-06 21:03:32 +03:00
Igor Yakovlev
3ec671d727
Fix getMirror for kotlin decompiled file
...
Possibly fixed EA142049
2020-02-06 20:24:20 +03:00
Ilya Gorbunov
ab32f2efac
Use legacy configuration names to make jps import happy
2020-02-06 19:56:25 +03:00
Dmitry Gridin
f428bbb782
TrailingComma: Join Lines should remove trailing comma
...
#KT-34744
#KT-36084 Fixed
2020-02-06 23:55:59 +07:00
Dmitry Gridin
cb66625688
TrailingComma: fix case of when without expression or property
...
#KT-34744
#KT-36393 Fixed
2020-02-06 23:55:59 +07:00
Dmitry Gridin
6739d03823
TrailingCommaPostFormatProcessor: change recursive checker
...
#KT-34744
2020-02-06 23:55:58 +07:00
Dmitry Gridin
5054bc65a5
Introduce TrailingCommaHelper
...
#KT-34744
2020-02-06 23:55:58 +07:00
Alexander Udalov
c08c3d4d9b
Update JVM metadata version to 1.4.0
2020-02-06 17:22:02 +01:00
Vladimir Dolzhenko
4d93b3d5ab
Dropped unused UsageDescriptor
...
#KT-35918 Comment
2020-02-06 16:42:26 +01:00
Vladimir Dolzhenko
a0c9b275aa
Removed deprecated usage of treeBuilder from currentProjectViewPane
...
It is outdated behaviour as all nested members have to appear as
children of file rather children of its package
#KT-35918 Comment
2020-02-06 16:28:56 +01:00
Vladimir Dolzhenko
617807beea
Removed deprecated usage of ScratchFileService.isInScratchRoot
...
#KT-35918 Comment
2020-02-06 16:28:46 +01:00
Vladimir Dolzhenko
7c8f3b2b3b
Use LightJavaModule.getModule instead of deprecated getModule
...
#KT-35918 Comment
2020-02-06 16:28:36 +01:00
Vladimir Dolzhenko
dd8a120d45
Use JList#getSelectedValuesList() instead of deprecated getSelectedValues()
...
#KT-35918 Comment
2020-02-06 16:28:26 +01:00
Vladimir Dolzhenko
670e016d34
PluginStartupComponent reworked into startup activity and service
...
As BaseComponent is deprecated in a platform
#KT-35918 Comment
2020-02-06 16:28:18 +01:00
Vladimir Dolzhenko
df23274aa5
Use Application.addListener(listener, disposable)
...
#KT-35918 Comment
2020-02-06 16:27:51 +01:00
Vladimir Dolzhenko
45e288be49
Drop deprecated file from @Storage
...
#KT-35918 Comment
2020-02-06 16:27:42 +01:00
Vladimir Dolzhenko
ff7221e1c4
Cleaned up from deprecated CallerMethodsTreeStructure(PsiMethod)
...
#KT-35918 Comment
2020-02-06 16:27:31 +01:00
Alexander Podkhalyuzin
13d8603c4b
Fixed incompatibility with 192
...
#KT-35918 Comment
2020-02-06 16:27:19 +01:00
Alexander Podkhalyuzin
2408977a68
Fixed bunch file
...
#KT-35918 Comment
2020-02-06 16:27:04 +01:00
Alexander Podkhalyuzin
46526ab53c
Removed deprecated icons usages
...
#KT-35918 Comment
2020-02-06 16:26:54 +01:00
Alexander Podkhalyuzin
d880a507dd
Removed deprecated usage
...
#KT-35918 Comment
2020-02-06 16:26:45 +01:00
Alexander Podkhalyuzin
35fa812a19
Removed MethodNodeBase usage
...
#KT-35918 Comment
2020-02-06 16:26:36 +01:00
Alexander Podkhalyuzin
dd73629db1
Obsolete API usages removed from 193 branch
...
#KT-35918 Comment
2020-02-06 16:26:28 +01:00
Alexander Podkhalyuzin
312c7bc9bf
Proper override in move
...
#KT-35918 Comment
2020-02-06 16:26:13 +01:00
Alexander Podkhalyuzin
e26dcdf10b
Removed unnecessary deprecated method overrides
...
#KT-35918 Comment
2020-02-06 16:26:04 +01:00
Alexander Podkhalyuzin
4db89f073f
Remove outdated icon creation API usage
...
#KT-35918 Comment
2020-02-06 16:25:56 +01:00
Alexander Podkhalyuzin
0890e6837b
Proper check if plugin is disabled
...
#KT-35918 Comment
2020-02-06 16:25:47 +01:00
Alexander Podkhalyuzin
f3d66dcce8
proper way to distinguish JetBrains annotations
...
#KT-35918 Comment
2020-02-06 16:25:37 +01:00
Alexander Podkhalyuzin
aee3887604
removed deprecated usage for isAnnotated
...
#KT-35918 Comment
2020-02-06 16:25:29 +01:00
Alexander Podkhalyuzin
08d5471f51
isSearchForTextOccurencesAvailable usage replaced
...
#KT-35918 Comment
2020-02-06 16:25:17 +01:00
Alexander Podkhalyuzin
23fa21d37e
getUsages -> getMetrics in FUSCollectors
...
#KT-35918 Comment
2020-02-06 16:25:06 +01:00
Ilmir Usmanov
8bb59e31e0
Minor. Remove textifyMethodNode, since it duplicates nodeText
2020-02-06 13:10:24 +01:00
Ilmir Usmanov
7dfd7b6081
Spill stack before analyzing it when looking for non-inline suspend lambda
...
parameters of inline function. Otherwise, it leads to AnalyzerException,
when inlined lambda contains try-catch block. The reason is simple:
in try block, we leave some variables on stack, while on catch block the
stack is empty. Spilling the variables before try block does the trick.
#KT-34708 Fixed
2020-02-06 13:10:21 +01:00
Pavel Kirpichenkov
b7a6fc271c
minor: remove unused import
2020-02-06 13:42:44 +03:00
Mikhail Glukhikh
e2a99f84a5
[FIR] Fix test data
2020-02-06 13:40:11 +03:00