Commit Graph

706 Commits

Author SHA1 Message Date
anna
1cc7b6ee11 lambda: check unhandled exceptions for method references; disable surround with try/catch accordingly (IDEA-98966) 2013-01-14 16:51:11 +01:00
anna
8c431a908a default methods: check unrelated defaults (IDEA-91685;IDEA-98792) 2013-01-14 14:16:52 +01:00
anna
1ad6c2ed24 class shadowing (IDEA-98828) 2013-01-11 21:34:56 +01:00
anna
c892ea7f32 java 8: resolve conflicts choosing more specific return type (IDEA-98845) 2013-01-11 18:55:34 +01:00
Roman Shevchenko
7f67356440 IDEA-97282 (disable pointless quickfixes) 2013-01-11 18:12:50 +01:00
anna
6f2878cdf7 java 8: intersection type casts (IDEA-98843) 2013-01-11 16:09:23 +01:00
anna
93a7d9f158 method conflicts: prefer method with more specific return type (IDEA-67570) 2013-01-08 13:44:08 +01:00
anna
fe7244031a testdata for IDEA-57539 2013-01-08 11:27:09 +01:00
anna
5055466ac6 testdata for IDEA-67597 2013-01-07 19:12:47 +01:00
anna
d1893766c4 type params: error for jdk < 1.7 (IDEA-67861) 2013-01-07 19:12:46 +01:00
anna
542009391b IDEA-67859 2013-01-07 19:12:45 +01:00
anna
a7fb7f9f54 create enum: add implements list if needed (IDEA-93141) 2013-01-04 16:04:38 +01:00
anna
9a683bbc4a formatter: field groups alignment: correctly process range (IDEA-98368; IDEA-98367) 2013-01-03 19:41:16 +01:00
anna
ac671ea0a2 fix testdata to collapse diamonds 2013-01-03 16:50:40 +01:00
anna
8d97155040 erasure: use before subst for type param bound (IDEA-98092) 2013-01-03 16:04:53 +01:00
anna
1e9a4087e6 parenthesis processing (IDEA-98421) 2013-01-03 13:15:42 +01:00
Roman Shevchenko
b4eebdd684 IDEA-98421 (parse super call type arguments) 2013-01-02 21:19:14 +01:00
Anna Kozlova
782320dcd0 highlight enum constant name when its body should contain some implementation (IDEA-98411) 2013-01-02 11:41:23 +01:00
anna
7646fda820 wording: don't suggest to make enum constant abstract (IDEA-98165) 2012-12-28 18:33:13 +01:00
anna
4f7a6d0de0 method return type fix: when changing class params take into account super substitutor (IDEA-98145) 2012-12-28 18:33:12 +01:00
anna
299e587bc4 create from usage: do not suggest to create static methods in interfaces (IDEA-98147) 2012-12-28 15:32:08 +01:00
anna
e8d6602585 disable override method from abstract class intention for static methods (IDEA-98006) 2012-12-28 15:32:07 +01:00
anna
2fe641dad6 insert cast/local variable from instanceof: check if written expression equals operand in instanceof before replacement (IDEA-97941) 2012-12-27 22:22:49 +01:00
anna
e33fb35daa ambiguity: prefer non arrays (IDEA-97983) 2012-12-27 20:14:18 +01:00
anna
ea55d12eb3 check erased types for method calls on raw exprs (IDEA-97952) 2012-12-27 20:14:17 +01:00
anna
aa4e002ea2 IDEA-97888 2012-12-20 17:12:15 +01:00
anna
5a15076bd6 lambda: check lambda return type compatibility before more specific checks (IDEA-97870) 2012-12-20 15:32:39 +01:00
anna
bd4346cea8 lambda: use incomplete substitutor when calc functional interface (IDEA-97038) 2012-12-18 20:26:31 +01:00
anna
d9fb83d631 lambda: accept raw functional interfaces when there are no params 2012-12-18 13:07:31 +01:00
anna
963b2ed293 lambda: relax incompatible return type in case of void functional types 2012-12-17 17:32:29 +01:00
anna
44ab4d534a lambda: infer functional interface from enum constants (IDEA-97596) 2012-12-17 17:32:28 +01:00
anna
125ba5424d proceed to check method call args if unknown type args were specified in java 7 (IDEA-97521) 2012-12-17 13:29:15 +01:00
anna
5aa6fe3572 check overriding in correct order (IDEA-97506) 2012-12-14 18:36:43 +01:00
anna
d29e6b8b99 composition of extends/super wildcard reworked (IDEA-96721) 2012-12-14 18:36:42 +01:00
anna
c484ce61f0 composition of extends/super wildcard should get just its bound (IDEA-96721) 2012-12-14 15:31:23 +01:00
anna
7cff72c988 no enclosing instance (IDEA-97063) 2012-12-13 21:20:05 +01:00
anna
788336e0ff do not treat diamonds in jdk 8 special (IDEA-97294) 2012-12-13 18:42:28 +01:00
anna
b9669b6add isAssignable (IDEA-97276) 2012-12-12 15:59:15 +01:00
anna
fabb9c6f92 change method signature from usage: fix reverse order presentation text (IDEA-97218) 2012-12-11 17:44:21 +01:00
Roman Shevchenko
36cc6d348a IDEA-97100 (annotation highlighting in default values) 2012-12-11 13:37:29 +01:00
anna
9b9be3f623 highlight this inside interface inner classes (IDEA-97032) 2012-12-10 12:56:07 +01:00
Roman Shevchenko
91c10b815e line separators normalized 2012-12-08 20:01:21 +01:00
anna
592cc321af prefer extensions methods als interface (IDEA-96719) 2012-12-06 20:48:54 +01:00
anna
7bf7cb9e6f when detect inaccessible classes in static context take into account NewExpression qualifiers 2012-12-06 11:01:29 +01:00
Roman Shevchenko
79f65ee30c Java 8's old extension method syntax is error, not warning 2012-12-05 11:13:06 +01:00
anna
5112e8dce9 generate getters/setters: prefer less visibility corresponding to containing class (IDEA-95697) 2012-12-03 17:06:28 +01:00
Roman Shevchenko
c0d2012934 IDEA-96228 (restrict annotation owner at lower language levels) 2012-11-30 20:19:26 +01:00
Roman Shevchenko
1c95e8a529 Duplicate test dropped 2012-11-30 20:19:26 +01:00
anna
8d44b61a55 cast conversion java 7 (IDEA-96213) [Roma]
(cherry picked from commit d433089be2856a9c3ae05c10daeeb12736d13023)
2012-11-30 16:52:25 +01:00
anna
306c531544 SOE (IDEA-95955)
(cherry picked from commit d092c1363b3ae02dbfb4059f0c0cf28df575024c)
2012-11-29 11:53:09 +01:00