Commit Graph
287 Commits
Author SHA1 Message Date
Roman Shevchenko 7f0b52ac52 IDEA-71244 (NPE at single-type/single-static import conflict fixed) 2011-06-24 16:29:15 +04:00
anna d83d791a7b provide extends/implements list for class object expression (IDEA-70858) 2011-06-22 20:56:33 +04:00
Kirill.Safonov 01115b81ed test for IDEA-71180 2011-06-21 20:21:50 +04:00
Alexey Kudravtsev 4d63800998 highlight unresolved method call even with unresoolved arguments 2011-06-20 11:54:16 +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
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
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 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 2280dade76 skip parenthesized expressions during type inference (IDEA-70591) 2011-06-03 17:59:04 +04:00
Roman Shevchenkoandanna 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
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
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
anna 81c958ccfd check if constructor already contains field assignment before add new one (IDEA-69792) 2011-05-23 20:56:20 +04:00
anna f5c0a858dd simplify @SuppressWarnings (IDEA-69286) 2011-05-23 20:56:19 +04:00
Alexey Kudravtsev 444594e90c tests fix 2011-05-23 13:35:03 +04:00
Roman Shevchenko 1d9f3e525b IDEA-69629 (don't override erasure during check) 2011-05-19 15:39:11 +04:00
Roman Shevchenko fc32246f0c [cdr] Improved catch analysis relaxed for general exceptions 2011-05-18 22:08:01 +04:00
Roman Shevchenko 220dd97181 [ann] IDEA-69800 (unrestricted cast of argument types of JSR-292 "polymorphic" methods) 2011-05-18 17:19:55 +04:00
Roman Shevchenko 00f10ef907 [ann] Exceptions with interfaces in multi-catch: correct erasure 2011-05-18 17:18:49 +04:00
Roman Shevchenko 49e9988a40 [ann] Exceptions with interfaces in multi-catch: assignability and control flow fix 2011-05-18 17:15:49 +04:00
Roman Shevchenko a66489593b [ann] IDEA-69688 (unrestricted cast of return types of JSR-292 "polymorphic" methods) 2011-05-18 17:14:14 +04:00
anna 097a350597 diamonds: cannot use diamonds with explicit constructor types/disable checks on type args for non generics constructors (sic!?) 2011-05-17 21:00:44 +04:00
Bas Leijdekkers af4873b8aa IDEA-69645 (bad code is green: attribute value must be constant) 2011-05-16 19:37:27 +02:00
anna d469a37fb7 skip copyright for tests 2011-05-12 18:02:23 +04:00
anna 865c7b0bcc EA-27650 - IAE: ChangeSignatureProcessor.<init> 2011-05-12 15:48:49 +04:00
annaandRoman Shevchenko b7c7f173e1 qualified diamonds fixed 2011-05-05 21:45:26 +02:00
Alexey Kudravtsev f99cbb9757 IDEA-69120 2011-05-04 14:49:21 +04:00
Roman Shevchenko 475354f2b6 [ann] Improved catch analysis 2011-05-03 21:10:11 +02:00
Roman Shevchenko 8072b38603 [ann] Correct highlighting for subtypes in multi-catch 2011-05-03 21:10:10 +02:00
anna 4814482749 insert template: do not handle [] twice (IDEA-69106)
(cherry picked from commit 2b98c3ab3529a3b1a0f34a3e3e4f62d393ce4d61)
2011-05-03 17:34:34 +02:00
anna 3bb0c9d03a diamonds; actual types accepted in java 7 even if no formal types were defined!
(cherry picked from commit 903984b162008a56def605c72743c22517304a2d)
2011-05-02 21:14:20 +02:00
Roman Shevchenko c723f3be41 [ann] IDEA-68850 (add empty try block if try statement is incomplete) 2011-04-27 16:07:06 +02:00
anna b94ead9094 diamonds: accept captured types; discard anonymous inner classes (IDEA-67125) 2011-04-20 20:10:21 +02:00