idea/community.git
4 years agoMerge branch 'master' of ../../merge/stream-debugger-plugin into stream-debugger
Vitaliy.Bibaev [Tue, 26 Sep 2017 08:57:52 +0000 (11:57 +0300)]
Merge branch 'master' of ../../merge/stream-debugger-plugin into stream-debugger

4 years agoDEXP-165126, DEXP-165127
Denis Fokin [Tue, 26 Sep 2017 08:33:15 +0000 (11:33 +0300)]
DEXP-165126, DEXP-165127

IndexOutOfBoundsException: update failed for AnAction with ID=Vcs.ShowTabbedFileHistory: Index: 11, Size: 9 (Index: 11, Size: 9)

4 years agoProjectBytecodeAnalysis: isInsideDummyAndroidJar reused (IDEA-CR-24874)
Tagir Valeev [Tue, 26 Sep 2017 08:23:44 +0000 (15:23 +0700)]
ProjectBytecodeAnalysis: isInsideDummyAndroidJar reused (IDEA-CR-24874)

4 years ago`ULiteralExpression.psiLanguageInjectionHost` extension-property added
Nicolay Mitropolsky [Fri, 22 Sep 2017 18:06:10 +0000 (21:06 +0300)]
`ULiteralExpression.psiLanguageInjectionHost` extension-property added

4 years agoUAST-java: fix for methods parameters converting
Nicolay Mitropolsky [Fri, 22 Sep 2017 17:45:08 +0000 (20:45 +0300)]
UAST-java: fix for methods parameters converting

4 years agoEA-108027
Denis Fokin [Tue, 26 Sep 2017 06:55:15 +0000 (09:55 +0300)]
EA-108027

4 years agoDataFlowRunner: remove TOO_EXPENSIVE_HASH
Tagir Valeev [Tue, 26 Sep 2017 06:26:55 +0000 (13:26 +0700)]
DataFlowRunner: remove TOO_EXPENSIVE_HASH

Fixes IDEA-179369 A method calling a constructor with conditional expressions as parameters leads the method itself to be marked as "Too complex to analyse"

4 years agoRevert "DFA: track unresolved variable"
Tagir Valeev [Tue, 26 Sep 2017 06:08:23 +0000 (13:08 +0700)]
Revert "DFA: track unresolved variable"

This reverts commit 43c42ee

4 years agoBytecodeAnalysisIndex: exclude android.jar from index
Tagir Valeev [Tue, 26 Sep 2017 05:51:02 +0000 (12:51 +0700)]
BytecodeAnalysisIndex: exclude android.jar from index

android.jar contains method stubs which forces _->fail contracts for every single method
Fixes IDEA-179334 Constant conditions false positive when calling Gson.fromJson() in try block

4 years agoFuseStreamOperationsInspection: strings externalized pycharm/173.2705 pycharm/173.2706
Tagir Valeev [Tue, 26 Sep 2017 04:14:35 +0000 (11:14 +0700)]
FuseStreamOperationsInspection: strings externalized

Review ID: IDEA-CR-24873

4 years agoFuseStreamOperationsInspection
Tagir Valeev [Tue, 26 Sep 2017 04:01:37 +0000 (11:01 +0700)]
FuseStreamOperationsInspection

Fixes IDEA-179303 Suggest replacing Collectors.toList()/toSet() + collection constructor with Collectors.toCollection

4 years agoIDEA-179490 "Can be replaced with single expression in functional style" in Java... dbe/173.2702 webstorm/173.2704
Tagir Valeev [Tue, 26 Sep 2017 02:44:21 +0000 (09:44 +0700)]
IDEA-179490 "Can be replaced with single expression in functional style" in Java fails when field name matches class name

4 years agoCollectMigration: prepare to IncorporateStreamOperationsInspection; fix NewListTermin...
Tagir Valeev [Mon, 25 Sep 2017 10:31:16 +0000 (17:31 +0700)]
CollectMigration: prepare to IncorporateStreamOperationsInspection; fix NewListTerminal to support collections only

4 years agomove experimental feature EP to platform-api appcode/173.2698 clion/173.2701 idea/173.2696 phpstorm/173.2697 pycharm/173.2695 pycharm/173.2699 rubymine/173.2700
Konstantin Bulenkov [Mon, 25 Sep 2017 22:42:11 +0000 (01:42 +0300)]
move experimental feature EP to platform-api

