Commit Graph
6965 Commits
Author SHA1 Message Date
Anna Kozlova b4396c8f98 new inference: register incompatible message if inference fails (IDEA-131882; to be extended); filter out candidates if inference had failed for them 2015-11-19 20:43:59 +01:00
Dmitry Batrak f1a2e519d8 IDEA-148225 {@code} and {@literal} Javadoc blocks aren't treated literally by Ctrl+Q 2015-11-19 19:39:50 +03:00
Alexey Kudravtsev 22447d18eb more diagnostics 2015-11-19 17:18:07 +03:00
Alexey Kudravtsev 7ca6152627 more diagnostics 2015-11-19 15:04:44 +03:00
Anna Kozlova b4228934d5 fix registering of highlighting keys 2015-11-19 11:32:56 +01:00
Anna Kozlova d32e6ec080 new inference: start inference from top to bottom; ensure getTargetType doesn't perform any inference; cache intermediate results 2015-11-19 10:47:21 +01:00
Dmitry Batrak 4d2d2a388d IDEA-148027 recognize html links to package summary in javadoc 2015-11-19 12:11:00 +03:00
peter 2aa8b8c099 Revert: perform arithmetic operations during dfa (part of IDEA-143315) (ea61e3e9e6) 2015-11-18 16:14:35 +01:00
peter e2b90e6e61 [^jeka] not-null instrumentation should skip invalid local variable tables in bridge method 2015-11-18 15:00:05 +01:00
nik caf03a6c74 removed incorrect initialization of config paths in tests: if DaemonRespondToChangesTest was executed first it initialized shared static Application instance with its own temporary config path which was deleted when the test is finished causing all compiler tests to fail 2015-11-18 12:58:25 +03:00
peter ea61e3e9e6 perform arithmetic operations during dfa (part of IDEA-143315) 2015-11-17 17:19:44 +01:00
peter 66b5456707 IDEA-146131 @NotNull on parameters should only apply until reassignment 2015-11-17 17:19:43 +01:00
Alexey Kudravtsev 4152c28fd6 diagnostics 2015-11-17 18:03:39 +03:00
Roman Shevchenko 37ef1d7bca [java] avoid copying nullability type annotations (IDEA-132058) 2015-11-17 12:58:08 +01:00
Roman Shevchenko aebc3568fb Merge remote-tracking branch 'origin/master' 2015-11-16 19:40:27 +01:00
Roman Shevchenko 8e62c0f4ef Cleanup (duplication; correct light test setup; formatting; typos) 2015-11-16 18:24:00 +01:00
Alexey Kudravtsev 9f98ff47c3 moved JSP-dependent test back to ultimate 2015-11-16 16:45:17 +03:00
Alexey Kudravtsev 70290391f9 moved to community 2015-11-16 13:31:16 +03:00
Anna Kozlova fcf8e6f373 move inference error from element to method candidate to avoid overload method pollution; show inference error in the editor if applicability check was successful; register inference error if variable has incompatible upper bounds (IDEA-145106) 2015-11-16 10:05:50 +01:00
Maxim.Mossienko da907cfbbd test for reg exp search not to use id index when there is no trigrams available 2015-11-14 23:07:41 +01:00
peter ee5fad06d2 show .class files located in source content in project view 2015-11-14 20:41:50 +01:00
Dmitry Batrak 995e5a4439 IDEA-147570 "Find Next Occurrence" command does not remove extra carets 2015-11-13 20:58:22 +03:00
Anna Kozlova 64ff5ff961 push condition in call: fix different qualifiers (IDEA-147901) 2015-11-13 16:07:17 +01:00
Anna Kozlova cbbd0e4456 detect array initializer type based on short variable array notation (IDEA-147881) 2015-11-13 16:07:17 +01:00
Anna Kozlova e1f9d33a32 testdata for IDEA-147873 2015-11-13 16:07:17 +01:00
peter cc1b201505 LoadProjectTest: don't fail when a file from another project is found (although it's a valid leak to care about, it causes this unrelated test to blink) 2015-11-13 16:01:45 +01:00
Dmitry Batkovich 6afbed569a quick fix which adds exception from field initializer to constructor signature (IDEA-142284) 2015-11-13 15:59:53 +03:00
Alexey Kudravtsev 8316363919 leaks cleanup 2015-11-13 13:57:38 +03:00
Alexey Kudravtsev 2b999838c8 join thread in tests to avoid thread leaks 2015-11-13 13:52:35 +03:00
Maxim.Mossienko c8254595ba IDEA-141826 Retrieve trigrams when doing regular expression based search 2015-11-13 00:01:56 +01:00
Anna Kozlova 03d4334430 eliminate wildcards elimination in flattening intersection types (IDEA-143194); fully follow specification in determining target type - javac would be fixed (JDK-8142876), eclipse already obeys the spec 2015-11-12 20:14:15 +01:00
Anna Kozlova 44f26da2bc type arguments distinct checker: do not distinguish wildcards with array bounds from arrays with corresponding bounds (IDEA-134944) 2015-11-12 20:14:15 +01:00
Maxim.Mossienko a6bd30b0a0 test for IDEA-23316 2015-11-12 17:26:32 +01:00
Alexey Kudravtsev 89b362ef96 IDEA-146946 2015-11-12 17:04:34 +03:00
Maxim.Mossienko 215c21b35c use BombedCharSequence for cancellability of reg exp based searches 2015-11-12 13:21:27 +01:00
Anna Kozlova e484d54fb8 missed usages of method references (IDEA-147828) 2015-11-12 12:36:59 +01:00
peter 6ce71b11e2 fix leak tests 2015-11-11 21:57:05 +01:00
Anna Kozlova a9dc93b41c enum light methods navigation: ensure open source at enum class (IDEA-147791) 2015-11-11 20:32:37 +01:00
Anna Kozlova ce44bbb5e4 show implementations: ensure functional expressions are not missed when search over usage (IDEA-147691) 2015-11-11 20:32:37 +01:00
Anna Kozlova 823cd15864 static method import: collect all overloaded methods to filter them after finish of stub processing (IDEA-147745) 2015-11-11 17:35:32 +01:00
Anna Kozlova 59b55c3c00 new inference, incorporation step: ignore type arguments in bounds, retrieve upper bounds of captured wildcards (IDEA-145244) 2015-11-11 17:35:32 +01:00
peter 3dcb251345 IDEA-147762 code completion doesn't show JPA '@Id' import 2015-11-11 17:31:36 +01:00
Anna Kozlova 05bf2e7516 rename field: ensure parameters through setters hierarchy is renamed (IDEA-146229) 2015-11-10 21:21:41 +01:00
Anna Kozlova a45937536a unchecked warnings: check inferred type against bounds for java > 1.8 (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova 99338ada50 incorporation: deal with PsiType.NULL (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova c29f92472e inferred type check for raw constraints (IDEA-147529) 2015-11-10 18:45:36 +01:00
Anna Kozlova c798f3ab6b inference variables: ensure variable is not mixed with type parameter for recursive calls (IDEA-147639) 2015-11-09 19:08:30 +01:00
Anna Kozlova 289aea179d isPertinentToApplicability: check class type parameters if constructor is called with diamonds (IDEA-147619) 2015-11-09 19:08:30 +01:00
Alexey Kudravtsev 9bc4e48467 thread leaks in tests 2015-11-09 14:21:16 +03:00
Anna Kozlova 8405c19832 priority of array index expression (IDEA-147503) 2015-11-06 20:36:47 +01:00