Sergey Igushkin
e23b74792d
Fix Java sources inspected too early in Android variants (KT-30735)
...
The Android Gradle plugin can set Java sources after a variant is
created, similar to AP options. We need to inspect the Java sources
only from at `afterEvaluate` time.
Issue #KT-30735 Fixed
2019-04-03 14:45:52 +03:00
Ilya Matveev
5ab9723ee1
Configure CocoaPods plugin to be published at the plugin portal
2019-04-03 18:07:49 +07:00
Alexander Podkhalyuzin
a7b43a6bb7
Import only classes when setting add unambiguous on the fly is enabled
...
#KT-30514 Fixed
2019-04-03 13:51:21 +03:00
Mikhael Bogdanov
4450641321
Merge inlineCodegenUtils2.kt into inlineCodegenUtils.kt
2019-04-03 11:43:46 +02:00
Mikhael Bogdanov
be954c6e62
Rename LabelOwner into ReturnLabelOwner
2019-04-03 11:43:45 +02:00
Mikhael Bogdanov
20adce165f
Convert CapturedParamDesc.java into Kotlin
2019-04-03 11:39:59 +02:00
Mikhael Bogdanov
a19cc8efa6
Rename .java to .kt
2019-04-03 11:39:58 +02:00
Mikhael Bogdanov
c6fb8ba08e
Convert CapturedParamInfo.java into Kotlin
2019-04-03 11:39:58 +02:00
Mikhael Bogdanov
79c97ba21d
Rename .java to .kt
2019-04-03 11:39:57 +02:00
Mikhael Bogdanov
d8336bd0a1
Convert ParameterInfo.java into Kotlin
2019-04-03 11:39:56 +02:00
Mikhael Bogdanov
53dd1dd76d
Rename .java to .kt
2019-04-03 11:39:55 +02:00
Ilya Kirillov
243fd2f4f1
New J2K: Move nullability analysis tests to nullabilityAnalysis dir
2019-04-03 11:24:30 +03:00
Ilya Kirillov
854fc6a7d7
New J2K: Handle correctly modifiers of class members when there is no parent class in the AST
2019-04-03 11:24:29 +03:00
Ilya Kirillov
c05a01e12b
New J2K: Fix NPE if no constructor was found in ImplicitInitializerConversion
2019-04-03 11:24:28 +03:00
Ilya Kirillov
6182edadfd
New J2K: Move imports into JKImportList
2019-04-03 11:24:27 +03:00
Ilya Kirillov
86fa54fae9
New J2K: Convert Java method to Kotlin function independently of containing class
2019-04-03 11:24:26 +03:00
Ilya Kirillov
f28f340840
New J2K: Wrap ast to a JKTreeRoot
2019-04-03 11:24:26 +03:00
Ilya Kirillov
ddee0deeca
New J2K: Move println conversion functionality to BuiltinMembersConversion
2019-04-03 11:24:25 +03:00
Ilya Kirillov
ce666295f7
New J2K: Fix npe when converting java member without parent
2019-04-03 11:24:24 +03:00
Ilya Kirillov
088241313a
New J2K: Remove unused JKJavaDefaultNewExpressionImpl
2019-04-03 11:24:23 +03:00
Ilya Kirillov
50a4b9b2b5
New J2K: Remove debug println
2019-04-03 11:24:22 +03:00
Ilya Kirillov
31aea1e5e9
New J2K: Fix converting on copy-past
2019-04-03 11:24:22 +03:00
Ilya Kirillov
5ab9d6bba8
New J2K: Fix collected import inserting in J2K
2019-04-03 11:24:21 +03:00
Ilya Kirillov
1dd0a42298
New J2K: Escape name of declaration in convert data class
2019-04-03 11:24:20 +03:00
Ilya Kirillov
b411e8e18e
New J2K: Split old j2k and new j2k tests
2019-04-03 11:24:19 +03:00
Ilya Kirillov
02a206bf7c
New J2K: Fix converters spliting
2019-04-03 11:24:18 +03:00
Ilya Kirillov
db2ad96f00
New J2K: Fix ParameterModificationInMethodCallsConversion in a case of varargs parameter
2019-04-03 11:24:18 +03:00
Ilya Kirillov
8cec43fda3
New J2K: Assume KtConstructor as function for symbol provider
2019-04-03 11:24:17 +03:00
Ilya Kirillov
6d621a86d2
New J2K: Convert java.util.Objects.equals call to equals binary operator expression
2019-04-03 11:24:16 +03:00
Ilya Kirillov
a973f9b670
New J2K: Add support of package qualifiers for expressions
2019-04-03 11:24:16 +03:00
Ilya Kirillov
9fb6cfc26e
New J2K: Collect imports to ImportStorage, not to JKFle
2019-04-03 11:24:15 +03:00
Ilya Kirillov
9d9c9f40db
New J2K: Wrap adding imports to CommandProcessor.executeCommand
2019-04-03 11:24:14 +03:00
Ilya Kirillov
02c8e4cede
New J2K: Do not remove semicolon after if expression when then branch is empty in RedundantSemicolonInspection
2019-04-03 11:24:14 +03:00
Ilya Kirillov
b13f7431f2
New J2K: Fix existing test data
2019-04-03 11:24:13 +03:00
Ilya Kirillov
76b73542d9
New J2K: Add type arguments to multi-dimension array initializers
2019-04-03 11:24:12 +03:00
Ilya Kirillov
99f3af9e85
New J2K: Move comments from primary constructor to init section
2019-04-03 11:24:11 +03:00
Ilya Kirillov
481b2feda3
New J2K: Collect annotations for parameters
2019-04-03 11:24:10 +03:00
Ilya Kirillov
b3af05e3ad
New J2K: Fix comments order
2019-04-03 11:24:10 +03:00
Ilya Kirillov
1e73748ab4
New J2K: Fix gradle build for nj2k-services
2019-04-03 11:24:09 +03:00
Ilya Kirillov
7f9250c914
New J2K: Fix symbol provider compile error
2019-04-03 11:24:08 +03:00
Ilya Kirillov
32e69629f3
New J2K: Add imports of used kotlin functions
2019-04-03 11:24:08 +03:00
Ilya Kirillov
939b379694
New J2K: Fix old j2k build
2019-04-03 11:24:07 +03:00
Ilya Kirillov
dff4ab2437
New J2K: Fix nullability preserving in AST conversions
2019-04-03 11:24:06 +03:00
Ilya Kirillov
bdd773f806
New J2K: Add nullability analyser tests
2019-04-03 11:24:05 +03:00
Ilya Kirillov
f3b6c880d4
New J2K: Remove unused nj2k test & fix test generation
2019-04-03 11:24:04 +03:00
Ilya Kirillov
e3ee0dac6c
New J2K: Add annotations to the import collector
2019-04-03 11:24:03 +03:00
Ilya Kirillov
0610583b80
New J2K: Fix RemoveRedundantExpressionQualifierProcessing
2019-04-03 11:24:02 +03:00
Ilya Kirillov
6f7f516a4f
New J2K: Temporary ignore imports & error comments
2019-04-03 11:24:01 +03:00
Ilya Kirillov
bcee73ff01
New J2K: Fix debug tree printer
2019-04-03 11:24:01 +03:00
Ilya Kirillov
b81696947c
New J2K: Do not call useless cast on null expression on post processing
2019-04-03 11:24:00 +03:00