4 years agoRevert "Do not scan file for changed range if we already know it exactly" until a...
Alexey Gopachenko [Mon, 25 Sep 2017 21:39:37 +0000 (23:39 +0200)]
Revert "Do not scan file for changed range if we already know it exactly" until a multiple pending events are taken care of and test coverage added.

This reverts commit 42c6cec

4 years agoFix paragraph separators for context help labels
Svetlana.Zemlyanskaya [Mon, 25 Sep 2017 21:11:44 +0000 (23:11 +0200)]
Fix paragraph separators for context help labels

4 years agofix category
Dennis Ushakov [Mon, 25 Sep 2017 20:34:39 +0000 (23:34 +0300)]
fix category

4 years agofix diagnostics
Dennis Ushakov [Mon, 25 Sep 2017 20:22:56 +0000 (23:22 +0300)]
fix diagnostics

4 years ago[gui-test] fix PluginTestCase#installPluginFromDisk
Sergey Karashevich [Mon, 25 Sep 2017 19:29:45 +0000 (22:29 +0300)]
[gui-test] fix PluginTestCase#installPluginFromDisk

4 years ago[gui-test] add a way to pass custom VM options to a fork IDE start
Sergey Karashevich [Mon, 25 Sep 2017 19:26:22 +0000 (22:26 +0300)]
[gui-test] add a way to pass custom VM options to a fork IDE start

Since this commit it is a possible to pass custom VM options to a new IDE process. Just add VM options to a test or suite with "-Dpass.custom.option=value" to pass "-Dcustom.option=value" into IDE.

4 years agoRevert "Use try-with-resources (IDEA-CR-24263)"
Kirill Likhodedov [Mon, 25 Sep 2017 19:21:19 +0000 (22:21 +0300)]
Revert "Use try-with-resources (IDEA-CR-24263)"

This reverts commit 3dc2aed

The 'util' module must use Java 6.

4 years agoMerge branch 'traff/helpers'
Dmitry Trofimov [Mon, 25 Sep 2017 18:42:34 +0000 (20:42 +0200)]
Merge branch 'traff/helpers'

4 years ago[groovy] check isDefinitelyKeyOfMap() after trying to resolve locals
Daniil Ovchinnikov [Mon, 25 Sep 2017 18:18:14 +0000 (20:18 +0200)]
[groovy] check isDefinitelyKeyOfMap() after trying to resolve locals

4 years agoFixes after review (PY-9537)
Elizaveta Shashkova [Mon, 25 Sep 2017 15:00:36 +0000 (18:00 +0300)]
Fixes after review (PY-9537)

4 years agoFix a test for the new behaviour (PY-9537)
Elizaveta Shashkova [Sun, 17 Sep 2017 14:51:51 +0000 (17:51 +0300)]
Fix a test for the new behaviour (PY-9537)

4 years agoFix garbage output after Jumping to Cursor (PY-9537)
Elizaveta Shashkova [Sun, 17 Sep 2017 12:46:43 +0000 (15:46 +0300)]
Fix garbage output after Jumping to Cursor (PY-9537)

4 years agoFix focus requesting for error stepping (PY-9537)
Elizaveta Shashkova [Sun, 17 Sep 2017 12:30:10 +0000 (15:30 +0300)]
Fix focus requesting for error stepping (PY-9537)

4 years agoUpdate windows binaries (PY-9537)
Elizaveta Shashkova [Tue, 12 Sep 2017 14:46:25 +0000 (17:46 +0300)]
Update windows binaries (PY-9537)

4 years agoFix "set next statement" for frame evaluation debugger (PY-9537)
Elizaveta Shashkova [Tue, 12 Sep 2017 14:25:20 +0000 (17:25 +0300)]
Fix "set next statement" for frame evaluation debugger (PY-9537)

4 years agoAdd an action to appropriate menus and add mnemonics (PY-9537)
Elizaveta Shashkova [Fri, 8 Sep 2017 11:36:56 +0000 (14:36 +0300)]
Add an action to appropriate menus and add mnemonics (PY-9537)

