Commit Graph
7619 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 f3297a4757 testdata fixed 2016-05-04 15:10:39 +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 989a78499a clear completion copy cache on file rename 2016-05-04 10:20:11 +02:00
peter 0eb5e619ef use app invokeAndWait in tests by default 2016-05-03 23:02:48 +02:00
peter 20f69c8111 remove wrong capture treatment: the completion result is incorrect (IDEA-155188) 2016-05-03 14:25:59 +02:00
peter a3fa25541d allow for cleanup to run later in NormalCompletionTest 2016-05-03 13:27:58 +02:00
peter e981c18b88 avoid recursive super class reference resolve 2016-05-02 22:03:38 +02:00
Vladimir Krivosheev f9830d6090 cleanup — getRootElement 2016-05-02 16:54:00 +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 2f486ed36c IDEA-89222 Navigate file shall accept files names/path starting with ./ 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 631964661f IDEA-155183 Class autocomplete in META-INF.services duplicate packages 2016-04-29 22:56:21 +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 4a8977e6fa redundant write action in tests removed 2016-04-29 20:30:56 +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 3b521f997c dangling javadocs removed 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev fb358f0cce test for not loading AST unnecessarily 2016-04-29 12:11:34 +03:00
Alexey Kudravtsev 5f91021f83 notnull 2016-04-29 12:11:34 +03:00
Alexey Kudravtsev 3c593320f6 moved setAssertOnFileLoadingFilter from JavaPsiFacade to PsiManagerEx 2016-04-29 12:11:34 +03:00
Alexey Kudravtsev 739fd0cf33 PsiManagerEx.getInstanceEx 2016-04-29 12:11:34 +03:00
Alexey Kudravtsev 752156cffe new test for no cls/psi mixed up 2016-04-29 12:11:34 +03:00
Dmitry Batrak 99d3ebf0cb test refactoring 2016-04-28 17:12:32 +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
Dmitry Batkovich 4409491323 inspection tool window: more clear name for test 2016-04-27 14:54:00 +03:00