Commit Graph

107 Commits

Author SHA1 Message Date
Roman Shevchenko
b5d7a7e951 EA-38210 (fallback to Object for incorrect multi-catches) 2012-08-15 17:05:11 +04:00
anna
f90fadbd52 lambda: infer lambda param types in method call, return statement context 2012-07-19 18:44:23 +02:00
anna
5bb4a61bb9 lambda: inference param types for assignment and cast context 2012-07-19 12:15:41 +02:00
anna
89653cb1f1 method conflicts resolution (IDEA-87672) 2012-07-05 16:13:22 +02:00
Roman Shevchenko
93488641f8 Lambda expressions support: drop generic lambda expressions 2012-06-09 14:25:59 +04:00
Roman Shevchenko
69f07ad01e IDEA-87248 (smart type pointer manager should be more tolerant to unknown types) 2012-06-08 20:53:28 +04:00
Roman Shevchenko
ee50d99da0 Lambda expressions support: second round
- typed parameters
- type parameter list
- resolve inside lambda
2012-06-08 14:34:03 +04:00
Roman Shevchenko
6ea4c06d8f Lambda expressions support: first round 2012-06-05 21:52:05 +04:00
Roman Shevchenko
bd86a3e9bd Introduce method reference type; mute type check for it 2012-06-04 12:19:08 +04:00
Roman Shevchenko
95534a1d3c First take on method references 2012-06-01 22:09:48 +04:00
Anna Kozlova
cc65b6f067 private inner is not visible in type param bounds (IDEA-67517) 2012-05-29 18:35:42 +04:00
Roman Shevchenko
eba132876e IDEA-86690 (highlight unqualified super expressions in extension methods) 2012-05-28 20:54:36 +04:00
Roman Shevchenko
bacbe8edf2 Java 8 style of qualified super expressions 2012-05-28 18:56:48 +04:00
Roman Shevchenko
3f4aca11bd Extension methods aren't abstract 2012-05-24 21:43:35 +04:00
Roman Shevchenko
5a7dd97108 Do not highlight extension methods' bodies 2012-05-24 21:43:35 +04:00
Roman Shevchenko
fedd867f19 Two heavyweight tests replaced 2012-05-11 23:42:55 +04:00
anna
ab5cb775fe IDEA-84960 2012-04-20 11:36:05 +02:00
anna
817fc5aae4 simlify ? super ? wildcard (IDEA-63765) 2012-04-19 12:41:39 +02:00
anna
f4cf77fb68 capture wildcard for getClass calls 2012-04-19 12:41:38 +02:00
anna
42ac547c07 testdata fixed 2012-04-19 10:57:46 +02:00
anna
d745b1a7f7 unchecked generics array creation: subst should be applied before isReifiable check (IDEA-79052) 2012-04-19 09:35:08 +02:00
anna
a37c58c745 bad code is green (IDEA-84533) 2012-04-14 10:28:57 +02:00
anna
e620a9e7b3 revert 2012-04-10 10:18:10 +02:00
anna
e545e4a316 test data for IDEA-22547 2012-04-09 13:14:20 +02:00
anna
e53c751c96 test data for IDEA-21660 2012-04-09 13:07:33 +02:00
anna
38c8ea8d02 ambiguous method calls: conflict resolver, tests
(IDEA-24768)
warn in jdk7 about static methods classes with same erased signature
2012-04-09 12:43:31 +02:00
anna
6cfb2cafce ambiguous method calls: conflict resolver, tests
(IDEA-25097)
2012-04-09 12:22:53 +02:00
anna
e386cea3ab ambiguous method calls: conflict resolver, tests (IDEA-78027) 2012-04-09 12:12:56 +02:00
anna
d8748bb076 ambiguous method calls: conflict resolver, tests
(IDEA-67832; IDEA-67837; IDEA-67573; IDEA-57306;
 IDEA-57535; IDEA-57269; IDEA-57278; IDEA-57317)
2012-04-09 11:57:27 +02:00
anna
8fe1604bd1 show warning on type parameter declaration if it lead to multiple methods with same erasure (java7 only) 2012-04-08 14:05:51 +02:00
anna
dc5c191afc ambiguous method calls: conflict resolver, tests
(IDEA-67919; IDEA-67863; IDEA-67920;
 IDEA-67831; IDEA-67833; IDEA-67674;
 IDEA-67587; IDEA-57646; IDEA-57407;
 IDEA-57279; IDEA-57296; IDEA-57297;
 IDEA-57316; IDEA-57331)
2012-04-06 11:55:43 +02:00
Roman Shevchenko
2a99d489af IDEA-80590 (hint to ignore unused for-each parameters and resource variables) 2012-03-28 00:15:10 +02:00
anna
a829ba2568 ignore parameter for foreach (IDEA-72671) 2012-02-14 18:54:07 +01:00
anna
86518ea411 do not highlight unused foreach parameter (IDEA-72671) 2012-02-13 18:41:26 +01:00
anna
ba961d59ad highlight error: access to a private field from a class annotation is not possible 2012-02-10 16:49:46 +01:00
Roman Shevchenko
f214f99337 [ann] IDEA-80335 (more precise check for exceptions from AutoClosable types) 2012-01-26 20:33:48 +04:00
anna
042e92601f diamonds: retrieve qualifier type 2011-12-19 18:23:27 +01:00
anna
09c0ca15d8 IDEA-78031 diamonds with new qualifiers 2011-12-19 12:37:02 +01:00
Roman Shevchenko
c917bfc09b IDEA-77008 (warn about generics in qualifier reference inside type cast) 2011-12-07 16:39:03 +01:00
Roman Shevchenko
259c98c535 IDEA-70214 (forward lookup for type parameters) 2011-11-08 20:43:01 +01:00
anna
263680df94 use type parameter bound when normalize super wildcard by position (IDEA-73980) 2011-09-14 19:36:26 +02:00
anna
b294192ac2 diamonds: should check raw types when error occurs before inference is even started (IDEA-74053) 2011-09-08 19:27:51 +02:00
anna
ab1d2768b6 diamonds: do not capture wildcard on inference (IDEA-73689 ) 2011-08-31 16:53:36 +02:00
anna
2787a3a5f4 add warning on switch by inaccessible enums (IDEA-65961 ) 2011-08-24 12:05:55 +02:00
anna
d8613c2ee1 diamonds: no diamonds with anonymous classes (IDEA-72391) 2011-07-26 10:56:48 +04:00
Roman Shevchenko
7f0b52ac52 IDEA-71244 (NPE at single-type/single-static import conflict fixed) 2011-06-24 16:29:15 +04:00
Alexey Kudravtsev
4d63800998 highlight unresolved method call even with unresoolved arguments 2011-06-20 11:54:16 +04:00
anna
765d5e4f01 do not highlight enum constants as unused when values are used (IDEA-65298 ) 2011-06-15 14:51:09 +04:00
Roman Shevchenko
9387f10fc2 IDEA-70089 (inherited methods should shadow statically imported ones) 2011-06-09 11:47:23 +04:00
anna
2280dade76 skip parenthesized expressions during type inference (IDEA-70591) 2011-06-03 17:59:04 +04:00