4 years agoCompatibility with PyDev debugger (PY-9537)
Elizaveta Shashkova [Fri, 8 Sep 2017 09:08:39 +0000 (12:08 +0300)]
Compatibility with PyDev debugger (PY-9537)

4 years agoAdd a test for Set next statement action (PY-9537)
Elizaveta Shashkova [Thu, 7 Sep 2017 15:02:33 +0000 (18:02 +0300)]
Add a test for Set next statement action (PY-9537)

4 years agoRewrite errors showing with callbacks (PY-9537)
Elizaveta Shashkova [Thu, 7 Sep 2017 11:57:49 +0000 (14:57 +0300)]
Rewrite errors showing with callbacks (PY-9537)

4 years agoFix error message for jumping to another frame (PY-9537)
Elizaveta Shashkova [Tue, 5 Sep 2017 15:54:50 +0000 (18:54 +0300)]
Fix error message for jumping to another frame (PY-9537)

4 years agoAvoid soe in case of errors (PY-9537)
Elizaveta Shashkova [Tue, 5 Sep 2017 13:11:39 +0000 (16:11 +0300)]
Avoid soe in case of errors (PY-9537)

4 years agoAlways send resume command to UI in order to avoid races (PY-9537)
Elizaveta Shashkova [Tue, 5 Sep 2017 12:21:29 +0000 (15:21 +0300)]
Always send resume command to UI in order to avoid races (PY-9537)

4 years agoHandle errors during jump and show them in UI (PY-9537)
Elizaveta Shashkova [Mon, 4 Sep 2017 17:59:39 +0000 (20:59 +0300)]
Handle errors during jump and show them in UI (PY-9537)

4 years agoFix exception with removing temp breakpoint (PY-9537)
Elizaveta Shashkova [Fri, 1 Sep 2017 11:05:32 +0000 (14:05 +0300)]
Fix exception with removing temp breakpoint (PY-9537)

4 years agoInitial UI for "Set next statement" action (PY-9537)
Elizaveta Shashkova [Thu, 31 Aug 2017 14:56:15 +0000 (17:56 +0300)]
Initial UI for "Set next statement" action (PY-9537)

4 years agoTemporary disable kotlin language support
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:45:58 +0000 (20:45 +0300)]
Temporary disable kotlin language support

4 years agoFix typo
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:17:06 +0000 (20:17 +0300)]
Fix typo

4 years agoAvoid usages of TraceExpressionBuilderImpl.LINE_SEPARATOR
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:11:35 +0000 (20:11 +0300)]
Avoid usages of TraceExpressionBuilderImpl.LINE_SEPARATOR

4 years agoUse kotlin expression builder
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:11:07 +0000 (20:11 +0300)]
Use kotlin expression builder

4 years agoMute kotlin tests
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:10:31 +0000 (20:10 +0300)]
Mute kotlin tests

4 years agoFix bug when toCollection operations do not work correctly
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:09:58 +0000 (20:09 +0300)]
Fix bug when toCollection operations do not work correctly

4 years agoFixes after merge operation
Vitaliy.Bibaev [Mon, 25 Sep 2017 17:07:54 +0000 (20:07 +0300)]
Fixes after merge operation

4 years agoCleanup (formatting; warnings) clion/173.2694
Roman Shevchenko [Mon, 25 Sep 2017 17:04:29 +0000 (19:04 +0200)]
Cleanup (formatting; warnings)

4 years agocosmetics in naming conventions (IDEA-179245)
Anna.Kozlova [Mon, 25 Sep 2017 16:58:28 +0000 (18:58 +0200)]
cosmetics in naming conventions (IDEA-179245)

4 years agojunit: ensure classes are read in UTF-8 (IDEA-179384)
Anna.Kozlova [Mon, 25 Sep 2017 16:09:51 +0000 (18:09 +0200)]
junit: ensure classes are read in UTF-8 (IDEA-179384)

4 years ago[java] makes IDEA independent of "java.xml.ws.annotation" module (ZD-1092040)
Roman Shevchenko [Mon, 25 Sep 2017 16:57:25 +0000 (18:57 +0200)]
[java] makes IDEA independent of "java.xml.ws.annotation" module (ZD-1092040)

4 years ago[java] fixes "scroll from source" for Java modules (IDEA-179299)
Roman Shevchenko [Mon, 25 Sep 2017 16:33:34 +0000 (18:33 +0200)]
[java] fixes "scroll from source" for Java modules (IDEA-179299)

