Commit Graph
4349 Commits
Author SHA1 Message Date
anna 8b97583179 add explicit arguments: eliminate wildcards (IDEA-106741) 2013-12-03 17:35:07 +01:00
anna 83b6571952 check lambda return values during constant&conditions (IDEA-117420) 2013-12-03 15:30:19 +01:00
Roman Shevchenko 393d831d3a IDEA-117391 (annotation highlighting fixed) 2013-12-02 19:04:42 +01:00
anna c9359cf149 IDEA-116732 Field can be converted to a local variable 2013-12-02 18:58:53 +01:00
peter 43b08e4282 fix GenerateGetterSetterTest formatting expectations 2013-12-02 15:12:34 +01:00
peter 227c05a6fc more DirectoryIndex tests 2013-11-30 17:56:40 +01:00
anna 2b49ac9eb4 introduce variable inside lambda: do not step out of lambda block 2013-11-29 21:12:28 +01:00
anna 19ac5df6f2 IDEA-117252 Extract variable bug 2013-11-29 18:24:22 +01:00
anna 4920da736f IDEA-113339 "replace with method reference" ignores side effect of expression: ignore any new expressions in qualifiers 2013-11-29 18:24:21 +01:00
Alexey Kudravtsev 03d2433ea2 tests fixed 2013-11-29 16:50:51 +04:00
anna 16baacc368 NPE on invalid expressions 2013-11-29 12:09:07 +01:00
Dmitry Avdeev c2b9a6ecb3 do not try to merge stubs if version changed: take three 2013-11-29 13:24:50 +04:00
anna 3c78ab4dc5 lambda -> method ref: do not convert if resulted ref would be ambiguous (IDEA-116964) 2013-11-28 21:42:31 +01:00
anna 4b36fa12fa introduce variable: forbid to replace write occurrences which occur after read; insert declaration after write usage (IDEA-117204) 2013-11-28 20:21:41 +01:00
anna d88f344fd6 ready to nulls (EA-52470 - IAE: TypeCompatibilityConstraint.<init>) 2013-11-28 20:21:40 +01:00
peter 2eb0332443 let test AST loading filters be more robust to test failures 2013-11-28 17:52:43 +01:00
anna 852785ea18 testdata to check invalid method refs 2013-11-28 14:14:45 +01:00
Yaroslav Lepenkin 055d3bffc5 added rearranger test for anonymous classes 2013-11-28 17:10:37 +04:00
Alexey Kudravtsev 6a19297266 Project parameter to runWriteCommandAction 2013-11-28 16:33:38 +04:00
anna 5847e27156 suggest casting int to long when Long is expecting 2013-11-28 12:21:43 +01:00
anna f2c576c7de method refs: do not choose more specific method between methods with different number of params
(cherry picked from commit f986c7c3541f032da16736f43fd34c92337242c4)
2013-11-28 12:21:42 +01:00
anna 301efb1be6 lambda: do not distinguish between ellipsis and arrays for formal lambda params checks (IDEA-117124)
(cherry picked from commit 03b253b084ddb93ce485b1997d47a4b00284eb74)
2013-11-28 12:21:37 +01:00
anna ad9486dbf7 do not create raw outer types during diamond inference
(cherry picked from commit c812622e14b3cb86ec18cedd406118789abb2e83)
2013-11-28 12:21:35 +01:00
anna 834793e8f3 mock 1.8 jdk
(cherry picked from commit 86b3924bc3c6dca79f9d5f75bc5e93307a5da4f4)
2013-11-28 12:21:34 +01:00
Yaroslav Lepenkin 15869e79cb IDEA-96723 Java Rearranger deletes blank lines in field declarations 2013-11-28 14:49:41 +04:00
Alexey Kudravtsev 3d0d1495db a couple of tests fixed to avoid assertion of document modification outside command 2013-11-28 14:15:24 +04:00
peter 25eb9fc13d don't drop all caches on second completion invocation in the same place after the copy has already been reused 2013-11-27 17:58:46 +01:00
anna d08af6dfed javadoc: keep whitespaces in {@code} tags (IDEA-109997) 2013-11-26 18:51:19 +01:00
anna 02cabc4e84 IDEA-117082 Anonymous class assigned to final field 2013-11-26 18:51:18 +01:00
peter 95c72cb1e5 don't drop all caches on second completion invocation in the same place 2013-11-26 17:55:34 +01:00
peter 9ef47ff989 RootIndex: no package name for ignored directories 2013-11-26 15:55:12 +01:00
anna 92adf45aae inspection profile: no need to initialize on write when tool was not initialized (=had default settings on read) 2013-11-25 20:48:19 +01:00
anna bf64625fb2 lambda: process lambda as parameter for anonymous class (IDEA-116987) 2013-11-25 20:48:16 +01:00
Eugene Zhuravlev 12909239c4 handling cases when added class hides imported class with the same short name (IDEA-116914 Incremental compilation of Java project fails) 2013-11-25 18:36:29 +01:00
anna e493e0c778 new inference: lift containing class type parameters for method references
(cherry picked from commit a341be1196484b6e4c33a7d10059d2bec5bdf955)
2013-11-25 16:48:24 +01:00
anna 912722b922 new inference: raise a error when function type was not inferred (supposing well-formed type as free from wildcards)
(cherry picked from commit a9173e822d2aab629265baf295248950e2319e31)
2013-11-25 16:48:23 +01:00
anna 4360e420ae new inference: testdata to prevent regression
(cherry picked from commit 48a86f05e7661d2a96cf6c6d95eaa4629446d0bb)
2013-11-25 16:48:16 +01:00
anna 4001f9fccc new inference: include containing class params for constructor refs
(cherry picked from commit be696513a9ed7e418385a25a879b1e0373dd4cf2)
2013-11-25 16:48:15 +01:00
anna 693eddf5d8 new inference: testdata
(cherry picked from commit 6f0f160f905ae275a2eeaca58343a176df1a42c8)
2013-11-25 16:48:14 +01:00
anna 9ac34fc2ce new inference: highlight method refs with incompatible inferred bounds
(cherry picked from commit e1af6d1b69f93db6915d3c4f86eaee95389607d2)
2013-11-25 16:48:12 +01:00
anna fc58e5e0af new inference: include lifting constraint when parent call is being investigated
(cherry picked from commit aaeafcdce1c8d49512cc1fece17afb3e1705492e)
2013-11-25 16:48:11 +01:00
anna 5f1db87624 new inference: avoid one type parameter inference
(cherry picked from commit f764e69e3f7e98e0c94e701706121069f2775586)
2013-11-25 16:48:09 +01:00
anna 3188589850 new inference: do not instantiate vars with upper bounds mix when incomplete substitutor is supposed
(cherry picked from commit ff73c519f10ec947b86832a0c4ce5d6ee9b9e4c3)
2013-11-25 16:48:06 +01:00
anna 80e8321a48 intersection types for PsiTypeVisitor; do not convert intersection type to class type even when no actual substitution is needed
(cherry picked from commit 4670ddf57981f596122082365e43587990c3a53e)
2013-11-25 16:48:05 +01:00
anna d338bc76df lambda: break/continue inside lambda body checks
(cherry picked from commit a290c356e646bb8ad9c097664648ad9033adf2a8)
2013-11-25 16:48:04 +01:00
anna f8e74f085c new inference: temp solution for inexact method refs
(cherry picked from commit e94cddb696cbcb3e3a8d8e4f62f8903b4bd71403)
2013-11-25 16:48:03 +01:00
anna 19852e61cd new inference: infer from thrown exceptions in lambda body
(cherry picked from commit 04056c01aa1eef1239ac88d48baec7ff109ef0df)
2013-11-25 16:48:02 +01:00
anna 709b6166be lambda: void-compatibility check for expression's lambda void type conditional
(cherry picked from commit 76bab4d85984e95279b0358b53ff85734c4589a5)
2013-11-25 16:48:01 +01:00
anna a1bf37f805 new inference: lift type params from referenced method
(cherry picked from commit 057bd4d4d576711b77141b64987079ef8d59a583)
2013-11-25 16:48:01 +01:00
anna 12baf9a2bd new inference: accept all inexact refs during overload resolution
(cherry picked from commit c21ac7ada213c2de28b3e8e5aa15d3fde4490458)
2013-11-25 16:48:00 +01:00