Ilya Chernikov
c153a386ab
Fix tests
2018-01-30 17:06:11 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Ilya Chernikov
0b63e11ea8
Replace android sdk dependencies with custom project build, cleanup update_dependencies.xml
2018-01-30 17:06:11 +03:00
Ilya Chernikov
12f0f019da
Switch robolectric usages to regular dependency
2018-01-30 17:06:10 +03:00
Ilya Chernikov
b490a79d95
Replace direct usages of ideaSdk in tests with property passed from build scripts
2018-01-30 17:06:08 +03:00
Ilya Chernikov
06c8cbf7d6
Convert all remaining plugin modules to intellij plugin
2018-01-30 17:06:07 +03:00
Ilya Chernikov
0d264793ce
Convert idea plugin modules to intellij plugin
2018-01-30 17:06:07 +03:00
Alexander Udalov
8cd7686535
Introduce DeclarationCheckerContext, remove SimpleDeclarationChecker
2018-01-29 12:22:40 +01:00
Yan Zhulanow
e12deb54d6
Android Extensions: Fix "Inconsistent file tree" exception on Activity creation (KT-22349)
2018-01-25 22:03:30 +03:00
Yan Zhulanow
7b055c2172
Kapt: Prefer non-aliased imports over aliased. Make sure the imported short names are unique (KT-22083)
2018-01-25 22:03:29 +03:00
Nicolay Mitropolsky
2623ae714c
Uast: consistency updates for ULambdaExpression
2018-01-19 10:45:58 +03:00
Nicolay Mitropolsky
25cd54713b
Uast: consistency for imports-expressions
2018-01-19 10:45:58 +03:00
Nicolay Mitropolsky
d5d49c65b4
Uast: tests for UClass.uastSuperTypes
2018-01-19 10:45:58 +03:00
Alexander Udalov
82574cb570
Do not store ClassDescriptor in EnumValue
...
Only store the ClassId of the enum class and the Name of the entry, and
resolve the needed descriptor in getType() instead, which now takes the
module instance where that descriptor should be resolved
2018-01-18 12:49:38 +01:00
Nicolay Mitropolsky
b4db744a9b
Uast: KotlinStringULiteralExpression.getExpressionType() made always return String
2018-01-16 20:38:00 +03:00
Alexey Sedunov
908bf71ae6
Quick Fixes: Support cross-language "Create from Usage" with Kotlin target
2018-01-16 17:06:53 +03:00
Alexey Sedunov
05b618eec8
Gradle: Use copyable user data for compiler plugin options
...
#KT-22227 Fixed
2018-01-16 16:09:18 +03:00
Nicolay Mitropolsky
d7f0695a51
Uast: KotlinNullabilityUAnnotation.javaPsi type set to PsiAnnotation?
2018-01-16 13:26:22 +03:00
Nicolay Mitropolsky
9ce9b434fe
Uast: testdata fix for KotlinUastTypesTest.testEa101715
2018-01-15 20:58:18 +03:00
Yan Zhulanow
2ee23ddd02
EA-101715: Handle also case with IntegerValueTypeConstructor
2018-01-15 12:39:35 +09:00
Yan Zhulanow
108e91f2a2
Kapt: Be less strict when it's impossible to add a generated Kotlin source directory for Android project (KT-22056, EA-114271)
2018-01-15 12:39:34 +09:00
Yan Zhulanow
283c762b8b
Kapt: Remove laziness from diagnosticFactory and javacMessages, use factory from supertype (KT-22189)
...
writeDiagnostic() may be invoked after the 'context' is cleared, and lazy implementations will fail.
2018-01-15 12:39:34 +09:00
Yan Zhulanow
192489ae66
Minor: Remove bulk class added by mistake
2018-01-15 12:39:33 +09:00
Yan Zhulanow
81aae03b57
Use Gradle API to import annotations from compiler plugins instead of nasty data storage tasks
...
Tasks itself will be left for some time until all users migrate to the newer IDE plugin versions.
2018-01-15 12:39:31 +09:00
Yan Zhulanow
e7c1d94c0f
Minor: Fix red code in IDE
2018-01-15 12:39:30 +09:00
Yan Zhulanow
e978c42e52
SamWithReceiver: Add Maven/Gradle importers for SamWithReceiver
2018-01-15 12:39:30 +09:00
Yan Zhulanow
df19162c8c
Kapt: Store line information in a file doc comment, instead of annotations (KT-21936)
2018-01-15 12:39:28 +09:00
Yan Zhulanow
c66947ba40
NoArg: Parse 'invokeInitializers' option in Maven importer (KT-19900)
2018-01-15 12:39:27 +09:00
Yan Zhulanow
3512675d96
Compiler plugins: Refactor Maven import handlers in order to support other plugin options
2018-01-15 12:39:26 +09:00
Nicolay Mitropolsky
f4a7ecc1bb
Uast: Fix for missing local variables in ctor-s bodies
...
similar to how it is done in `KotlinUBlockExpression`
2018-01-12 22:32:52 +03:00
Nicolay Mitropolsky
27b3cdf1fa
Uast: KotlinAccessorCallExpression made implement JvmDeclarationUElement
2018-01-12 13:54:41 +03:00
Nicolay Mitropolsky
f8601479de
Uast: handling @receiver annotations
2018-01-12 13:54:38 +03:00
Nicolay Mitropolsky
f91f42c253
Uast: Constructors.kt testdata fixes
2018-01-12 13:54:36 +03:00
Nicolay Mitropolsky
2c81362ce1
Uast: uastParent made final in KotlinAbstractUElement
2018-01-12 13:54:35 +03:00
Nicolay Mitropolsky
e7200d16c3
Uast: no more need to exclude UIdentifier from JvmDeclarationUElement check
2018-01-12 13:54:33 +03:00
Nicolay Mitropolsky
e22e466485
Uast: making AbstractKotlinUClass not inherit from AbstractJavaUClass
2018-01-12 13:54:32 +03:00
Nicolay Mitropolsky
084da3665a
Uast: removing java-uast usage from KotlinUastLanguagePlugin and KotlinEnumConstantClassReference
2018-01-12 13:54:31 +03:00
Nicolay Mitropolsky
260c549cd7
Uast: AbstractKotlinUVariable annotations now are retrieved from Kotlin Psi, not from compiled (KT-21025)
...
and `KotlinNullabilityUAnnotation` now is created for every `AbstractKotlinUVariable`
2018-01-12 13:54:29 +03:00
Nicolay Mitropolsky
f0723a5c07
Uast: WrappedUAnnotation as replacement for usage of JavaUAnnotation (KT-21025)
2018-01-12 13:54:28 +03:00
Nicolay Mitropolsky
0a1580159f
Uast: Constructors.kt testData fixes
2018-01-12 13:54:22 +03:00
Nicolay Mitropolsky
502a6fa9f1
Uast: SuperCalls.render.txt testdata fix
2018-01-12 13:54:14 +03:00
Nicolay Mitropolsky
5f6e5c5779
Uast: AbstractKotlinUClass compilation fix
2018-01-12 13:54:13 +03:00
Nicolay Mitropolsky
8c27bf98f4
UAST: StringTemplateComplex testdata fix
2018-01-12 13:54:03 +03:00
Nicolay Mitropolsky
6bfe168dd7
UAST: SimpleKotlinRenderLogTest.testWhenAndDestructing testdata fix
2018-01-12 13:53:39 +03:00
Nicolay Mitropolsky
208a986eab
UAST: support for JvmDeclarationUElement
2018-01-12 13:53:25 +03:00
Nicolay Mitropolsky
f1579d01af
UAST test data fixes: LocalVariableWithAnnotationKt fix for variable type
...
it is not clear for me why it was not `String`
2018-01-12 13:53:24 +03:00
Nicolay Mitropolsky
7c3c59de00
UAST test data fixes: @null in render
...
as a "nullability" annotation for primitive types
2018-01-12 13:53:22 +03:00
Vyacheslav Gerasimov
3f15f7a394
UAST: Fix testPropertyWithAnnotation
2018-01-12 13:52:58 +03:00
Vyacheslav Gerasimov
e6efaaf752
UAST: Add testConvertTypeInAnnotation
2018-01-12 13:52:56 +03:00
Vyacheslav Gerasimov
92c23aa0ed
UAST: override getFunctionalInterfaceType + test
2018-01-12 13:52:55 +03:00