Yan Zhulanow
3dc091d92c
Uast: support internal class names in Java and method signatures in Java and Kotlin
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5bc31112c1
Lint: Remove IntellijApiDetector
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3258ebae39
Java Uast: Support try-with-resources
2016-04-08 15:39:58 +03:00
Yan Zhulanow
9d34df2475
Java Uast: Support static imports
2016-04-08 15:39:58 +03:00
Yan Zhulanow
06a88f417c
Uast: support beforeVisit() and afterVisit() in visitor
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3a7f29bfc5
Lint: Support visitResourceReference() in Uast
2016-04-08 15:39:58 +03:00
Yan Zhulanow
514e3859da
Uast: Rename JavaPsiElemenStub -> JavaDumbUElement, KotlinPsiElementStub -> KotlinDumbUElement.
...
Use it everywhere in `nameElement`
2016-04-08 15:39:58 +03:00
Yan Zhulanow
6c40fda7b7
Support equals() on UElements (comparation by psi)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
985c8660b7
Uast Java, Kotlin: Support all binary operators in Uast
2016-04-08 15:39:58 +03:00
Yan Zhulanow
3f6796f0c2
Uast: Support all basic Java types needed for Lint
2016-04-08 15:39:58 +03:00
Yan Zhulanow
862f824bcc
Kotlin Uast: Support object literals
2016-04-08 15:39:58 +03:00
Yan Zhulanow
78ce025ca3
Uast: Ability to get the default class type from UClass
2016-04-08 15:39:58 +03:00
Yan Zhulanow
5c07e6de9d
Kotlin Uast, Refactoring: Extract toSource() function
2016-04-08 15:39:58 +03:00
Yan Zhulanow
ed1e1c6a2b
Uast, Minor: make lateinit mutable propertiy setters internal
2016-04-08 15:39:58 +03:00
Yan Zhulanow
18e963422b
Lint: Remove diagnostics unrelated to uast.
...
All these diagnostics are already present in the Android plugin, so there's no need in them here.
2016-04-08 15:39:58 +03:00
Yan Zhulanow
ed10829091
Uast: Allow to search for a static members (in Kotlin static members are located inside the companion objects).
...
Companion objects support.
2016-04-08 15:39:58 +03:00
Yan Zhulanow
f1e5c85ba3
Uast: Support Kotlin anonymous initializers
2016-04-08 15:39:58 +03:00
Yan Zhulanow
335712141d
Java Uast, Minor: Convert Java Uast properties with backing field to properties with getter (optimization)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
f130dc96f7
Lint: Implement Kotlin Java synthetic property calls as Java method calls via the additional checker
2016-04-08 15:39:58 +03:00
Yan Zhulanow
d1939d52bc
Replace UastConverter with UastLanguagePlugin, allow additional checkers
2016-04-08 15:39:58 +03:00
Yan Zhulanow
4ef6016ee8
Lint: Rename all Lint inspections to KLint to provide unique short names
2016-04-08 15:39:58 +03:00
Yan Zhulanow
f4422b3b19
Kotlin Uast: Support type parameters on functions
2016-04-08 15:39:58 +03:00
Yan Zhulanow
4df9e9261e
Lint: Rewrite Lint diagnostics using Uast.
2016-04-08 15:39:58 +03:00
Yan Zhulanow
126cc778e4
Lint: copy diagnostics from IDEA (br143)
2016-04-08 15:39:58 +03:00
Yan Zhulanow
92d2e7a0a9
Kotlin Uast: Initial implementation
2016-04-08 15:39:58 +03:00
Yan Zhulanow
a13a1e1e4a
Java Uast: Initial implementation
2016-04-08 15:39:58 +03:00
Yan Zhulanow
16de31aebe
Uast: Unified AST (Kotlin, Java) interfaces set.
...
Goal: support Android Lint diagnostics in Kotlin by switching Lint scanners from the Java Lombok AST to the abstract AST (uast) with Java and Kotlin PsiElement-backed implementations.
2016-04-08 15:39:58 +03:00
Nikolay Krasko
7dcf8ae570
Refactoring: replace custom function to FileUtil.delete
2016-04-05 00:42:05 +03:00
Nikolay Krasko
9cd8c2b7bd
Fix compilation against new version of Android plugin
2016-04-05 00:39:46 +03:00
Nikolay Krasko
4f7257ab66
Remove dependency to idea.jar in compiler tets to continue running them with JDK 1.6
2016-04-05 00:39:46 +03:00
Nikolay Krasko
f80aaa97a6
Extract plugins tests to separate module with JDK 1.8
2016-04-05 00:39:46 +03:00
Nikolay Krasko
46b5305666
Extract jps-tests to separate module
...
Remove dependency to idea-full to build jps-plugin with Java 1.6
2016-04-05 00:39:46 +03:00
Nikolay Krasko
ef13e8f5bb
Prepare building plugins modules against 1.8 JDK
2016-04-05 00:39:46 +03:00
Nikolay Krasko
b6f3bf9869
Update undroid test clean up
2016-04-05 00:39:46 +03:00
Nikolay Krasko
bbd6417d3c
Add plugin-api dependency of android-extension-compiler to plugin classpath
...
Add it to kotlin-plugin.jar but not to kotlin-android-extensions-plugin.jar because frontend depends on the module plugin-api too.
2016-03-31 16:07:22 +03:00
Alexander Udalov
3944d56ac2
Minor, remove unnecessary type parameter in CallChecker#check
2016-03-28 14:13:59 +03:00
Ilya Gorbunov
1ae0040ca3
Minor: make variables initialized in defineClass lateinit instead of nullable.
2016-03-21 18:37:27 +03:00
Denis Zharkov
78c9dffe00
Refine return type of MemberScope.getContributedFunctions
2016-03-16 20:22:58 +03:00
Natalia Ukhorskaya
334c6ba71a
Refactoring: rename kotlin-android-plugin to idea-android
2016-03-15 20:26:14 +03:00
Natalia Ukhorskaya
d2de74226e
Refactoring: rearrange dependencies in android modules
2016-03-15 20:25:54 +03:00
Natalia Ukhorskaya
78d4860215
Refactoring: rename android-jps-plugin to android-extensions-jps
2016-03-15 20:25:50 +03:00
Natalia Ukhorskaya
bf4c92d903
Refactoring: rename android-idea-plugin to android-extensions-idea
2016-03-15 20:25:48 +03:00
Natalia Ukhorskaya
7e6fa8ef17
Refactoring: rename android-compiler-plugin to android-extensions-compiler
2016-03-15 20:25:45 +03:00
Alexander Udalov
4553afbd0c
Make PropertyAccessorDescriptor#hasBody a front-end utility
2016-03-03 16:08:18 +03:00
Alexander Udalov
4779e3e9cf
Drop traces of old annotations from kotlin.jvm.internal
2016-03-02 19:01:04 +03:00
Alexander Udalov
647e188a08
Migrate bytecode text tests to multi-file framework
...
Get rid of BytecodeTextMultifileTestGenerated
2016-03-02 15:44:28 +03:00
Denis Zharkov
eb2c584578
Rename JetTypeMapper
2016-03-02 13:38:46 +03:00
Alexander Udalov
c4b4a23cb1
Minor, move abstract codegen tests out of 'generated'
...
Delete unused AbstractBlackBoxCodegenJava8Test
2016-02-27 16:22:25 +03:00
Alexander Udalov
4fb0453cea
Introduce multi-file test framework to codegen tests
...
Currently still only single-file tests are supported; this will be fixed in
subsequent commits
2016-02-27 15:40:01 +03:00
Alexander Udalov
1a5a077bd6
Replace map + filterNotNull -> mapNotNull in project
2016-02-20 19:05:30 +03:00