Commit Graph
9290 Commits
Author SHA1 Message Date
Anna.Kozlova c719482b06 pull up inference errors when current call has no type parameters (IDEA-169316) 2017-03-09 15:04:34 +01:00
Roman Shevchenko bf1a2f984e [tests] switches Java module tests to mock JDK 9 2017-03-09 13:42:11 +01:00
Roman Shevchenko 7ba6c5dab1 [java] highlights external implementations in 'provides' (IDEA-169193) 2017-03-09 11:49:13 +01:00
Tagir Valeev 6f60712d5a Java9CollectionFactoryInspectionTest: updated to use MockJdk9 2017-03-09 10:55:16 +07:00
Anna.Kozlova 92d60ede85 enclosing instance check: don't check the inheritance for the class with extends/implements itself 2017-03-08 19:15:20 +01:00
peter 3849e3c228 dfa: fix false positive when throwing parameter
remove complicated code that the tests pass without
2017-03-08 16:02:36 +01:00
Roman Shevchenko 812941b126 [java] corrects 'opens' error message (IDEA-169009) 2017-03-08 14:55:52 +01:00
Roman Shevchenko 486bd9398f [java] highlights non-static implementations in 'provides' (IDEA-169205) 2017-03-08 14:16:42 +01:00
Roman Shevchenko a86d46d868 [java] fixes parsing of imports in module-info.java files (IDEA-169208) 2017-03-08 13:41:21 +01:00
Anna.Kozlova 7f4059541a precise rethrow: ensure unreachable catch sections do not participate in precise rethrow 2017-03-08 12:37:00 +01:00
Anna.Kozlova 0fa0b96dc6 no enclosing instance error for top level classes (IDEA-169088) 2017-03-08 12:37:00 +01:00
Roman Shevchenko fcb33b8183 [tests] a couple of assertions on Java module PSI 2017-03-07 17:19:15 +01:00
Anna.Kozlova 71cc26e25c precise rethrow with multiple exceptions in the try block (IDEA-169273) 2017-03-07 17:16:53 +01:00
Dmitry Avdeev 65ddb4c454 IDEA-164851 Inspection "redundant default parameter value assignment" does not work on all parame... 2017-03-07 18:14:58 +03:00
Anna.Kozlova e7edc56bc6 welcome mock jdk 9 (IDEA-168823) 2017-03-07 14:57:35 +01:00
Anna.Kozlova af59ff1487 change signature: move declarations out of try/catch block (IDEA-169213) 2017-03-07 14:57:35 +01:00
Anna.Kozlova 2769981fb1 expand static import for all (IDEA-169239) 2017-03-07 14:57:35 +01:00
Dmitry Batrak 0ccee7ce75 fixes in test code following IDEA-CR-19015 2017-03-07 16:54:54 +03:00
Anna.Kozlova 8cb5670877 missed constraint on lower bound of captured wildcard (IDEA-169083) 2017-03-07 11:42:25 +01:00
Dmitry Batrak d73e849642 option to show parameter hints on method completion, ability to switch method overloads (Java only) 2017-03-07 12:14:44 +03:00
Anna.Kozlova 9c3ebf16aa method reference: include super substitutor into method reference substitutor when referenced method has no type parameters (IDEA-169134) 2017-03-07 09:15:29 +01:00
Dmitry Batkovich 062f0f2b9c dispose index in a test 2017-03-07 11:03:35 +03:00
Tagir Valeev ed8f4efbef ExtractChainedMapAction: more specific message; Guava FluentIterable support; Collection.forEach test 2017-03-07 13:50:45 +07:00
Alexey Kudravtsev 5a8d878ea2 cleanup 2017-03-06 17:44:09 +03:00
Anna.Kozlova af3deb08fe overload resolution: ensure cleanup both branches of conditional (IDEA-169142) 2017-03-06 15:14:54 +01:00
Dmitry Batkovich 27214b011e read-only index storage 2017-03-06 16:07:01 +03:00
Pavel Dolgov c1bb394630 Java: Implemented completion assistance for Var/Method Handle - suggest field/method name, autocomplete the signature (IDEA-167319) 2017-03-06 15:59:04 +03:00
Tagir Valeev 2c5949a2bb inplaceIntroduceField#replaceAll_after: variable name changed after mockJdk version updated 2017-03-06 17:57:41 +07:00
Egor.Ushakov aa01250dc9 IDEA-169006 Compiling evaluator fails in lambda context - fixed tests 2 2017-03-06 13:31:30 +03:00
Roman Shevchenko 74daf8d522 [java] improves "unsupported language level" message (IDEA-168859) 2017-03-06 11:27:27 +01:00
Anna.Kozlova 5328c5fa2c final field initialization: don't treat anonymous args as inner classes (IDEA-168651) 2017-03-06 10:28:45 +01:00
Anna.Kozlova effcbfe27b overload conflicts: assume that subsignature conflicts are already resolved when most specific are checked (IDEA-168894) 2017-03-06 10:28:45 +01:00
Tagir Valeev 0e44858a99 Extract variable to chained method call 2017-03-06 15:32:17 +07:00
Tagir Valeev 504a5727d6 ExtractStreamMapAction: made stream-agnostic (with ability to extend to other chaining lambda APIs like Guava, RxJava, etc.); implemented for CompletableFuture; existing lambda is always preserved now. 2017-03-06 15:32:16 +07:00
peter 428cba1c1b let exact prefix items be the ones that have exact prefix as any lookup string, not just the main one (IDEA-168948) 2017-03-04 21:59:48 +01:00
peter 78eebe6590 manage DummyHolder's tree in the same way as PsiFileImpl does (EA-96901 - assert: FileTrees.withGreenStub) 2017-03-04 21:50:38 +01:00
peter 246d10ad26 IDEA-169028 Broken auto-import completion inside lambda 2017-03-03 17:12:02 +01:00
Pavel Dolgov aedc783354 Java: Avoid duplicates for shadowed members in completion list for arguments of reflection calls. Simplify building the list of method names with PsiClass.getVisibleSignatures() (IDEA-167250) 2017-03-03 12:04:52 +03:00
peter 9f2db277e9 tests: remove unnecessary MethodDoesntCallSuperMethod suppressions
after IDEA-168979 having been fixed
2017-03-03 09:47:15 +01:00
peter 11da100b22 don't fasten belts on file property change
property change doesn't affect document text, and if AST/stub are to be changed at all, they'll be dropped completely, so having offsets in the document is of no use

