Commit Graph

428 Commits

Author SHA1 Message Date
Anna Kozlova
f1c1c6ee42 support @FunctionalInterface 2013-01-28 16:21:22 +04:00
Anna Kozlova
857c23caf2 method refs: wildcards treatment (IDEA-99828) 2013-01-28 14:00:10 +04:00
Roman Shevchenko
10b479fa05 Cleanup 2013-01-25 20:22:12 +04:00
Anna Kozlova
a0d654aba8 IDEA-99536 2013-01-23 17:26:28 +04:00
Anna Kozlova
196ed7600d prefer interface as super method when class extends unrelated class and interface (IDEA-99347) 2013-01-21 19:11:45 +04:00
Anna Kozlova
85cc736b86 unchecked warning (IDEA-99357) 2013-01-21 15:10:29 +04:00
anna
4cbc38008a lambda: incompatible lambda parameters type check fixed according to wildcards (IDEA-99073) 2013-01-16 15:57:08 +01:00
anna
225296c67f treat Object[] (IDEA-99061) 2013-01-15 12:49:02 +01:00
Alexey Kudravtsev
be7cb06a61 @NotNull 2013-01-15 13:57:07 +04:00
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
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
9a683bbc4a formatter: field groups alignment: correctly process range (IDEA-98368; IDEA-98367) 2013-01-03 19:41:16 +01:00
anna
8d97155040 erasure: use before subst for type param bound (IDEA-98092) 2013-01-03 16:04:53 +01:00
Roman Shevchenko
b4eebdd684 IDEA-98421 (parse super call type arguments) 2013-01-02 21:19:14 +01:00
Roman Shevchenko
e6753d5369 Cleanup 2013-01-02 16:28:37 +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
c55a43df60 testdata fixed 2012-12-27 20:14:15 +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
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
Alexey Kudravtsev
fb14e965f4 encoding fixes: utf-32 support,
introduce two separate actions: Reload and Convert,
warn on incompatible encoding on convert,
UI more usable - new Project Encoding separate setting
IDEA-74801, IDEA-74873
2012-12-17 14:05:14 +04:00
anna
5aa6fe3572 check overriding in correct order (IDEA-97506) 2012-12-14 18:36:43 +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
Roman Shevchenko
20d8ea0085 Test-only methods moved to test framework 2012-12-11 19:35:32 +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
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
306c531544 SOE (IDEA-95955)
(cherry picked from commit d092c1363b3ae02dbfb4059f0c0cf28df575024c)
2012-11-29 11:53:09 +01:00
anna
e5a6ce555d EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific
(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
2012-11-29 11:53:02 +01:00
anna
a5f940d5e4 method reference: proceed with class type when diamond static factory is used (IDEA-93099) 2012-11-21 12:20:29 +01:00
anna
ed23e353b4 intersection type flattening: prefer non raw types (IDEA-95124) 2012-11-19 17:04:40 +01:00
anna
9cef655a6a accept row types when bounds were parameterized issue (IDEA-94987) 2012-11-19 17:04:39 +01:00
anna
67ac8cc039 instance inner class accessed from static context in declaration: error if containing class contains type params, good code otherwise 2012-11-16 21:05:06 +01:00
anna
1b745866b9 check for specific return type should take substitutors into account (IDEA-95129) 2012-11-16 14:22:44 +01:00