Commit Graph
806 Commits
Author SHA1 Message Date
Roman Shevchenko 8bb33ccdca Type annotations on C-style arrays are recognized now 2013-03-31 23:13:14 +02:00
anna 7cb3c66d87 type parameter referenced from static context error (IDEA-104160)
(cherry picked from commit ac98afef2ab67f2b548e6723e63b3b9752bf82f5)
2013-03-29 20:10:02 +01:00
anna 141ef05254 testdata for IDEA-104100
(cherry picked from commit 411a14aa13d2b77fb37adbb2f00c7d1dcff2efdf)
2013-03-29 20:09:57 +01:00
anna cb99f86169 AIOOBE IDEA-103980
(cherry picked from commit 235e1ab6ff11856c91e6c5afded3209879ac473e)
2013-03-27 19:02:37 +01:00
anna 09f4a50b16 prevent diamonds in reference parameter list other than <> -> invalid PsiDiamondType in substitutors
(cherry picked from commit 4f7cc7a)
2013-03-27 19:02:35 +01:00
anna f43401e162 IDEA-103760 2013-03-27 09:20:02 +01:00
anna b95a271d12 generate getter/setter: allow public getter for public enum (IDEA-103718)
(cherry picked from commit bb95544d55937ef04d739a4c01839280a4eefb67)
2013-03-26 21:43:06 +01:00
Roman Shevchenko 992d208806 IDEA-103576 (correct processing of unhandled multi-catch exceptions) 2013-03-24 11:24:52 +01:00
anna 8f5515b2d6 create enum from usage: do not insert extends Enum list; disable create class from usage when class should extend final or enum (IDEA-103480)
(cherry picked from commit b2baa7ff649c365d6d57bf873e9fd015ccc32809)
2013-03-21 10:40:52 +01:00
anna ec801909f9 graph inference: take into account present type args during graph inference (IDEA-103023)
(cherry picked from commit e9e05d9d47210f6e315cef233f8b5b33192df7fc)
2013-03-21 10:40:44 +01:00
anna a1753089fe lambda -> method ref: disable for inapplicable target methods (IDEA-103369)
(cherry picked from commit c05e901232c17e1a93a7024e5d7262d6a324c5e3)
2013-03-21 10:40:42 +01:00
Roman Shevchenko 4db079dbbe IDEA-91596 (test case) 2013-03-19 20:51:57 +01:00
anna 664fb24186 create field from usage: insert braces at selection end (IDEA-102716)
(cherry picked from commit 7eba27508d6e74cad0841013c313c05f6d96f17e)
2013-03-15 21:39:50 +01:00
anna 8ed5a8175f red code is green: impossible to have 2 signatures with same signature and different primitive return types (IDEA-102866)
(cherry picked from commit c4093d0e8a1021f80fafb3c6b1fc35388da46ac6)
2013-03-15 21:38:19 +01:00
anna 7f1f607d98 generate public getter/setter for abstract classes (IDEA-102872)
(cherry picked from commit 61685b9d890fce99c050e1b98261527b7a0e9363)
2013-03-15 21:38:02 +01:00
Roman Shevchenko 75f112bc0d IDEA-54393 (type element tree generation reworked)
Fixes: marking of generated elements, annotated types
2013-03-14 21:04:02 +01:00
Roman Shevchenko 29f20c9421 Correct highlighting of annotations in new expressions 2013-03-13 13:26:19 +01:00
Roman Shevchenko 9daf85536c Parse annotations in new expressions 2013-03-13 11:15:41 +01:00
Roman Shevchenko 2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
anna 436f2cc351 lambda: primitive array type constructors fixed (IDEA-102836) 2013-03-11 12:29:05 +01:00
anna b298b6a8bc lambda -> method refs: array refs supported 2013-03-04 16:03:09 +01:00
anna d7c5ecacdd constructor refs: decline abstract classes (IDEA-102392) 2013-03-04 16:03:07 +01:00
anna 140a30285d calls on raw type: need erasure 2013-03-01 20:05:19 +01:00
anna fcd09e4b99 reject type args for constructor of a class without type params (IDEA-102239) 2013-03-01 20:05:18 +01:00
anna e6fb83143a change new operator type: anonymous classes processed (IDEA-102236) 2013-03-01 18:11:40 +01:00
anna ae9e9ab0c5 register quick fixes on "expression expected" (IDEA-101705) 2013-02-28 19:31:00 +01:00
Roman Shevchenko 54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna a55b0fa17b lambda/method refs: more specific according to 15.12.2.5 - prefer private when private type is given/reference when reference type is given 2013-02-27 18:03:32 +01:00
anna 47c7983713 lambda: check more specific method based on lambda return types with wildcards 2013-02-27 18:03:31 +01:00
anna c64013e004 lambda: check more specific method based on lambda return types 2013-02-27 16:07:30 +01:00
anna 6308a651a2 lambda/method refs: inference exception variables (initial) 2013-02-27 12:19:40 +01:00
anna 4bf90bf26d lambda: testdata 2013-02-26 21:20:52 +01:00
anna e48f61bf4d method refs: test data to check enum/interface/annotation not accepted; isAcceptable checks on Array types 2013-02-26 20:38:07 +01:00
anna 2ceabcf7ba method refs: super::abstract method 2013-02-26 19:51:03 +01:00
anna 7333331a42 method refs: decline constructor refs on array ref with inapplicable substitutor 2013-02-26 19:51:02 +01:00
anna 23056b8d20 method refs: patch getClass return value in the same way it is done in PsiMethodCallExpression 2013-02-26 19:51:01 +01:00
anna 456a49ce9f method refs: fix testdata according to new javac strategy 2013-02-26 16:30:12 +01:00
anna a41b5c6f85 support method/constructor refs on array types 2013-02-26 16:30:11 +01:00
anna 96abac54cc method refs: treat boxed types as with anonymous 2013-02-26 16:30:10 +01:00
anna ed8986937e method refs: compilation error when static method is accept through instance reference 2013-02-26 14:19:16 +01:00
anna af83c60af8 constructor refs: forbid outer as implicit receiver in non-static inner class 2013-02-26 14:19:15 +01:00
anna d20905d2d5 constructor refs: forbid default constructors for inner classes 2013-02-26 14:19:15 +01:00
anna 33a583584b do not apply substitutor twice (IDEA-101752) 2013-02-25 18:44:14 +01:00
anna b562064e02 lambda: conditional inference updated 2013-02-25 18:44:13 +01:00
anna a684c033a1 lambda: replace raw inference from lambda with Object when it doesn't matter (IDEA-101788) 2013-02-25 14:12:42 +01:00
anna 25220f5f46 method refs: accept generic methods in functional interfaces testdata 2013-02-21 20:21:50 +01:00
anna 985efd2362 more specific method should be chosen before static access is checked (IDEA-101480) 2013-02-21 15:23:11 +01:00
anna e869310a92 ambiguous method call: choose one method if both are from the same hierarchy as the actual problem is there (IDEA-101529) 2013-02-21 15:23:10 +01:00
anna 5c8e94689b update anchor to skip whitespaces (IDEA-93459) 2013-02-21 11:38:11 +01:00
anna 6edc546e65 lambda: void compatibility guess 2013-02-20 21:30:51 +01:00