Commit Graph
5048 Commits
Author SHA1 Message Date
Egor.Ushakov 6297690daf IDEA-156280 Incorrect evaluation inside anonymous class 2016-05-19 15:01:30 +03:00
peter d167a4e820 don't suggest break/continue inside lambda/anonymous inside a loop (IDEA-CR-10869) 2016-05-19 10:58:51 +02:00
peter e1b69b301e IDEA-156245 @NotNull doesn't seem to work for enums 2016-05-18 19:44:27 +02:00
peter 6a17887211 correct dfa comparison of boxed NaNs (IDEA-156202) 2016-05-18 19:44:26 +02:00
peter b0bfb5b5d8 java completion: prefer break/continue in likely positions inside loops (IDEA-156192) 2016-05-18 18:07:47 +02:00
peter 6b5f30f0f2 java completion: prefer return inside then/else parts of if (IDEA-156192) 2016-05-18 18:07:47 +02:00
Anna.Kozlova d2136b76b2 disable import of static constant on type element/assignment place (IDEA-156162) 2016-05-17 21:13:20 +02:00
Anna.Kozlova ff555bd832 disable remove redundant else if then branch can throw exception (IDEA-156142) 2016-05-17 17:41:48 +02:00
Anna.Kozlova 738aa64287 suggest to rename lambda parameters if the class is not 'overused' (IDEA-153148) 2016-05-13 20:39:19 +02:00
Anna.Kozlova 2755100873 assign weaker access: find method to implement (IDEA-153610) 2016-05-13 18:55:16 +02:00
Andrey Starovoyt 134c9f30e6 java postfix templates: add braces for while loop IDEA-153730 2016-05-13 19:29:39 +03:00
peter e68d6eac26 IDEA-155716 Statically imported method should be higher in the completion list 2016-05-13 17:15:10 +02:00
peter d91c606bfa IDEA-155984 Completion suggests nothing if you try to complete a variable before a call 2016-05-13 16:15:16 +02:00
peter d8093d9057 IDEA-155801 "Dereference may produce NPE" warning should handle implicit constructor calls. 2016-05-13 16:15:15 +02:00
peter 786b4f5048 IDEA-156007 'Constant conditions & exceptions' inspection should propagate @Nullable/@NotNull annotations to lambda parameters 2016-05-13 16:15:15 +02:00
peter f54e06de93 IDEA-155572 Basic completion could prefer false when boolean is expected 2016-05-13 16:15:14 +02:00
Anna.Kozlova b5e7d766a1 add static import: remove qualifier in case of inheritance (IDEA-155419) 2016-05-12 21:06:35 +02:00
Anna.Kozlova f4ea28d8bf safe delete: delete annotations if type is deleted (IDEA-154181) 2016-05-12 16:17:23 +02:00
Anna.Kozlova 78b56192d2 rename: ensure class access is qualified if conflicted with local (IDEA-155040) 2016-05-12 16:17:23 +02:00
Roman Shevchenko 8fd03f4731 [java] fixes diamond type parsing (IDEA-155900) 2016-05-12 16:01:20 +02:00
Anna Kozlova 1782d678a7 include all constructor candidates to calculate change signature fix (IDEA-128891) 2016-05-11 18:08:55 +02:00
Anna Kozlova dbe1598e9f highlight implicit constructor call as method (IDEA-152964) 2016-05-11 16:05:47 +02:00
Anna Kozlova 9d95879dc2 register make class static for illegal enclosing usage error (IDEA-155700) 2016-05-11 12:46:25 +02:00
Anna.Kozlova 094da1c807 introduce parameter: ensure type is substituted in overriders (IDEA-155609) 2016-05-10 19:32:56 +02:00
Anna.Kozlova 3dd26b5936 testdata on partially raw types inferred by javac 2016-05-09 19:42:35 +02:00
Anna.Kozlova 9abe5476b6 new inference: return constraints: fail if outer call exists but can't be resolved (IDEA-154805) 2016-05-09 19:42:35 +02:00
Anna.Kozlova 48d81d53f0 suspicious method call: ignore poly conditional expressions in invocation context as their type would be always the same as target type (IDEA-155622) 2016-05-09 19:42:35 +02:00
Anna.Kozlova d85c70d870 invocation type inference: don't create fresh variables for all type parameters but only for those where wildcards are used in return type (IDEA-155627; IDEA-151220; IDEA-151387) 2016-05-06 18:00:16 +02:00
Anna.Kozlova c9f72daaff push down: preserve @Override if keep abstract was selected (IDEA-155600) 2016-05-04 20:18:45 +02:00
Anna.Kozlova 1a70d8bcbd push down: apply javadoc settings when keep abstract (IDEA-155596) 2016-05-04 20:18:45 +02:00
Anna.Kozlova efa0c5c53b push down: show conflict if method already exist in target class when super signature was generics (IDEA-155578) 2016-05-04 20:18:45 +02:00
Anna.Kozlova 5965c21f44 push down/pull up: ensure raw substitutor correctly erase types in the target class (IDEA-155581) 2016-05-04 20:18:45 +02:00
Anna.Kozlova 3042cbb344 push down: order abstract/default/static (IDEA-148492) 2016-05-04 20:18:45 +02:00
Anna.Kozlova 9b9a8d4051 extract method: shorten qualified names for new return type (IDEA-155518) 2016-05-04 13:47:03 +02:00
Anna.Kozlova 7fb3086dc5 assignability to primitive: check type parameter bounds if applicable (IDEA-155551) 2016-05-04 11:09:25 +02:00
peter 20f69c8111 remove wrong capture treatment: the completion result is incorrect (IDEA-155188) 2016-05-03 14:25:59 +02:00
peter e981c18b88 avoid recursive super class reference resolve 2016-05-02 22:03:38 +02:00
peter 80ad8e9ebd IDEA-154276 Suggest method references to constructors of implementing classes when Supplier<AnAbstractClass> is expected 2016-05-02 08:58:57 +02:00
peter b7f5f72066 IDEA-154336 Missing space after completed @annotation 2016-05-02 08:58:57 +02:00
peter 905527c804 "too generic method" completion sorting criteria shouldn't be applied in void context (IDEA-154635) 2016-05-02 08:58:55 +02:00
peter b7623be04f IDEA-155309 Complete statement does not work for default in switch 2016-05-02 08:58:54 +02:00
peter 48b941daa8 IDEA-154891 IDEA adds unnecessary space/colon on switch case autocompletion 2016-04-29 22:56:20 +02:00
peter 6663489749 IDEA-155323 Bogus "Test-only method is called" inspection 2016-04-29 22:56:20 +02:00
peter 493794856b smart enter during completion inside synchronized expression should put the caret inside the synchronized block 2016-04-29 22:56:19 +02:00
peter 4e3139ffda smart enter to wrap its single then/else branch into code blocks (IDEA-155280) 2016-04-29 22:56:19 +02:00
peter 5131d6fadb IDEA-155383 Auto-complete for method references should use the type where the method is declared 2016-04-29 22:56:18 +02:00
peter 0e46fda6b8 IDEA-155369 double boolean of method return type 2016-04-29 22:56:17 +02:00
Anna.Kozlova 91b549e39c testdata for IDEA-93973 2016-04-29 19:22:54 +02:00
Anna.Kozlova 23113360f1 inline: insert cast to avoid changes in resolve (IDEA-152837; IDEA-155045) 2016-04-29 19:22:54 +02:00
Anna.Kozlova b536ef7ba3 testdata 2016-04-29 15:05:26 +02:00