4 years agoDon't highlight imported dirs in `from source import ...` statements.
Semyon Proshev [Mon, 25 Sep 2017 16:29:00 +0000 (19:29 +0300)]
Don't highlight imported dirs in `from source import ...` statements.

DjangoInspectionsTest.testMetaAccessAfter8() fixed.

4 years agoTreat two NULL_COLOR_MARKERs as equal
Rustam Vishnyakov [Mon, 25 Sep 2017 16:21:04 +0000 (19:21 +0300)]
Treat two NULL_COLOR_MARKERs as equal

4 years agoperformance: check file parent file existence on slow error path
Maxim.Mossienko [Mon, 25 Sep 2017 15:41:27 +0000 (17:41 +0200)]
performance: check file parent file existence on slow error path

4 years agoDon't use cache on load in SVG viewer
Anton Tarasov [Mon, 25 Sep 2017 15:46:54 +0000 (18:46 +0300)]
Don't use cache on load in SVG viewer

4 years agoMerge remote-tracking branch 'origin/master' into kotlin
Vitaliy.Bibaev [Mon, 25 Sep 2017 15:47:24 +0000 (18:47 +0300)]
Merge remote-tracking branch 'origin/master' into kotlin

# Conflicts:
# src/main/java/com/intellij/debugger/streams/lib/impl/TerminalOperations.kt
# src/main/java/com/intellij/debugger/streams/ui/impl/EvaluationAwareTraceWindow.java
# src/main/java/com/intellij/debugger/streams/ui/impl/FlatView.kt
# src/main/java/com/intellij/debugger/streams/ui/impl/PositionsAwareCollectionView.kt
# testData/debug/outs/exceptionInIntermediateCall.out
# testData/streamex/outs/filterBy.out

4 years agoIDEA-139173 Inspection for @Presentation#icon, refactor IconsReferencesContributor
Yaroslav Pankratyev [Mon, 25 Sep 2017 15:28:03 +0000 (22:28 +0700)]
IDEA-139173 Inspection for @Presentation#icon, refactor IconsReferencesContributor

4 years agoPY-22710: Django 2.0 support initial commit
Ilya.Kazakevich [Mon, 25 Sep 2017 15:13:32 +0000 (18:13 +0300)]
PY-22710: Django 2.0 support initial commit

PyPackage represents django and its version, and PyRequirement represents
django version range.

4 years agoAlways returning null breaks the logic
Rustam Vishnyakov [Mon, 25 Sep 2017 14:57:35 +0000 (17:57 +0300)]
Always returning null breaks the logic

4 years agoGreg's patch for broken colors handling (IDEA-179502)
Rustam Vishnyakov [Mon, 25 Sep 2017 14:15:07 +0000 (17:15 +0300)]
Greg's patch for broken colors handling (IDEA-179502)

4 years agoKotlin plugin downgraded to 1.1.4
nik [Mon, 25 Sep 2017 15:07:14 +0000 (18:07 +0300)]
Kotlin plugin downgraded to 1.1.4

Until compilation of modules containing Kotlin and Groovy files is fixed (KT-20446).

4 years agouse log.debug instead of log.warn appcode/173.2684 clion/173.2685
Sergey Malenkov [Mon, 25 Sep 2017 14:50:13 +0000 (17:50 +0300)]
use log.debug instead of log.warn

4 years agoisEntryPoint in unused declaration from default profile (IDEA-CR-24741)
Anna.Kozlova [Mon, 25 Sep 2017 13:23:20 +0000 (15:23 +0200)]
isEntryPoint in unused declaration from default profile (IDEA-CR-24741)

4 years agoread action (IDEA-CR-24742)
Anna.Kozlova [Mon, 25 Sep 2017 13:18:09 +0000 (15:18 +0200)]
read action (IDEA-CR-24742)

4 years agoUpdate version of intellij gradle plugin
Vitaliy.Bibaev [Mon, 25 Sep 2017 14:43:39 +0000 (17:43 +0300)]
Update version of intellij gradle plugin

