Commit Graph
3663 Commits
Author SHA1 Message Date
Anna Kozlova bba30278f9 method refs: fix variable initializing order (IDEA-132445) 2014-11-06 19:11:29 +01:00
Roman Shevchenko 4e851eaffb IDEA-132440 (more straightforward element lookup) 2014-11-06 18:00:38 +01:00
Roman Shevchenko 7f5aff2c9b IDEA-132440 (tests updated) 2014-11-06 16:36:28 +01:00
Roman Shevchenko 99ed5b077e revert 'introduce variable: use common introduce api (I)' 2014-11-05 21:42:02 +01:00
Anna Kozlova 234fdbfc4f find functional expressions by method type parameter 2014-11-05 19:31:52 +01:00
Anna Kozlova 027d201051 introduce variable: use common introduce api (I) 2014-11-05 18:01:28 +01:00
Eugene Zhuravlev 5ec5fe4885 when processing dependencies on deleted classes, do not affect already compiled files 2014-11-04 17:29:02 +01:00
Anna Kozlova 0ca896928f infer generic functional types by lambda's formal parameters and exact method refs 2014-11-03 19:13:05 +01:00
Anna Kozlova 870ff1398a inplace introduce: invalid identifiers 2014-11-03 16:32:13 +01:00
Anna Kozlova accd4f0b23 redundant lambda code block: check void compatible lambdas for ambiguity conflicts 2014-11-03 16:11:26 +01:00
Anna Kozlova 7547c92c1f anonym -> lambda: expression lambda should be used with care due to void/value ambiguity (IDEA-125951) 2014-11-03 16:03:53 +01:00
Anna Kozlova e887542c3e suggest correctly shaped functional types if extracting functional expression without context: initial (IDEA-125510) 2014-11-03 15:08:48 +01:00
Anna Kozlova 5f147eff7e fix comparison level when checking type arguments applicability (IDEA-132063) 2014-10-31 14:23:41 +01:00
Anna Kozlova 6e4595e7bd capture getClass() method type (IDEA-130973) 2014-10-31 13:24:41 +01:00
Anna Kozlova 66cd10b00c new inference: unchecked conversion detection in case of inference variables (IDEA-122932) 2014-10-31 13:24:40 +01:00
Vladimir Krivosheev 021488c5a9 fix test data 2014-10-31 08:45:56 +01:00
Anna Kozlova 2a71679bc4 initialized twice should not make use of computed constants (IDEA-63226) 2014-10-30 18:41:04 +01:00
Anna Kozlova 14f91eb65f final field initialization: class initializers (IDEA-130312) 2014-10-30 18:41:03 +01:00
Anna Kozlova 113d5db581 testdata for IDEA-65386 2014-10-30 18:41:02 +01:00
Anna Kozlova d0e6c61fde disable short circuits for unreachable statements detection (IDEA-58305; IDEA-70953; IDEA-70948) 2014-10-30 11:50:05 +01:00
Vladimir Krivosheev a1b6f5c8aa simplification — introduce StateSplitterEx 2014-10-30 10:50:35 +01:00
Anna Kozlova 3e3824fc89 add field to enum: ensure correct position after comment (IDEA-131820) 2014-10-29 18:05:55 +01:00
Anna Kozlova ddbaef9462 fix message for final locals used inside local/anonym classes in java 8 (IDEA-131949) 2014-10-29 18:05:52 +01:00
Eugene Zhuravlev 5842f4f6f4 recompile classes with potentially ambiguous method calls when vararg method is added 2014-10-29 17:18:44 +01:00
Anna Kozlova f0fc85674e diamonds: constructor varargs (IDEA-131918) 2014-10-29 14:21:11 +01:00
Dmitry Batrak 9c94ace79f IDEA-131761 Quick documentation incorrectly renders value of byte[] constant 2014-10-29 13:49:44 +04:00
peter cf2c38a205 IDEA-131537 Inspection "Setter parameter for @Nullable field is annotated @NotNull" is doubtful 2014-10-28 22:37:16 +04:00
Yaroslav Lepenkin 896ec1edde corrected test data of "MoveMembersTest#testscr40064", due to introducing "initializer block" arrangement entry and providing changes in default arrangement configuration (98b4ec4), instance and static fields are now placed before instance initializer blocks (default order: "static fields", "static initializers", "fields", "instance initializers") 2014-10-28 14:33:56 +04:00
Anna Kozlova f05cd24dfe EA-62157 - IAE: PsiUtil.getLanguageLevel
process further when package-info doesn't correspond any package
2014-10-28 12:00:19 +01:00
Anna Kozlova f2257025fa extract light method object: create class initializer if there is no place to put initializer (IDEA-131912) 2014-10-27 15:40:03 +01:00
Anna Kozlova a6e35cfd57 calculate void/value lambda compatibility based on valid, non-modified lambda expression 2014-10-27 15:40:01 +01:00
Anna Kozlova 8f67ad587e "might not have been initialized" adjusted for lambdas inside anonymous (IDEA-130468) 2014-10-24 21:48:13 +02:00
Anna Kozlova a56e52d868 put new variable inside lambda body: check lambda-related types only after lambda body is fixed (EA-62133 - IOE: PsiJavaParserFacadeImpl.createStatementFromText) 2014-10-24 18:36:22 +02:00
Anna Kozlova 5136167d8b new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562) 2014-10-24 18:36:20 +02:00
Anna Kozlova 71d92723a8 create constructor params from field: do not reject next constructors if current one is chained (IDEA-131746) 2014-10-23 14:46:31 +02:00
Anna Kozlova 247fbc358f testdata for IDEA-131700 2014-10-23 14:46:29 +02:00
Anna Kozlova fa2c07e579 block lambda -> expr: disable if found comments outside of expression (IDEA-131749) 2014-10-23 14:46:27 +02:00
peter 9821cbab03 dfa live var analysis should honor variables read in closures (IDEA-131719) 2014-10-22 14:06:25 +02:00
Anna Kozlova cd02a08a01 invert boolean parameter: process recursive calls with care (IDEA-131261) 2014-10-22 10:34:44 +02:00
peter 2eee8cdfbc dfa live var analysis: flush variables when they are assigned and not when the value to be assigned it pushed onto the stack (IDEA-131659) 2014-10-21 18:52:50 +02:00
Anna Kozlova 6780d694c7 IDEA-131456 //noinspection InspectionName(s) should fully support comments 2014-10-20 19:47:14 +02:00
Anton Makeev 78df394d95 Project view: support manual oder 2014-10-20 16:50:58 +02:00
Anton Makeev 5efb124588 Project view: test for IDEA-80435 Project file sorting 2014-10-20 12:57:30 +02:00
Anton Makeev 9a83d37a7b ProjectView: 'sort by type' mixes up folders and files 2014-10-20 12:39:06 +02:00
Anton Makeev f7d60da2a3 ProjectView: sort by type doesn't work when 'folders always on top' is disabled 2014-10-20 12:39:05 +02:00
Anna Kozlova e74edb2614 testdata for light extract method 2014-10-18 09:34:44 +02:00
Anna Kozlova cd2d76587a extract light method object: complete array initializer with first element type (IDEA-131435)
(cherry picked from commit 2b66700cb40889d0578426a0ddca6fb0b02f2718)
2014-10-17 21:08:46 +02:00
Anna Kozlova f90c603a81 testdata for IDEA-57537
(cherry picked from commit 701378494912e1f8a52c8f0c9bc18d61e2f3ebbf)
2014-10-17 21:08:07 +02:00
Anna Kozlova 9fce6c0640 erasure method call type if unchecked assignment was applied during applicability check (IDEA-67862)
(cherry picked from commit f106f813559768f90952caac6a2eec4cfeed7103)
2014-10-17 21:07:43 +02:00
Anna Kozlova 763ba4e270 testdata for IDEA-113631
(cherry picked from commit 08781460ef008e273213dfb9609c00dc30807d83)
2014-10-17 21:07:20 +02:00