Commit Graph

2962 Commits

Author SHA1 Message Date
Anna Kozlova
de7f053c42 new inference: do not accept varargs when array is passed there 2014-02-20 20:27:39 +01:00
Anna Kozlova
9fc4b68c25 new inference: take into account site substitutors during additional constraints gathering 2014-02-20 20:27:38 +01:00
Eugene Zhuravlev
74f13972f7 fixing compiler storage data integrity for certain cases when classes are moved between modules 2014-02-20 19:34:06 +04:00
Alexander Zolotov
e896024c69 Postfix completion: apply throw template on Throwable only 2014-02-20 16:07:52 +04:00
Alexander Zolotov
79e95dc617 Postfix completion: do not apply null, notnull and instanceof template on primitive types 2014-02-20 16:07:51 +04:00
Anna Kozlova
b11d66e0f1 new inference: method refs: do not include containing class type params in inference 2014-02-19 21:00:44 +01:00
Anna Kozlova
2a16fd1641 new inference: lambda functional type detection 2014-02-19 21:00:42 +01:00
Anna Kozlova
3093e7e63f testdata fixed 2014-02-19 21:00:41 +01:00
Roman Shevchenko
9495ef2667 IDEA-119396 (be picky about unfinished annotated new array expressions) 2014-02-19 19:31:45 +01:00
Anna Kozlova
54bfa05e5e new inference: lift also unknown vars (IDEA-117530) 2014-02-19 09:46:22 +01:00
Anna Kozlova
1b0e87f99e java 8: allow to cast to intersection types 2014-02-19 09:46:17 +01:00
Anna Kozlova
bd681beb26 new inference: 18.5.2 adjustments 2014-02-19 09:46:15 +01:00
Anna Kozlova
61039804a9 bound promotion for super wildcard (? super A (bound extends A) == A) 2014-02-19 09:46:14 +01:00
Anna Kozlova
a91c7f752d bound promotion for super wildcard (? super A (bound extends A) == A) 2014-02-19 09:46:12 +01:00
Anna Kozlova
15740a3cff new inference: cls copy replacement 2014-02-19 09:46:10 +01:00
Anna Kozlova
19ba9d8c8d new inference: resolve 2014-02-19 09:46:05 +01:00
Anna Kozlova
694432f156 new inference: capture conversions in return types initial; variable dependencies 2014-02-19 09:46:04 +01:00
Alexey Kudravtsev
c7b78f76a2 IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface 2014-02-18 13:55:52 +04:00
Dmitry Batkovich
ba7188dc42 Methods chains completion for arrays 2014-02-17 14:36:14 +04:00
Alexey Kudravtsev
4d50f3ba6a tests 2014-02-14 15:49:00 +04:00
Alexey Kudravtsev
4170df8d4c IDEA-110268 Lossy encoding: false positive for separated 0A/0D as UTF-8 2014-02-14 13:32:18 +04:00
peter
5cd8a05139 IDEA-120738 Complete current statement creates broken code 2014-02-13 20:25:36 +01:00
Anna Kozlova
31aba54296 new inference: choosing the most specific method inference 2014-02-13 16:41:20 +01:00
Dmitry Batrak
8c3d81d77b IDEA-80056 Column selection mode improvement
updating editor fixtures to work for multiple carets
2014-02-13 13:21:26 +04:00
Anna Kozlova
945357a527 IDEA-120600 Create Inner Class should create static inner class in qualifier class 2014-02-12 15:07:30 +01:00
Anna Kozlova
2076c69eeb IDEA-120636 Wrong "enum cannot be instantiated" 2014-02-12 15:07:28 +01:00
Anna Kozlova
b16df9509f new inference: lift type parameters; stop inference after false appears in bounds 2014-02-12 12:55:47 +01:00
Anna Kozlova
021c0c891e new inference: stop inference if false was inferred 2014-02-12 09:46:33 +01:00
Anna Kozlova
b5e1b382c8 new inference: incorporation step: substitute equal bounds 2014-02-12 09:46:32 +01:00
Anna Kozlova
c99aa93112 method reference: ref qualified isExact fixed (IDEA-120370) 2014-02-11 18:35:49 +01:00
peter
581d2b73aa IDEA-120586 @ParametersAreNonnullByDefault support broken 2014-02-11 15:31:13 +01:00
Anna Kozlova
9466bd9bde new inference: method refs: potentially compatible condition 2014-02-11 14:20:50 +01:00
Anna Kozlova
0072e05c02 testdata fixed 2014-02-11 09:54:31 +01:00
Anna Kozlova
fd00ca6f91 new inference: method refs overload resolution: filter static problems for ReferenceType refs only 2014-02-11 09:40:05 +01:00
Anna Kozlova
2b5764d82a new inference: method references: process varargs 2014-02-11 09:40:02 +01:00
Anna Kozlova
4889751ded new inference: exclude return constraints/non pertinent to applicability argument constraints from overload resolution process 2014-02-11 09:40:00 +01:00
Anna Kozlova
b9ef7b60c7 new inference: subtyping/equality constraints interoperability 2014-02-11 09:39:59 +01:00
peter
750013c064 parameter nullity annotation should have higher-priority than package-level ones 2014-02-10 18:34:10 +01:00
peter
4757fc901f fixture-based NullableStuffInspectionTest 2014-02-10 18:34:10 +01:00
Alexey Kudravtsev
ad661d92e4 correct level in highlighting:
highlight element X only when visiting X or its ascendant
2014-02-10 20:03:58 +04:00
Dmitry Batrak
143c66bc11 EA-52671 - assert: AbstractMappingStrategy.processFoldRegion 2014-02-10 10:58:36 +04:00
Anna Kozlova
5358bd270e new inference: testdata for IDEA-120376 2014-02-07 19:52:36 +01:00
Anna Kozlova
6efef684ce new inference: method ref inference: postpone return type inference in case of constructor refs 2014-02-07 18:43:54 +01:00
Anna Kozlova
5fb1dbb2ce new inference: check containing class type params if they are in bounds 2014-02-07 18:43:53 +01:00
Anna Kozlova
ff66c1b01a new inference: well formed check 2014-02-06 19:34:15 +01:00
Anna Kozlova
865a535fa7 new inference: wildcard parameterization inference 2014-02-06 19:34:13 +01:00
peter
3fd5b8e306 don't suggest lowercase non-imported classes in autopopup (IDEA-114348) 2014-02-06 16:25:10 +01:00
Alexander Zolotov
d9fb5143ca Add custom templates to completion list if corresponding Registry-key is enabled 2014-02-06 17:21:46 +04:00
peter
9c67ca6170 java completion: make recursion weigher less important than by-kind, because now it can lead to very unexpected sorting 2014-02-04 15:27:15 +01:00
Anna Kozlova
ba11e80028 IDEA-120217 same lambda param names highlighting 2014-02-04 18:17:57 +04:00