Mikhail Glukhikh
1a8181bdc4
Only private constructors for sealed / enum classes #KT-12377 Fixed
...
Also #KT-8497 Fixed
2016-05-23 13:08:57 +03:00
Mikhail Glukhikh
3930184f1f
Can be parameter inspection: usage in secondary constructor is now handled as property use
2016-05-18 17:46:05 +03:00
Mikhail Glukhikh
bc7fbdc0a2
Can be parameter inspection: minor test correction
2016-05-18 17:46:01 +03:00
Mikhail Glukhikh
b026969144
Can be parameter inspection: handle usage in super call; again #KT-10819 Fixed
2016-05-18 17:45:57 +03:00
Mikhail Glukhikh
8920e67c5a
Unused symbol: secondary constructors are also under analysis #KT-10812 Fixed
2016-05-13 13:22:25 +03:00
Mikhail Glukhikh
be2b37db5e
Unused symbol inspection: properties declared in primary constructor are now checked on 'Used' annotations #KT-11120 Fixed
2016-05-11 19:08:42 +03:00
Mikhail Glukhikh
48ba63fa27
Can be parameter inspection: usages in all functions are now handled as property usage
2016-05-10 10:53:34 +03:00
Kirill
5b6a8dcfd3
Don't mark magic Serializable methods as unused
...
Fixes #KT-10635
2016-05-06 15:33:55 +02:00
Valentin Kipyatkov
e1d8c72aa7
KT-10770 IDEA cannot keep import if a type is only referenced by kdoc.
...
#KT-10770 Fixed
2016-04-29 11:23:23 +03:00
Valentin Kipyatkov
306edef23c
Highlighting of redundant semicolons
...
#KT-5010 Fixed
2016-04-29 11:23:22 +03:00
Mikhail Glukhikh
1744897561
Can be parameter inspection: use inside object literals is now handled as "property use"
2016-04-27 18:41:48 +03:00
Mikhail Glukhikh
64ae9af3a4
Can be parameter inspection: use in selector position is now always handled as "property use"
2016-04-27 18:41:45 +03:00
Mikhail Glukhikh
795b92461e
Can be parameter inspection: use inside function literals is now handled as "property use" #KT-11949 Fixed
2016-04-27 18:41:41 +03:00
Mikhail Glukhikh
a12faf5baf
KtDeclaration.containingClassOrObject now works correctly for primary constructor and its parameters #KT-11982 Fixed
2016-04-21 14:21:40 +03:00
Valentin Kipyatkov
50e7079efc
Better message for CanBeValInspection
2016-04-20 14:30:53 +03:00
Valentin Kipyatkov
ecdaaea88d
Never report companion object as unused
...
#KT-11366 Fixed
2016-04-20 14:30:52 +03:00
Mikhail Glukhikh
c7b2042b77
Do not suggest to add variance modifier if both in and out are possible
2016-04-18 13:40:55 +03:00
Mikhail Glukhikh
e60930d5ce
Add variance modifier fix corrected: primary constructor parameters are taken into account
2016-04-18 13:40:50 +03:00
Denis Zharkov
2f0b052540
Fix infinite loop in CanBeValInspection
...
Obviously there should be 'return' instead of 'continue'
Otherwise the loop will not end
#KT-11891 Fixed
2016-04-14 14:01:39 +03:00
Alexey Sedunov
9bf395a4cd
Light Classes: Skip irrelevant overloads when looking for light parameter
...
#KT-11868 Fixed
2016-04-13 12:20:20 +03:00
Mikhail Glukhikh
d79e3f322f
Redundant modality modifier inspection #KT-11450 Fixed
2016-04-11 16:32:43 +03:00
Mikhail Glukhikh
1d83a1a97c
Can be parameter inspection #KT-10819 Fixed
2016-04-11 16:32:26 +03:00
Valentin Kipyatkov
a9fe999e0e
Fixed StackOverflow in CanBeValInspection.kt
2016-04-07 18:50:31 +03:00
Mikhail Glukhikh
1b9c6e0ea2
Add variance (in / out) modifier inspection #KT-11090 Fixed
2016-04-05 17:47:29 +03:00
Mikhail Glukhikh
a541aaafd8
Protected in final inspection: protected modifier is effectively private in final classes #KT-6674 Fixed
2016-03-28 19:03:16 +03:00
Mikhail Glukhikh
20bac6178c
Array in data class inspection: warning on array properties in data classes #KT-10299 Fixed
2016-03-28 19:00:16 +03:00
Valentin Kipyatkov
28c5dde875
KT-7715 Highlight var's that can be replaced by val's
...
#KT-7715 Fixed
2016-03-22 18:01:52 +03:00
Yan Zhulanow
f2edcd99a8
Illegal Dalvik identifier inspection
2016-02-05 17:28:50 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Valentin Kipyatkov
4c62304a1d
KT-10337 Object marked as unused
...
#KT-10337 Fixed
2016-01-18 17:40:04 +03:00
Pavel V. Talanov
db07d783a2
Member is considered deprecated if it overrides only deprecated members
...
Property accessor is considered deprecated when the property is
Provide IDE inspection to strikeout members overriding deprecated members (like in java)
2016-01-15 17:53:23 +03:00
Dmitry Jemerov
e47e9f6763
inspection and code cleanup for redundant visibility modifiers
2016-01-05 13:31:43 +01:00
Pavel V. Talanov
1c4d4f3e36
Create class descriptors for local classes in illegal positions
...
Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
2015-12-29 15:56:44 +03:00
Andrey Breslav
a7e7d53e2b
Reserve "async* {}", extend the quick-fix
2015-12-21 07:15:37 +03:00
Nikolay Krasko
afc1e24571
Quick fix for deprecated async syntax
2015-12-21 07:15:37 +03:00
Nikolay Krasko
697132561f
Allow to override suppression key for inspections
2015-12-19 14:32:38 +03:00
Nikolay Krasko
36210f0a27
Allow to suppress kotlin inspections with Suppress() annotation
2015-12-19 14:32:36 +03:00
Evgeny Gerashchenko
9aa38d99fb
KT-8365 Bogus "Receiver never used" warning when receiver is used in invoke() convention call
...
#KT-8365 fixed
2015-12-17 13:31:43 +03:00
Stanislav Erokhin
1890b8cbd3
Removed InvokeOnExtensionFunctionWithExplicitReceiverFix
2015-12-11 17:01:03 +03:00
Alexander Udalov
7b3b157707
Remove PropertyMetadata from project and bytecode, migrate code to KProperty
2015-11-27 23:34:34 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Alexey Sedunov
b6a5d30469
Inspections: Forbid equals/hashCode inspection on object with explicit supertypes
...
#KT-9778 Fixed
2015-11-24 14:03:48 +03:00
Dmitry Jemerov
a80930bf15
code cleanup can replace infix calls to library functions with ordinary calls
...
#KT-9976 Fixed
2015-11-20 18:22:05 +01:00
Dmitry Jemerov
30084dff9d
ensure that the short name of the Kotlin unused import inspection does not clash with Java (KT-10046)
2015-11-20 13:54:40 +01:00
Valentin Kipyatkov
4f9866f62f
Created quickfix for KT-9805
2015-11-11 01:26:20 +03:00
Dmitry Jemerov
736b496f6a
drop deprecated @platformName and @platformStatic annotations
2015-11-02 17:00:44 +01:00
Valentin Kipyatkov
2b3694a77e
Do not drop use of SAM-constructor when it's required for labeled return
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
891e033d5b
KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style
...
#KT-9664 Fixed
2015-10-27 15:07:59 +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
Pavel V. Talanov
3a34dc0efe
minor: fixes in test data
...
(cherry picked from commit 6ea4fbd)
2015-10-19 16:03:16 +03:00