4 years agoIDEA-CR-24258 check that parentheses belong to an argument list
Ekaterina Tuzova [Mon, 25 Sep 2017 14:37:03 +0000 (17:37 +0300)]
IDEA-CR-24258 check that parentheses belong to an argument list

4 years agoIDEA-CR-24257 comment
Ekaterina Tuzova [Mon, 25 Sep 2017 13:52:45 +0000 (16:52 +0300)]
IDEA-CR-24257 comment

allow quick documentation for the element docstrings

4 years ago EA-106951 - NPE: PySciViewAction.showConsoleToolwindow
Ekaterina Tuzova [Mon, 25 Sep 2017 09:02:31 +0000 (12:02 +0300)]
 EA-106951 - NPE: PySciViewAction.showConsoleToolwindow

4 years agocleanup
Ekaterina Tuzova [Fri, 15 Sep 2017 09:56:20 +0000 (12:56 +0300)]
cleanup

4 years agorelevant method chain completion: chains ended with casts are valid too phpstorm/173.2679
Dmitry Batkovich [Mon, 25 Sep 2017 14:34:21 +0000 (17:34 +0300)]
relevant method chain completion: chains ended with casts are valid too

4 years agocalculate a modality state for component on EDT
Sergey Malenkov [Mon, 25 Sep 2017 14:24:45 +0000 (17:24 +0300)]
calculate a modality state for component on EDT

4 years agoIDEA-179514 Non-docked toolwindow are not closed automatically on switching to editor
Denis Fokin [Mon, 25 Sep 2017 14:21:46 +0000 (17:21 +0300)]
IDEA-179514 Non-docked toolwindow are not closed automatically on switching to editor

4 years agoSync with typeshed @ b8f7ba8e8a92677400f878889582abe39c6050b4
Semyon Proshev [Mon, 25 Sep 2017 12:47:04 +0000 (15:47 +0300)]
Sync with typeshed @ b8f7ba8e8a92677400f878889582abe39c6050b4

4 years agointroduce / use fixed set of options used for creating PersistentHashMapValueStorage
Maxim.Mossienko [Mon, 25 Sep 2017 09:56:52 +0000 (11:56 +0200)]
introduce / use fixed set of options used for creating PersistentHashMapValueStorage

Same option set is used after compaction

4 years agoDo not scan file for changed range if we already know it exactly
Alexey Gopachenko [Mon, 25 Sep 2017 14:07:17 +0000 (16:07 +0200)]
Do not scan file for changed range if we already know it exactly

4 years agoBuilt-in server: CORS — add X-Requested-With to allowed headers
Vladimir Krivosheev [Mon, 25 Sep 2017 14:01:45 +0000 (16:01 +0200)]
Built-in server: CORS — add X-Requested-With to allowed headers

4 years agoupdate angular broken versions
Dennis Ushakov [Mon, 25 Sep 2017 13:53:57 +0000 (16:53 +0300)]
update angular broken versions

4 years agovcs: remove unnecessary `setDragEnabled`
Aleksey Pivovarov [Mon, 25 Sep 2017 13:21:04 +0000 (16:21 +0300)]
vcs: remove unnecessary `setDragEnabled`

* it will be enabled by DnDAwareTree

4 years agovcs: fix TODO in ChangesListView.java
stsypanov [Sun, 24 Sep 2017 18:36:23 +0000 (21:36 +0300)]
vcs: fix TODO in ChangesListView.java

GitHub pull request:
https://github.com/JetBrains/intellij-community/pull/631

4 years agoDisable shadow in HelpTooltips
Kirill Kirichenko [Mon, 25 Sep 2017 13:22:02 +0000 (16:22 +0300)]
Disable shadow in HelpTooltips

4 years ago[jvm-lang] port createVoidMethodIfFixPossible
Daniil Ovchinnikov [Mon, 25 Sep 2017 12:36:37 +0000 (14:36 +0200)]
[jvm-lang] port createVoidMethodIfFixPossible

4 years agoUse try-with-resources (IDEA-CR-24263)
Dmitry Trofimov [Mon, 25 Sep 2017 13:12:30 +0000 (15:12 +0200)]
Use try-with-resources (IDEA-CR-24263)

4 years agoIDEA-179300 Use another notification UI for the HiDPI notification
Alexander Lobas [Mon, 25 Sep 2017 13:07:47 +0000 (16:07 +0300)]
IDEA-179300 Use another notification UI for the HiDPI notification

