Commit Graph

59 Commits

Author SHA1 Message Date
Nikita Bobko b43ff7fbf9 Don't show KDoc references in Call Hierarchy
^KT-39558 Fixed
2020-06-13 17:52:17 +03:00
Alexey Kudravtsev a79efd0768 filter out references in javadoc to fix IDEA-185139 A method's call hierarchy shows also references 2020-06-13 17:52:16 +03:00
Nikolay Krasko f01b4706d1 Switch to 193 platform 2020-01-19 12:01:53 +03:00
Nikolay Krasko e5cc0eec9c 193: Adjust test data for HierarchyTestGenerated tests in 193 2019-10-21 15:52:33 +03:00
Nikolay Krasko 5ba877c144 Add empty test data files to make new test framework in 182 happy 2018-08-03 21:06:05 +03:00
Nikolay Krasko a5593f1f31 Render entries with outer classifiers in call hierarchy (KT-22698)
#KT-22698 Fixed
2018-06-01 12:08:41 +03:00
Nikolay Krasko 8ef4b9a8e1 Don't show type hierarchy for elements without name 2018-05-16 12:55:09 +03:00
Alexey Sedunov 96132a686a Type Hierarchy: Support Kotlin class constructors
#KT-22925 Fixed
 #KT-22926 Fixed
2018-02-28 14:03:41 +03:00
Nikolay Krasko 2f817662d5 Process only project scope in AbstractHierarchyWithLibTest 2018-01-11 15:01:47 +03:00
Alexey Sedunov d6ee9c9068 Misc: Update member hierarchy test data to include new stdlib classes 2017-10-18 18:17:50 +03:00
Dmitry Savvinov 2c0ef592e6 Effects: add DSL for declaration of contracts
- Introduce DSL for declaration of contracts. Functions and classes in
this DSL do not bear any computational semantics: in fact, they all do
not exist on runtime. Whole work of extracting semantics from such calls
is done by special parts of compiler

- To make distinguishing those declarations more robust and
convenient, introduce internal annotation @ContractsDSL

- Turn off InlineChecker inside contracts DSL. We do this, because some
functions from DSL should take any possible lambda, so we can't write
any type besides 'Function<R>'. However, InlineChecker will complain if
we will pass inlined lambda in such function -- though, this is false
positive because we know that functions from contracts DSL will never be
executed

- Change testData on HierarchyTestWithLib, where new enum from
kotlin.internal changed expected output

==========
Effect System introduction: 7/18
2017-10-11 13:34:54 +03:00
Alexey Sedunov 53d12e6cf7 Method Hierarchy: Refactoring
- Do not rely on light methods and Java method hierarchy
- Support val/var parameters
- Support built-in member functions

 #KT-14346 Fixed
2017-08-02 13:08:06 +03:00
Alexey Sedunov 10941ae732 Call Hierarchy: Refactoring
Do not rely on light methods to search usages as some elements
don't have them (e.g. local functions)

 #KT-9288 Fixed
 #KT-14428 Fixed
2017-08-02 13:08:06 +03:00
Denis Zharkov bc564af2fc Regenerate mockJDK using openJDK 7 2017-06-24 17:26:01 +03:00
Dmitry Jemerov 715410a9bc Workaround for hanging test 2017-03-20 18:45:28 +01:00
Simon Ogorodnik 6dd75f697a Fix Show implementation to show inheritance through type-aliases
Show implementation(Ctrl-Hover) now should show classes which inherit such class through type-alias
 #KT-15200 fixed
