Andrey Breslav
fc2d9cdde6
getProvider() added to PackageFragmentDescriptor
2013-12-23 21:34:38 +04:00
Andrey Breslav
3eadd1403d
Looking up classes by fqName instead of complex package traversal
2013-12-23 21:34:38 +04:00
Andrey Breslav
da4245b712
JavaDescriptorResolver is accessible through JavaPackageFragmentDescriptor
2013-12-23 19:10:27 +04:00
Andrey Breslav
1d8547a789
Factory method moved to the top
2013-12-23 19:10:27 +04:00
Andrey Breslav
ed3932eca8
Extract interface JavaPackageFragmentDescriptor
2013-12-23 19:10:27 +04:00
Evgeny Gerashchenko
61d346e93d
Reverted changes in test data to fix tests.
2013-12-23 18:28:10 +04:00
Nikolay Krasko
bbf1dff818
KT-4158 Autopopup completion selects irrelevant keyword and confuses typing
...
#KT-4158 Fixed
2013-12-23 16:43:15 +04:00
Nikolay Krasko
69cb9008b3
Refactoring: rewrite JetKeywordCompletionContributor on Kotlin
2013-12-23 16:43:14 +04:00
Nikolay Krasko
085554b793
Temp commit: Rename before rewriting to kotlin
2013-12-23 16:43:14 +04:00
Nikolay Krasko
964fe6bbdb
Refactoring: change structure - each keyword has own filter
2013-12-23 16:43:13 +04:00
Nikolay Krasko
b39b2c1062
Refactoring: reformat with reordering entities
2013-12-23 16:43:13 +04:00
Evgeny Gerashchenko
f7d33d2297
Removed comments auto-generated by IDEA.
2013-12-23 15:58:36 +04:00
Evgeny Gerashchenko
2291b74bff
Not generating dumb code for empty directories in testData.
2013-12-23 15:56:07 +04:00
Evgeny Gerashchenko
e3743ace4f
Added validation that all non-trait classes have at least one supertype.
...
Fixed it for some class objects.
2013-12-23 15:56:07 +04:00
Natalia Ukhorskaya
4329c42e3f
Make unary minus and unary plus return int for byte and short
2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya
802c1b772f
Add gradle-plugin-core folder to exclude of JetConformanceTest
2013-12-23 13:46:00 +04:00
Natalia Ukhorskaya
c9b2cda07c
Add tests for usage of java annotation with default arguments
2013-12-23 13:45:59 +04:00
Natalia Ukhorskaya
5d2cb2f97b
Annotations inheritance. Either prohibit or implement correctly #KT-3225 Fixed
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya
cce6b952bd
Add warning when 'val' keyword on annotation parameter is missing
...
#KT-1900
2013-12-23 13:45:58 +04:00
Natalia Ukhorskaya
513a59d552
Check annotations on anonymous intializers
...
#KT-2208 Fixed
2013-12-23 13:45:57 +04:00
Natalia Ukhorskaya
359f2ddbda
Prohibit instantiation of annotation classes
...
#KT-3465 Fixed
2013-12-23 13:45:57 +04:00
Pavel V. Talanov
9fad61352b
Conversion on copy paste dialog:
...
Change text for dialog options to "Yes/No"
2013-12-22 16:50:09 +04:00
Pavel V. Talanov
7049b4e17e
Conversion on copy paste:
...
Refactor: prettify code
2013-12-22 16:50:08 +04:00
Pavel V. Talanov
5408c6ea77
Conversion on copy paste:
...
Copy elements that are partially selected as text
2013-12-22 16:50:07 +04:00
Pavel V. Talanov
3a4b7e07f8
Conversion on copy paste:
...
Copy element as text in case it can't be converted
2013-12-22 16:50:05 +04:00
Pavel V. Talanov
ab19669c43
Conversion on copy paste:
...
Only convert elements that are wholly selected
2013-12-22 16:50:04 +04:00
Pavel V. Talanov
da3b43fbf3
Refactor converter:
...
Convert JavaCopyPasteProcessor to kotlin (minor code prettifications)
2013-12-22 16:50:03 +04:00
Pavel V. Talanov
1464d1f7ad
Conversion on copy paste:
...
Introduce tests for conversion on copy paste
Don't insert additional end of line after each converted element (not needed since converter takes care of formatting)
Add test for some of the trivial cases of conversion on copy paste
2013-12-22 16:50:01 +04:00
Pavel V. Talanov
a25ced9aa0
Refactor Converter:
...
Minor: remove redundant public modifiers and fix formatting issues
2013-12-22 16:50:00 +04:00
Pavel V. Talanov
0e484d9a14
Converter tests:
...
Use JetTestUtils.assertEqualsToFile for comparison, write test data and fail if test data is absent
2013-12-22 16:49:58 +04:00
Pavel V. Talanov
1570a3792b
Converter tests:
...
Change test data files extension to "java"
2013-12-22 16:49:57 +04:00
Pavel Talanov
d69c61c972
Converter:
...
Preserve white spaces for top members (classes, package statements, comments)
2013-12-22 16:49:54 +04:00
Pavel Talanov
098a80a2af
Converter:
...
Member comments are preserved (not only doc comments)
2013-12-22 16:49:53 +04:00
Pavel Talanov
f08861c14a
Converter:
...
Wrong test data fixed
2013-12-22 16:49:52 +04:00
Pavel Talanov
35f9d7b834
Converter:
...
Preserve formatting in member lists
Introduce MemberList
Refactor handling of static/non static members in classes
2013-12-22 16:49:50 +04:00
Pavel V. Talanov
30c016fa2a
Converter tests:
...
Add tests for preserving white spaces between class members
2013-12-22 16:49:49 +04:00
Pavel V. Talanov
7f88de1dba
Converter tests:
...
White spaces in member lists are preserved
2013-12-22 16:49:47 +04:00
Pavel Talanov
4b1b3aa122
Refactor Converter:
...
Minor: Move StatementList class
2013-12-22 16:49:46 +04:00
Pavel Talanov
5dc790246a
Refactor Converter:
...
Minor: change naming convention of EMPTY_* constants to Empty
2013-12-22 16:49:45 +04:00
Pavel Talanov
8577d3ca55
Converter:
...
Preserve white spaces inside code blocks
Introduce WhiteSpaceSeparatedElementList which keeps track of whitespaces
Introduce StatementList
Change old test data accordingly
2013-12-22 16:49:43 +04:00
Pavel Talanov
fabfcb4271
Refactor converter:
...
Minor: Fix "deprecated" warnings
2013-12-22 16:49:42 +04:00
Pavel Talanov
d7e1c1f0a2
Refactor converter:
...
Minor: Replace *to* naming convention by convert* convention
2013-12-22 16:49:40 +04:00
Pavel Talanov
ffbbbc8529
Refactor converter:
...
Refactor handling of type parameter list
2013-12-22 16:49:39 +04:00
Pavel Talanov
9ed6fe8888
Refactor converter:
...
Refactor handling of doc comments
2013-12-22 16:46:56 +04:00
Pavel Talanov
f8c8e59f94
Refactor converter:
...
Remove unneeded filtering
2013-12-22 16:46:54 +04:00
Pavel V. Talanov
04edb3d742
Converter:
...
Fix inadequate formatting
2013-12-22 16:46:53 +04:00
Pavel V. Talanov
741e031ff1
Converter:
...
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00
Pavel V. Talanov
ea6b751645
Converter:
...
Place function type parameters before function name
2013-12-22 16:46:49 +04:00
Pavel V. Talanov
f912c0bc65
Converter: Fix converting a single import statement
...
Untested (tests for copy paste processor needed)
2013-12-22 16:46:48 +04:00
Pavel V. Talanov
df74352ea3
Converter:
...
Fix converting import list
Add tests for imports problem
Add 'element' test type
2013-12-22 16:46:46 +04:00