Commit Graph
5021 Commits
Author SHA1 Message Date
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
Anna.Kozlova 44a7f43a10 introduce variable: remove redundant type cast (IDEA-153665) 2016-04-29 14:41:28 +02:00
Anna.Kozlova b936f89275 redundant cast: ensure cast is not removed if operand changes it's type 2016-04-29 14:41:28 +02:00
Anna.Kozlova f52458abdf restrict anonym -> lambda: reject if return type would be changed (IDEA-154805) 2016-04-29 14:41:28 +02:00
Anna.Kozlova 567fc9ae88 fix testdata 2016-04-29 14:41:28 +02:00
Anna.Kozlova ce9556a909 override default methods in interfaces with default methods (IDEA-155381) 2016-04-29 14:41:28 +02:00
Alexey Kudravtsev fb358f0cce test for not loading AST unnecessarily 2016-04-29 12:11:34 +03:00
Dmitry Batrak 849a9d5684 IDEA-155349 JDK exceptions are not resolved in Quick Documentation 2016-04-28 17:12:32 +03:00
Anna.Kozlova f36501444c clear diamond inference errors when overload resolution fails 2016-04-28 11:39:38 +02:00
Anna.Kozlova bebf4975e6 change signature: expand expr lambda to block lambda when exception should be caught; don't expand method ref to lambda when only unchecked exceptions were added (IDEA-152386) 2016-04-28 11:39:38 +02:00
Anna.Kozlova cafbadc4d2 inline field: collect final field initializers in constructors (IDEA-130350) 2016-04-27 15:16:57 +02:00
Anna.Kozlova ccb2710190 inline method: preserve @Override deep in hierarchy 2016-04-27 15:16:57 +02:00
Anna.Kozlova 4f649256bc inline: check accessibility according to the file scope (IDEA-152181) 2016-04-27 15:16:57 +02:00
Anna.Kozlova 66248de9e4 inline: delete @Override annotations if super method was deleted during inline (IDEA-152175) 2016-04-27 11:10:23 +02:00
Anna.Kozlova 8822f1e267 inline method: don't ignore super expression conflict if containing class inherits target but the call is located inside static context (IDEA-152173) 2016-04-27 11:10:23 +02:00
Anna.Kozlova 0936ad00fd pull up conflicts if moved method uses members from outer class not accessible in the super (IDEA-151942) 2016-04-27 11:10:23 +02:00
Anna.Kozlova 1dc6f156cf pull up default method: leave as is if pulled as abstract (IDEA-151756) 2016-04-27 11:10:23 +02:00
Dmitry Batrak 0f4a395569 IDEA-155239 Quick documentation does not show static lambda field values when "Show quick doc on mouse move" is enabled 2016-04-26 22:14:26 +03:00
peter 85601ec30c support captured types in incomplete overloaded lambda completion (IDEA-155188) 2016-04-26 10:23:35 +02:00
peter 3b725bc33e IDEA-155188 Lambda auto completion for incomplete overloaded method fails 2016-04-25 20:45:38 +02:00
Anna.Kozlova 35a27be930 move instance method: update method reference qualifier according to the method reference shape (IDEA-155147) 2016-04-25 14:41:56 +02:00
Anna.Kozlova a1ae485b22 diamond: reject diamonds nested inside type arguments as soon as possible (IDEA-155153) 2016-04-25 14:41:56 +02:00
Anna.Kozlova e588d2285a highlighting: don't add warning for nested lambda when problem is inside upper level (IDEA-155192) 2016-04-25 14:41:56 +02:00
Anna.Kozlova 1ce6f8d2fa introduce param object: pass substitution around which won't be available after method signature is changed (IDEA-154208) 2016-04-25 10:57:40 +02:00
Anna.Kozlova b7eddbbbc3 extract method: fold parameters after array acces was detected (IDEA-155094) 2016-04-22 19:31:27 +02:00
Anna.Kozlova b1645e3ae5 reuse utility method; ensure unknown functional type reduced to Object before create new psi
EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
2016-04-22 17:02:00 +02:00
Anna.Kozlova 1a2b94105e EA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix.replaceWithLambdaBody 2016-04-22 17:02:00 +02:00
Yaroslav Lepenkin 0042952eaf Fixed test data 2016-04-22 14:19:42 +03:00