2017-03-01 23:05:19 +03:00
Denis Zharkov 8fa8ba7055 Move coroutine-related runtime parts to kotlin.coroutines.experimental package
#KT-15975 Fixed
2017-01-27 23:24:13 +03:00
Denis Zharkov 5ec62108ee Rename RestrictsSuspendExtensions -> RestrictsSuspension 2016-12-16 18:56:30 +03:00
Stanislav Erokhin d7566d84d0 Fixed testdata. 2016-12-16 02:01:12 +03:00
Dmitry Petrov 9fd1ac72a9 Purge remaining traces of @AllowSuspendExtensions. 2016-12-15 23:58:19 +03:00
Stanislav Erokhin 3600b51d90 Minor. fix test data. 2016-12-14 23:59:38 +03:00
Dmitry Jemerov 502e99e918 Don't expect library classes to be shown in hierarchy view when using production scope 2016-12-13 12:43:55 +01:00
Alexey Sedunov 3f6e60fb51 Call Hierarchy: Show Kotlin usages of Java methods
#KT-12398 Fixed
2016-10-05 11:32:43 +03:00
Nikolay Krasko 00db1c1490 Add standard inheritors to hierarchy test 2016-09-20 15:27:02 +03:00
Alexey Sedunov 47d4454590 Type Hierarchy: Support Type Hierarchy on references inside of super type call entries
#KT-9125 Fixed
2016-08-24 11:27:16 +03:00
Pavel V. Talanov 7273ef2754 Fix test data 2016-07-28 18:01:00 +03:00
Pavel V. Talanov 8a9de2a00f Show all Kotlin annotations when browsing hierarchy of "java.lang.Annotation" 2016-07-26 11:42:09 +03:00
Pavel V. Talanov 8f006bd4aa Add test for KT-13057 with infrastructure 2016-07-26 11:42:08 +03: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
Dmitry Jemerov 70049171cd use Kotlin call hierarchy provider only for Kotlin elements, to ensure that it does not interfere with standard Java features of IntelliJ IDEA 2015-11-24 16:53:42 +01:00
Pavel V. Talanov c2bc1280d3 Fix test data for call hierarchy test
(cherry picked from commit 0145cc4)
2015-10-19 16:03:17 +03:00
Valentin Kipyatkov 090ea37a32 Fixed test data to use only annotation syntax with @ 2015-10-15 19:20:08 +03:00
Alexey Sedunov 06cca689fc Call Hierarchy: Forbid interfaces
#EA-64406 Fixed
2015-08-19 23:26:15 +03:00
Alexey Sedunov 46dcfb508e Call Hierarchy: Find implicit constructor calls in Java code 2015-07-09 20:35:06 +03:00
Alexey Sedunov 1ea2c24562 Light Classes: Primary constructor fixes 2015-06-11 13:52:48 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02:00
Dmitry Jemerov f93eeeb563 fix tests by adding missing 'init' keywords to testdata 2015-04-29 14:07:05 +02:00
Dmitry Jemerov 478b18e376 remove two final occurrences of 'class object' from testdata 2015-04-27 15:14:34 +02:00
Alexey Sedunov 312a1db273 Call Hierarchy: Support secondary constructors 2015-03-21 03:29:01 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Alexey Sedunov b033c17426 Caller Hierarchy: NPE fix
#EA-66031 Fixed
2015-03-11 23:33:59 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov a1f4c06a49 Update test data that mentioned old JvmAbi constants 2015-02-16 15:38:34 +03:00
Alexey Sedunov 7d1ed507a7 Call Hierarchy: Filter out usages inside of import directives 2014-12-11 17:50:26 +03:00
Alexey Sedunov da915aee7e Call Hierarchy: Do not interrupt caller hierarchy on non-local caller of local root declaration
#KT-6183 Fixed
2014-11-13 17:27:31 +03:00
Alexey Sedunov 1edaa877dc Fix search scope of Kotlin light methods
#KT-4638 Fixed
2014-03-04 19:45:35 +04:00
Zalim Bashorov 559ea28a6b Dropped extra caret markers and introduced separate marker for referencing from context. 2014-02-24 20:27:20 +04:00
Alexey Sedunov 8a0867a9c3 Enable Type Hierarchy for Kotlin classes referenced by non-Kotlin code #KT-4414 Fixed 2014-01-29 15:58:51 +04:00
Alexey Sedunov 3e6f879571 Show call sites of overriden members in "Caller Hierarchy"
#KT-4395 Fixed
2014-01-21 13:53:22 +04:00
Alexey Sedunov 786e59bbfa Implement "Override hierarchy" view 2014-01-15 16:49:39 +04:00