Commit Graph

2634 Commits

Author SHA1 Message Date
Anna Kozlova
63e11cc0f9 overload resolution: ensure that incorrect arg numbers are filtered and for varargs methods (IDEA-140868) 2015-05-29 17:42:25 +02:00
Anna Kozlova
7b0c5b6d05 new inference: check equals/upper/low bounds consistency 2015-05-29 14:48:27 +02:00
Anna Kozlova
cdb50293f2 capture conversion: ensure captured wildcards are not replaced after creation, so substitution is consistent; at the same time ensure that "?" with upper bound Runnable is equivalent to "? extends Runnable" 2015-05-28 19:42:11 +02:00
Anna Kozlova
719bfffcae don't override protected methods from Object in interfaces (IDEA-140804) 2015-05-28 19:42:10 +02:00
Anna Kozlova
5ffbec6759 method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730) 2015-05-28 19:42:08 +02:00
Anna Kozlova
a21990d31e overload resolution with varargs: don't prefer promitive varargs when no arg is provided (IDEA-140759) 2015-05-27 22:01:03 +02:00
Anna Kozlova
34d5b5f027 make normalize return denotable type (IDEA-140528) 2015-05-21 21:53:44 +02:00
Anna Kozlova
f18948a3a2 testdata for IDEA-140586 2015-05-21 21:53:42 +02:00
Anna Kozlova
db72cccc97 method refs: missed qualifier substitution for return type (IDEA-140539) 2015-05-21 14:11:26 +02:00
Dmitry Batrak
fbc6243931 IDEA-140025 support pre-Java8 javadoc logic if corresponding JDK is used 2015-05-21 12:00:54 +03:00
Dmitry Batrak
17373cf955 IDEA-140025 retain all spaces after @literal tag name 2015-05-21 12:00:52 +03:00
Anna Kozlova
d2c76135df testdata for IDEA-67592 2015-05-21 10:00:45 +02:00
Anna Kozlova
e529861e4a testdata for IDEA-67746 2015-05-21 10:00:44 +02:00
Anna Kozlova
6fdd5592d5 testdata for IDEA-67842 2015-05-21 10:00:42 +02:00
Anna Kozlova
4afc0327aa testdata for IDEA-57502 2015-05-21 10:00:41 +02:00
Anna Kozlova
c0258b3e2d testdata for IDEA-139090 2015-05-21 10:00:39 +02:00
Anna Kozlova
5eb8d5a8e6 testdata for IDEA-57320 2015-05-21 10:00:38 +02:00
Anna Kozlova
d64ec6f997 testdata for IDEA-57362 2015-05-21 10:00:36 +02:00
Anna Kozlova
eb0904cfd9 testdata for IDEA-57322 2015-05-21 10:00:34 +02:00
Anna Kozlova
97d8c99958 testdata for IDEA-57314 2015-05-21 10:00:33 +02:00
Anna Kozlova
78fe89e6c2 testdata for IDEA-57315 comment 2015-05-21 10:00:31 +02:00
Anna Kozlova
477689db69 testdata for IDEA-57361 2015-05-21 10:00:29 +02:00
Anna Kozlova
819f620cc8 testdata for IDEA-57387 2015-05-21 10:00:28 +02:00
Anna Kozlova
59f4b04154 testdata for IDEA-57313 2015-05-21 10:00:26 +02:00
Anna Kozlova
6f657b665f testdata for IDEA-67745 2015-05-21 10:00:25 +02:00
Anna Kozlova
fea58865be captured wildcards: refactor to extract same parts for extends/super wildcards, ensure upper bound is not lost for extends wildcard (IDEA-57292) 2015-05-21 10:00:23 +02:00
peter
fd62fed994 dfa: don't suggest to convert lvalue to ternary expression (IDEA-140519) 2015-05-20 15:21:20 +02:00
Anna Kozlova
1d5ff33cbe extend check for enclosing instance for java 8 default methods in interfaces (IDEA-140492) 2015-05-20 13:49:51 +02:00
Anna Kozlova
2fc7821d06 forbid native in interfaces (IDEA-140491) 2015-05-20 13:49:49 +02:00
Anna Kozlova
6b65d86df3 testdata for IDEA-139069 2015-05-20 10:47:25 +02:00
Anna Kozlova
443fda57f5 testdata for IDEA-57336 2015-05-20 10:47:23 +02:00
Anna Kozlova
8dae96f46f testdata for IDEA-139067 2015-05-20 10:47:22 +02:00
Dmitry Batrak
f7ecb8a5f7 IDEA-138063 Support HTML links with fragment references in quick doc 2015-05-19 13:26:06 +03:00
Dmitry Batrak
dc2b0581e2 IDEA-139946 support HTML links in generated Quick Docs 2015-05-19 13:26:05 +03:00
Anna Kozlova
4f0f3ff7fc new inference: include additional constraints to check applicability (IDEA-140355) 2015-05-19 11:07:45 +02:00
peter
1bd313a730 IDEA-139340 Inner class appears twice in code completion popup 2015-05-18 17:02:52 +02:00
peter
069adff3dd IDEA-140331 Improve intention action for 'Method invocation may produce NPE' 2015-05-18 17:02:51 +02:00
Dmitry Batrak
4fb41addc4 IDEA-140025 Ignore incorrect inline tags in doc comments, include all characters till whitespace in tag name, like javadoc tool does, 2015-05-18 11:36:18 +03:00
Anna Kozlova
4e9f79945c ensure static method inherit default if container classes are inheritors 2015-05-17 17:39:18 +02:00
peter
7ea7daa29a IDEA-140294 If you declare a variable and initialize it on the same line, autocomplete will suggest the new variable in that line 2015-05-15 17:25:39 +02:00
peter
4bd7d2e71c IDEA-139638 Completion: Live template shouldn't have bigger priority than local variable 2015-05-13 17:39:22 +02:00
Dmitry Avdeev
632af5206e IDEA-140043 Predefined Variables in Code Template "Catch Statement Body" not available 2015-05-13 16:01:02 +03:00
Anna Kozlova
ad840dea8a redundant cast: don't warn if functional expression corresponds to another interface method (IDEA-140218) 2015-05-13 14:39:06 +02:00
Anna Kozlova
fb0495e4a4 nested conditional expressions: don't require nested to be poly if outer is not 2015-05-13 11:41:23 +02:00
Anna Kozlova
4a63204f8b don't open capture if reference expression is returned from lambda expression (IDEA-139089) 2015-05-12 21:42:53 +02:00
Anna Kozlova
6a6b9f5226 java.util.Objects equals/hashCode: use Arrays for array fields, ensure single array is not passed to Objects.hashCode vararg to avoid confusion (IDEA-140111) 2015-05-12 17:07:09 +02:00
Anna Kozlova
fdbfd64350 ensure enum constructors are private (IDEA-139065) 2015-05-12 17:07:08 +02:00
Anna Kozlova
f9fd72ebac captured wildcard in subtyping constraints: use upper bound only (IDEA-139046) 2015-05-12 17:07:07 +02:00
Anna Kozlova
1d6a1bf27e accept casts as unchecked from generic types with type parameter with upper bounds as type argument: check parameter bounds first 2015-05-12 17:07:05 +02:00
Anna Kozlova
90dd4c5a31 EA-68330 - AIOOBE: RedundantLambdaParameterTypeIntention.isAvailable
process lambdas with formal param types at vararg position
2015-05-12 12:26:42 +02:00