Commit Graph
391 Commits
Author SHA1 Message Date
Alexey Kudravtsev 8c7aa7dde0 NotNull 2013-04-26 15:06:14 +04:00
anna 0dc7262c45 getExpectedTypeByParent utility 2013-04-24 19:16:26 +02:00
anna 3433d392a3 method applicability: do not check erased types if method was not called on raw type (IDEA-104992) 2013-04-24 14:14:49 +02:00
anna 516a76fa3b provably distinct: ? extends A should be provably distinct from Object until A is not an Object (IDEA-105695) 2013-04-23 15:35:49 +02:00
anna 566ef9c3ab check for upper bound in wrapped wildcard (IDEA-105846) 2013-04-22 15:50:31 +02:00
Alexey Kudravtsev 1298e515ab removed SpinAllocator usage 2013-04-09 12:57:39 +04:00
Roman Shevchenko 2ed5f43708 Diamond type's getPresentableText() behavior restored 2013-04-05 23:10:55 +02:00
Roman Shevchenko 218fd54bf2 Type annotation in wildcard and class reference types; more tests 2013-04-05 21:08:12 +02:00
anna f9c121d810 generate setter prototype from field: take context into account to gic resulted method correct parameter type (IDEA-104592) 2013-04-04 20:37:58 +02:00
Roman Shevchenko c730019888 Unneeded methods deprecated 2013-04-04 19:38:46 +02:00
Roman Shevchenko fc602c65bc PsiTypeElement.getType() fixed 2013-04-04 19:38:46 +02:00
anna c14be903d9 constant expressions check: discard polyadic expressions of non-primitive/Strings types (IDEA-104347) 2013-04-03 10:52:04 +02:00
anna d8dd961de3 EA-45384 - NPE: TypesDistinctProver.proveExtendsBoundsDistinct 2013-04-02 20:08:51 +02:00
anna 59db69ca97 revert 2013-03-27 19:51:51 +01:00
anna 32e6933895 revert 2013-03-27 14:50:55 +01:00
anna f43401e162 IDEA-103760 2013-03-27 09:20:02 +01:00
Roman Shevchenko 2c8b111114 Annotations representation in type text fixed 2013-03-25 23:10:57 +01:00
anna 775700a820 EA-44948 - CCE: PsiMethodReferenceUtil.areAcceptable 2013-03-21 21:01:02 +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
Roman Shevchenko 00dc5866e6 A parameter is actually nullable 2013-03-15 22:27:57 +01:00
Roman Shevchenko 96da9a0bd2 Typos; formatting 2013-03-15 22:27:56 +01:00
anna d1dee7c6e3 lambda: make more clear error message
(cherry picked from commit 80b5e3b490007cc6cd3d544ba5761d0b04fe288c)
2013-03-15 21:40:55 +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 3974ecd479 Formatting 2013-03-14 13:10:50 +01:00
Roman Shevchenko 094544f5d7 Annotation highlighting post-review cleanup 2013-03-13 20:26:09 +01:00
Roman Shevchenko 29f20c9421 Correct highlighting of annotations in new expressions 2013-03-13 13:26:19 +01:00
Roman Shevchenko d36e33494b Deprecation 2013-03-13 13:25:46 +01:00
Roman Shevchenko 2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
Roman Shevchenko f06d191a9d Javadoc 2013-03-13 10:23:18 +01:00
Bas Leijdekkers a9b4d10f8b EA-44720 (NPE: GenericsUtil.getVariableTypeByExpressionType) 2013-03-11 21:47:47 +01:00
anna 1986b5aa34 accept array types as receivers without subst checks 2013-03-04 16:03:08 +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 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 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 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 af83c60af8 constructor refs: forbid outer as implicit receiver in non-static inner class 2013-02-26 14:19:15 +01:00
anna d9f46bd581 NPE 2013-02-26 14:19:14 +01:00
Roman Shevchenko 95d7537701 Class short name calculation fixed 2013-02-26 13:59:27 +01:00
Roman Shevchenko e9f84b83d2 Strip annotations from package and import stubs 2013-02-25 21:57:25 +01:00
anna 33a583584b do not apply substitutor twice (IDEA-101752) 2013-02-25 18:44:14 +01:00
anna c1bdf8c317 check annotation applicable special 2013-02-22 21:34:57 +01:00
anna 18adb1cefc lambda: forbid type params in SAM methods (IDEA-101553) 2013-02-21 20:21:49 +01:00
anna 6edc546e65 lambda: void compatibility guess 2013-02-20 21:30:51 +01:00
anna 3595385432 cleanup: make guard final 2013-02-20 20:41:06 +01:00
anna def5e21e6a lambda: restore void-compatibility checks 2013-02-20 20:41:05 +01:00