prevents EA-97917 from happening
2017-03-03 09:16:26 +01:00
Anna.Kozlova bdb718f7cb fix visibility of private inner classes in annotations arguments of a sibling class (IDEA-168927) 2017-03-02 18:30:06 +01:00
Roman Shevchenko 87e83da325 [java] better sanitizing for Java module names (IDEA-168799) 2017-03-02 17:21:33 +01:00
Anna.Kozlova f955fc32f3 disable external passes when no inspections are enabled 2017-03-02 11:48:16 +01:00
Anna.Kozlova 837d7ef150 junit/testng configuration providers based on test framework; minimize junit-vs-testng duplication 2017-03-02 11:48:16 +01:00
Alexey Kudravtsev 382f881317 in fixture-based tests dispose things earlier to not treat them as leaks 2017-03-02 13:24:40 +03:00
Tagir Valeev ee38a5cfdd IDEA-168967 Intention to extract local variable created in stream operation lambda to separate stream step. 2017-03-02 16:25:35 +07:00
Tagir Valeev 1db9b2fd3f OptionalAssignedToNullInspection: added assignment test 2017-03-02 09:49:30 +07:00
peter 9866ee1e2e more stability in testManyPsiChangesWithManySmartPointersPerformance 2017-03-01 19:20:54 +01:00
peter 75355b38a3 make a couple performance tests non-IO-bound 2017-03-01 18:42:31 +01:00
peter a0cae94e87 disable "call always fails according to method contract" in tests (IDEA-168613)
1. test might check precisely this failure
2. even if not, the test will fail anyway and the mistake will be obvious quite soon
2017-03-01 16:04:44 +01:00