4 years agoLVTI: explicit variable type is redundant (IDEA-179177)
Anna Kozlova [Mon, 25 Sep 2017 07:12:02 +0000 (10:12 +0300)]
LVTI: explicit variable type is redundant (IDEA-179177)

4 years agoMerge pull request #49 from bibaev/ui-improvements
Vitaliy Bibaev [Mon, 25 Sep 2017 12:55:33 +0000 (15:55 +0300)]
Merge pull request #49 from bibaev/ui-improvements

Improve highlighting for linked items

4 years agoNPE fix
Denis Fokin [Mon, 25 Sep 2017 12:52:16 +0000 (15:52 +0300)]
NPE fix

4 years agoAdd tooltip to show full call with arguments in the flat view
Vitaliy.Bibaev [Mon, 25 Sep 2017 12:42:23 +0000 (15:42 +0300)]
Add tooltip to show full call with arguments in the flat view

4 years agodo not ignore a result of the runInReadActionWithWriteActionPriority method
Sergey Malenkov [Mon, 25 Sep 2017 12:37:26 +0000 (15:37 +0300)]
do not ignore a result of the runInReadActionWithWriteActionPriority method

4 years agoPY-25288 Implement "Expression Type" action for Python
Mikhail Golubev [Sat, 9 Sep 2017 16:33:35 +0000 (19:33 +0300)]
PY-25288 Implement "Expression Type" action for Python

4 years agoPY-21823 Align bound and stride expressions inside slices
Mikhail Golubev [Thu, 14 Sep 2017 14:52:31 +0000 (17:52 +0300)]
PY-21823 Align bound and stride expressions inside slices

4 years agoFix MacOs borders for fractional scale
Kirill Kirichenko [Mon, 25 Sep 2017 12:10:49 +0000 (15:10 +0300)]
Fix MacOs borders for fractional scale

4 years agoAlign the stream debugger icon by center vertically
Vitaliy.Bibaev [Mon, 25 Sep 2017 12:06:31 +0000 (15:06 +0300)]
Align the stream debugger icon by center vertically

4 years ago[java] remapping 'var' token for expressions appcode/173.2659 clion/173.2658
Roman Shevchenko [Mon, 25 Sep 2017 11:59:02 +0000 (13:59 +0200)]
[java] remapping 'var' token for expressions

4 years agoRunManagerImpl — introduce reloadSchemes method for MPS
Vladimir Krivosheev [Mon, 25 Sep 2017 11:02:09 +0000 (13:02 +0200)]
RunManagerImpl — introduce reloadSchemes method for MPS

Internal usage only.

4 years agoJava: Refactoring - improve readability of ExtractMethodHandler and related classes...
Pavel Dolgov [Tue, 5 Sep 2017 14:08:42 +0000 (17:08 +0300)]
Java: Refactoring - improve readability of ExtractMethodHandler and related classes (IDEA-144957)

4 years agogradle: restored API of BuildScriptDataBuilder
nik [Mon, 25 Sep 2017 09:53:29 +0000 (12:53 +0300)]
gradle: restored API of BuildScriptDataBuilder

'build' method was used in Kotlin plugin (and maybe in other plugins as well).

4 years agoMerge branch 'db/method-chains-with-casts'
Dmitry Batkovich [Mon, 25 Sep 2017 09:40:26 +0000 (12:40 +0300)]
Merge branch 'db/method-chains-with-casts'

# Conflicts:
# java/compiler/impl/src/com/intellij/compiler/chainsSearch/context/ChainCompletionContext.java

4 years agotype casts in relevant method chain completion: various renames
Dmitry Batkovich [Fri, 15 Sep 2017 09:12:38 +0000 (12:12 +0300)]
type casts in relevant method chain completion: various renames

4 years agoadd tests for completion with casts
Dmitry Batkovich [Tue, 12 Sep 2017 13:53:38 +0000 (16:53 +0300)]
add tests for completion with casts

4 years agocasts in relevant method chain search: fix cast type, fix suitable cast search
Dmitry Batkovich [Tue, 12 Sep 2017 12:54:31 +0000 (15:54 +0300)]
casts in relevant method chain search: fix cast type, fix suitable cast search