Commit Graph

1062 Commits

Author SHA1 Message Date
Bas Leijdekkers
3645fce7be boolean binary expressions of the format false && non_constant and true || non_constant can be evaluated as constant at compile time 2011-06-27 23:28:02 +02:00
Alexey Kudravtsev
0293b1da72 gen L op always 2011-06-27 13:10:50 +04:00
Roman Shevchenko
7f0b52ac52 IDEA-71244 (NPE at single-type/single-static import conflict fixed) 2011-06-24 16:29:15 +04:00
anna
d42ef3a864 redundant cast: move test data; ignore casts to invoke @NotNull methods; ignore suspicious collections method calls 2011-06-24 15:22:54 +04:00
anna
d83d791a7b provide extends/implements list for class object expression (IDEA-70858) 2011-06-22 20:56:33 +04:00
anna
bc9bfcf727 unused declaration: false positive: process anonymous classes for usages (IDEA-71274 ) 2011-06-22 16:12:35 +04:00
Kirill.Safonov
01115b81ed test for IDEA-71180 2011-06-21 20:21:50 +04:00
anna
873c9c562e move members: do not escalate visibility when usages are moved together (IDEA-70796 ) 2011-06-21 18:30:27 +04:00
anna
e32cc3c855 replace duplicates when pull methods up 2011-06-20 21:21:07 +04:00
anna
91d3996e1c invert boolean for anonymous classes (IDEA-71076) 2011-06-20 21:21:07 +04:00
Alexey Kudravtsev
4d63800998 highlight unresolved method call even with unresoolved arguments 2011-06-20 11:54:16 +04:00
peter
d1e07155ab cache intermediate computation results thread-locally even if recursion prevention has occurred before (IDEA-70668) 2011-06-17 19:18:06 +02:00
anna
a6bb7d03d2 NPE 2011-06-17 20:53:45 +04:00
Alexey Kudravtsev
613bd53b5c look for usages in text files 2011-06-16 17:00:53 +04:00
peter
ac8476410b sort by proximity in create member from usage 2011-06-15 16:49:42 +02:00
peter
3a48c86cf1 separate create field from usage tests 2011-06-15 16:30:27 +02:00
peter
5ab252bb58 when there are no green items, still preselect the most relevant one 2011-06-15 15:43:42 +02:00
anna
d008da0ec2 add constructor parameter from field: annotate as @NotNull if necessary (IDEA-59977) 2011-06-15 17:16:12 +04:00
anna
e62afe784d add on demand imports for code references, e.g. allow to collapse nested class creation (IDEA-65357 ) 2011-06-15 15:36:56 +04:00
anna
765d5e4f01 do not highlight enum constants as unused when values are used (IDEA-65298 ) 2011-06-15 14:51:09 +04:00
Alexey Kudravtsev
b4082a3556 test 2011-06-10 15:06:19 +04:00
anna
d61569c6ab intention to set default value to the parameter (IDEA-63040) 2011-06-10 12:29:53 +04:00
Roman Shevchenko
9387f10fc2 IDEA-70089 (inherited methods should shadow statically imported ones) 2011-06-09 11:47:23 +04:00
anna
01855006ec search for default annotation method (IDEA-70739) 2011-06-08 23:05:04 +04:00
anna
eb800fd0ee inline method: do not insert unnecessary qualification (IDEA-70786 ) 2011-06-08 21:57:31 +04:00
anna
3354dfff66 do not generate duplicated constructors, warn when nothing was added (IDEA-67659) 2011-06-08 17:36:55 +04:00
anna
4f40958aa0 Deprecation warning not highlighted when superclass default constructor is deprecated (IDEA-68898) 2011-06-07 21:34:58 +04:00
anna
81a7191b28 add single member static import: do not remove qualifier when members with the same name exist in the hierarchy 2011-06-07 15:03:49 +04:00
anna
d335d09f46 allow on demand static import over non resolved method (IDEA-68936) 2011-06-07 15:03:49 +04:00
anna
f6eade87eb suppress for parameter: make it possible to suppress one parameter (IDEA-69021) 2011-06-07 13:38:57 +04:00
anna
e374ec93b1 create local from usage: do not remove tailing comment (IDEA-69372) 2011-06-07 13:10:44 +04:00
anna
ca8f1063b2 try narrowing conversion 2011-06-07 12:14:20 +04:00
anna
ea622c99f3 create public inner class in interface (IDEA-70577) 2011-06-06 19:09:04 +04:00
anna
c17e86b4b5 case change 2011-06-04 11:37:44 +04:00
anna
2280dade76 skip parenthesized expressions during type inference (IDEA-70591) 2011-06-03 17:59:04 +04:00
anna
48e81bb6c1 do not add conditional goto switch end when no default label present but all enum constants were mentioned (IDEA-68872) 2011-06-03 17:59:04 +04:00
Roman Shevchenko
d62745a9b0 Field names formatting in highlighting made independent of pesky plugins 2011-06-02 09:23:14 +04:00
Roman Shevchenko
69e549128e Resolve in overlapping single type and on-demand static imports fixed 2011-06-01 21:50:08 +04:00
Roman Shevchenko
be3925acc2 Test "lightened" 2011-06-01 21:50:07 +04:00
peter
648ebaaaa0 don't be smart, just calculate the common prefix based on lookup strings and insert it (IDEA-63646,IDEA-70503) 2011-06-01 16:20:04 +02:00
Denis Zhdanov
82ed80cffa IDEA-70492 Javadoc Smart Complete Statement: Improve processing in case of the last parameter 2011-06-01 15:00:22 +04:00
anna
e7262d47ea extract method: do not fold when write access was used inside common expressions (IDEA-70376) 2011-06-01 13:36:22 +04:00
Roman Shevchenko
b66b7a9d0a Resolve in overlapping single and on-demand static imports fixed 2011-06-01 12:03:15 +04:00
Roman Shevchenko
2484d68569 Similar highlighting tests united 2011-05-31 16:08:05 +04:00
Roman Shevchenko
5a45068521 Resolve and highlighting in ambiguous single static imports fixed 2011-05-31 16:07:06 +04:00
Denis Zhdanov
62df932d36 IDEA-70194 Javadoc: Provide support for completing javadoc parameters description 2011-05-31 14:31:08 +04:00
anna
bd8e7b33fd qualify with this refs in super calls when containing class has fields with the same names 2011-05-27 15:43:39 +04:00
anna
23d1e4adf4 add constructor param from field: filter constructors for all field assignments (IDEA-61889) 2011-05-27 15:43:38 +04:00
anna
419cca8a1a add all fields as parameter when one constructor found (then params can be in the dialog adjusted) 2011-05-27 15:43:38 +04:00
anna
4d1a5f247b do not suggest to replace with diamond for anonymous inner class (IDEA-70258) 2011-05-26 19:22:41 +04:00