Commit Graph
3692 Commits
Author SHA1 Message Date
Anna Kozlova 57a097f90c introduce variable: common api (IDEA-94609; IDEA-125286; IDEA-131965; IDEA-131930) 2014-11-17 12:11:35 +01:00
Anna Kozlova cda6c424d0 unused declaration: add refs on functional interface from functional expressions (IDEA-132138) 2014-11-14 18:09:47 +01:00
Yaroslav Lepenkin 97ef4a1412 [AutoDetect] while detecting indent, skip line comments (IDEA-132279).
Also was extracted base class for indent detection tests and created java specific one.
2014-11-14 10:46:27 +02:00
Anna Kozlova 6261633a4d AIOOBE 2014-11-13 12:35:05 +01:00
Anna Kozlova 350c0b2a0a extract method nullable check: ensure correct exist statement chosen (IDEA-132706) 2014-11-13 12:35:04 +01:00
Alexey Kudravtsev 18365be5d0 instantiate UnusedDeclarationInspection properly in tests; got rid of setters 2014-11-13 14:13:18 +03:00
Anna Kozlova b5a7fdbbf8 retrieve expected type by containing array creation expression (IDEA-132794) 2014-11-12 19:38:03 +01:00
Anna Kozlova d98a3da35a enum attribute values must be a constant (JLS 9.7.1 IDEA-132747) 2014-11-12 19:38:00 +01:00
Anna Kozlova 05ff6e8a83 workaround for opened captures (IDEA-132717) 2014-11-12 19:37:59 +01:00
Anna Kozlova 983808535d testdata for IDEA-132725 2014-11-12 19:37:58 +01:00
Anna Kozlova 0aeef103be convert to stream: support nested conditions 2014-11-12 19:37:57 +01:00
Anna Kozlova 1d2a8e0571 lambda -> meth ref: varargs 2014-11-12 13:13:35 +01:00
Anna Kozlova 89d1df1dc0 redundant casts in lambda return expressions (IDEA-132723) 2014-11-12 13:13:33 +01:00
Anna Kozlova bf5b3ed5b2 lambda -> method refs: cleanup ambiguity between receiver/non-receiver methods 2014-11-11 18:24:48 +01:00
Anna Kozlova 0506cb77bc lambda -> method refs: check if result method reference is valid 2014-11-11 18:24:46 +01:00
Anna Kozlova 7e141da4c2 method references: compare number of arguments for non-vararg applicability only (IDEA-132708) 2014-11-11 12:03:06 +01:00
Eugene Zhuravlev cbe9ffa94a correct test data, so that the test checks the make rule it was intended to verify 2014-11-10 23:02:08 +01:00
Anna Kozlova 09f8895b2b lambda ->method ref: check if accessible (IDEA-132371) 2014-11-10 20:41:56 +01:00
Anna Kozlova 2cbd7d0d52 fix remove unused assignment fix in return statement (IDEA-132349) 2014-11-10 20:41:55 +01:00
Anna Kozlova db9d8d03fb javadoc generation: base class for anonymous (IDEA-132362) 2014-11-10 20:41:54 +01:00
Anna Kozlova 38f8f6e322 Merge remote-tracking branch 'origin/master' 2014-11-10 17:55:44 +01:00
Anna Kozlova a05adb95b5 compiling debugger: shift original context if on private, so 'make public' won't invalidate anchor (IDEA-132525) 2014-11-10 17:53:58 +01:00
peter ca3481dbd3 IDEA-131145 Completion for @Override 2014-11-10 17:53:26 +01:00
peter 38e08bdcf9 IDEA-131845 Lambdas. Wrong current statement completion. 2014-11-10 17:53:26 +01:00
Anna Kozlova 96bfd65ab3 intersection rules: flatten unbounded wildcard with everything (IDEA-132431) 2014-11-07 15:47:50 +01:00
Anna Kozlova 6aef1682d6 testdata IDEA-132560 2014-11-07 15:47:49 +01:00
Bas Leijdekkers 112030d6d3 part II for IDEA-132470 (Wrong code inspections on signature polymorphic method calls) 2014-11-07 12:15:52 +01:00
Anna Kozlova cbd8be4b8e conflict resolution: missed null checks for diamonds non-physical static methods (IDEA-132534) 2014-11-07 11:57:07 +01:00
Anna Kozlova 668ccc7dd0 new inference: site substitution from remembered properties (IDEA-132417) 2014-11-06 19:11:31 +01:00
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