Commit Graph

16 Commits

Author SHA1 Message Date
Anna Kozlova
a07b56e42c java: add import on inner class: disable if qualifier has provided type arguments (IDEA-267858)
fix for deep type parameters, according to the review

GitOrigin-RevId: 77b28eb04ae16ba9e063b10c0f24c4a473f7a3c0
2021-05-04 15:53:07 +00:00
Anna Kozlova
aef2cfb77a java: add import on inner class: disable if qualifier has provided type arguments (IDEA-267858)
GitOrigin-RevId: 9df069c5dd257e92bf549753256c42ecab98e5e4
2021-04-29 21:39:56 +00:00
Anna Kozlova
6b0b9c5033 add single static import: ensure accessible class (from reference) is chosen (IDEA-144708) 2018-08-24 17:50:30 +03:00
Anna.Kozlova
f73b89ad6a add static import: take into account packages which should be always imported on demand (IDEA-127947) 2018-07-30 12:34:57 +02:00
Anna.Kozlova
84e2da2eeb add single import: ensure current ref to import is taken into account when check the limit (IDEA-127949) 2018-07-27 18:48:57 +02:00
Tagir Valeev
aa89c3b6fa CommentTracker: do not add a comment as a first child of PsiElement
Fixes IDEA-187526 "Add static import" with an intervening comment leads to exception
2018-03-02 16:22:19 +07:00
Tagir Valeev
44585d34d9 CommentTracker: support removal of reference qualifier; used in AddSingleMemberStaticImportAction 2018-01-18 12:00:24 +07:00
Anna.Kozlova
571b62d662 enable add import for inner classes (IDEA-183488) 2017-12-14 11:41:51 +01:00
Anna.Kozlova
01e64268f9 ensure method, imported statically, is not hidden by a local one (IDEA-175967) 2017-07-18 14:32:41 +02:00
Anna Kozlova
ed4a26a905 add single static import: ensure not available when conflict(IDEA-174983)
when methods (> 1) with same name exist in the containing class
2017-06-26 16:11:56 +03:00
Anna.Kozlova
83bb640734 ensure inserted single-static-import when conflicting on-demand imports are presented (IDEA-155031) 2016-11-25 09:56:52 +01:00
Anna Kozlova
4585214187 add single static import: don't replace instance member calls (IDEA-153929) 2016-05-26 18:56:33 +03:00
Anna Kozlova
d5ee2ec744 testdata fixed 2014-05-26 22:21:20 +04:00
anna
e8ef5ea7d7 allow to add static import for containing class when it already contains imported members (IDEA-96156) 2013-04-25 14:14:51 +02:00
anna
3d9008c296 add single static import: process nested references (IDEA-94951) 2013-04-24 16:27:01 +02:00
anna
15b1d535cd add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 ) 2011-08-26 15:58:33 +02:00