Dmitry Jemerov
95683bbf38
remove old API usage inspection
2016-01-28 14:13:57 +01:00
Michael Bogdanov
bb63bcd520
Removed obsolete tests
2015-12-29 16:45:24 +03:00
Michael Bogdanov
2e73559f33
Removed 'INSTANCE$' field generation
2015-12-24 13:59:44 +03:00
Michael Bogdanov
aeb6486473
Deprecated 'INSTANCE$' replaced with 'INSTANCE'
2015-12-24 13:59:43 +03:00
Dmitry Jemerov
c83b6ed3a5
Inspection for migrating Kotlin stdlib API usages in Java code
2015-12-15 12:45:40 +01:00
Stanislav Erokhin
1890b8cbd3
Removed InvokeOnExtensionFunctionWithExplicitReceiverFix
2015-12-11 17:01:03 +03:00
Dmitry Jemerov
e97e82d119
use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
2015-12-09 13:55:40 +01:00
Alexey Sedunov
8fcda32287
Unit Test Tooling: Support Go to Test/Create Test actions for top-level declarations
...
#KT-10133 Fixed
2015-12-08 16:20:47 +03:00
Dmitry Petrov
f0e467e474
Rewrite mixed multiple- and single-condition 'when' properly.
...
#KT-10229 Fixed
2015-11-30 14:43:03 +03:00
Dmitry Petrov
da90c21284
Warn about comma-separated conditions in when without argument.
...
See KT-5143.
2015-11-25 15:39:23 +03:00
Valentin Kipyatkov
d829f585f7
Changes on code review
2015-11-11 01:26:20 +03:00
Valentin Kipyatkov
4f9866f62f
Created quickfix for KT-9805
2015-11-11 01:26:20 +03:00
Svetlana Isakova
7150be7c67
Minor: fixed error message
2015-10-22 19:09:46 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Valentin Kipyatkov
0a5255ee4e
Dropped inspection for functions matching operator convention - only intention left
2015-10-19 18:36:06 +03:00
Pavel V. Talanov
bb77890a4e
Drop DeprecatedFacadeUsageInspection
...
(cherry picked from commit f18b95d)
2015-10-19 16:03:17 +03:00
Mikhail Glukhikh
a4af6a3076
data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
2015-10-19 15:24:28 +03:00
Valentin Kipyatkov
563ad4bab2
Added test
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
5ce0ed37b1
Moved file to another package
2015-10-19 09:43:12 +03:00
Valentin Kipyatkov
d1de2f65c9
Rewritten AddOperatorModifierInspection to be based on an intention (shouldn't we drop the inspection at all?)
2015-10-19 09:43:12 +03:00
Yan Zhulanow
9ae3b0fa9c
Drop loading Java annotation methods as functions
2015-10-16 22:13:34 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Pavel V. Talanov
d603142cc6
Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
...
For this inspection three kinds of fixes are potentially available:
- Add 'const' modifier to kotlin property
- Add '@JvmField' annotation to kotlin property
- Change field reference to getter invocation
In case user chooses to 'cleanup code', these fixes are prioritized in this order
2015-10-14 14:42:26 +03:00
Andrey Breslav
4f63d47f82
Intention action for hiddnen declarations fixed
2015-10-13 01:45:02 +03:00
Valentin Kipyatkov
cbf4e4a973
Corrected order of modifier insertion
2015-10-12 15:10:39 +03:00
Dmitry Jemerov
23e13d4043
fix type parameter migration for extension functions
2015-10-12 13:45:44 +02:00
Pavel V. Talanov
f4ef9647b1
Idea: add quick fix for replacing usages of deprecated "INSTANCE$" field
2015-10-09 16:25:19 +03:00
Dmitry Jemerov
1fdf08bec5
quickfix to migrate function type parameter lists to new syntax
2015-10-06 16:20:48 +02:00
Alexander Udalov
012a2971ff
Quick-fix to add type to LHS of incorrect callable references
2015-10-03 04:37:05 +03:00
Dmitry Jemerov
ee1175d5e5
fix 'operator' modifier inspection
...
#KT-9349 Fixed
2015-09-28 14:35:41 +02:00
Dmitry Jemerov
8b0ccce4f1
code review; add 'operator' also to next() and hasNext(); check toplevel functions
2015-09-25 20:00:28 +02:00
Dmitry Jemerov
41d1cf6083
check return type of contains() and compareTo()
2015-09-25 20:00:26 +02:00
Dmitry Jemerov
bda0bd1de1
quickfix to add 'operator' keyword to operator-like functions
2015-09-25 20:00:19 +02:00
Dmitry Jemerov
32e6a6e3a1
inspection and quickfix to replace usages of deprecated package facades
2015-09-25 18:29:06 +02:00
Dmitry Jemerov
e1acc8744d
"introduce backing property" intention
2015-09-25 18:25:37 +02:00
Dmitry Jemerov
dadef12723
backing field migration fixes
2015-09-25 18:25:36 +02:00
Denis Zharkov
3f6cadf9b7
Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
...
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Denis Zharkov
c6377a0664
Drop everything related to lambda syntax deprecation
2015-09-25 08:29:26 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Denis Zharkov
9dada595b6
Replace deprecated annotations with modifiers in testData
2015-09-18 10:14:41 +03:00
Denis Zharkov
bae3320d52
Get rid of deprecated annotations in testData
2015-09-18 10:14:32 +03:00
Denis Zharkov
38bafaa35c
Drop annotations deprecation related things: diagnostics, quickfixes
2015-09-18 09:34:25 +03:00
Denis Zharkov
372e35436a
Implement annotation related migrational quick fixes
2015-09-10 10:04:59 +03:00
Valentin Kipyatkov
16650e8f5c
Conflicting extension is recognized as redundant for setter with expression body
2015-09-03 15:55:57 +03:00
Valentin Kipyatkov
086d29a44a
Added second quickfix on conflicting extension to mark it hidden and deprecated
2015-09-03 15:55:56 +03:00
Valentin Kipyatkov
10f7d6d7dd
Inspection (and quickfix) for extension propeties conflicting with synthetic ones
2015-09-03 15:55:54 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Denis Zharkov
e3c3af6aab
Change MISSING_CONSTRUCTOR_KEYWORD severity to error
...
And adjust testData
2015-06-12 11:23:13 +03:00
Denis Zharkov
980499e331
Drop javaClass in annotations related things from inspections/quickfixes
2015-06-12 09:55:09 +03:00
Denis Zharkov
26864a4407
Get rid of annotation syntax deprecation related things
2015-06-12 09:23:32 +03:00