Commit Graph

12 Commits

Author SHA1 Message Date
Tagir Valeev
7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Anna Kozlova
11606b6f47 java: add static import: don't pretend only one method is available when popup would be shown afterwards (IDEA-223655)
only applicable method is returned from `getMembersToImport(false, StaticMembersProcessor.SearchMode.MAX_2_MEMBERS)` when one of it is applicable and another is not. At the same time when we already calculate 100 first applicable methods, we can just reuse them instead the recalculation

GitOrigin-RevId: e31fe962bd8180850e8e5c06aa1f93efb7654aa5
2021-04-29 07:38:21 +00:00
Anna.Kozlova
e149c3fa7d renamed static import -> import static (IDEA-161681) 2016-09-27 17:21:04 +02:00
Anna Kozlova
823cd15864 static method import: collect all overloaded methods to filter them after finish of stub processing (IDEA-147745) 2015-11-11 17:35:32 +01:00
Dmitry Avdeev
b2147def98 sentence capitalization 2014-12-06 12:52:25 +03:00
anna
92f0e1b91f static import: postpone @deprecated methods if possible; show deprecated if all/acceptable is deprecated (IDEA-98350) 2013-04-25 17:09:31 +02:00
anna
73b6d506d2 EA-41114 - AIOOBE: StaticImportMethodFix.getExpectedType 2012-11-21 14:27:47 +01:00
anna
3987b4bbb2 suggest method static imports: take method return type into account (IDEA-82353) 2012-11-15 21:37:06 +01:00
Anna Kozlova
bd197be80e replace all members with static import method (IDEA-90040) 2012-08-15 18:59:24 +04:00
anna
99f4b3a821 try to infer types before check for applicability (IDEA-68986)
(cherry picked from commit d8bbd5c1b70135cd1eee5215dd2bffaf6d16e905)
2011-12-06 10:37:40 +01:00
Roman Shevchenko
9dd2505489 Empty import list placement and comment binding (test data fixed) 2010-08-10 13:49:16 +04:00
Alexey Kudravtsev
2718da9fc7 more java tests moved to community 2010-06-25 12:46:40 +04:00