Commit Graph

2753 Commits

Author SHA1 Message Date
Anna Kozlova
984b65ef65 new inference: incorporation with capture: treat type param's extends bounds as one as glb (IDEA-142145) 2015-09-02 17:04:31 +03:00
Anna Kozlova
9a7d951e1e new inference: caching resolve result during getTargetType inference (IDEA-142733; IDEA-140035; IDEA-133385) 2015-09-02 17:04:29 +03:00
Anna Kozlova
ed06d3ff72 preserve captured wildcards during non wildcard parameterization (IDEA-132690) 2015-09-01 16:30:52 +03:00
Anna Kozlova
21e2fd41c0 non wildcard parameterization: workaround problems caused by different parameterizations of the same class during glb algorithm (IDEA-132690) 2015-09-01 16:30:50 +03:00
peter
f482636569 IDEA-144532 "extends" keyword is not hinted correctly 2015-08-31 19:22:29 +02:00
Anna Kozlova
14cfc1680c unrelated defaults false negative (IDEA-144518) 2015-08-31 19:09:55 +03:00
Anna Kozlova
2df4481722 fix intersection types in receiver position (IDEA-144472) 2015-08-31 19:09:52 +03:00
Anna Kozlova
3d96977c2c unreachable code: qualified fields and array access in assignments (IDEA-144428) 2015-08-28 18:33:15 +03:00
peter
ba960d6dda IDEA-144461 AutoCompletion doesn't insert whitespace after annotation 2015-08-28 15:13:17 +02:00
peter
77d4defe4a IDEA-144489 "Complete current statement" creates broken code - missing closing paren on method invocation 2015-08-28 15:13:17 +02:00
Alexey Kudravtsev
6d831ef91e IDEA-142346 2015-08-28 14:37:30 +03:00
Bas Leijdekkers
d57591cd2c IDEA-142912 (Intention: replace switch with if failed with bit operator (operator precedence)) 2015-08-27 17:45:58 +02:00
Dmitry Batkovich
cb8099de91 Intention to convert a.equals(b) to Objects.equals(a, b) (IDEA-143925) 2015-08-27 15:27:31 +03:00
Anna Kozlova
ad99c2d9b5 anonymous -> lambda: cast if overload would fail (IDEA-144372) 2015-08-27 11:19:30 +03:00
Anna Kozlova
6144008d26 disable lambda -> meth ref if qualifier is not pure (IDEA-139825) 2015-08-26 16:23:35 +03:00
Anna Kozlova
98408c72f6 overload resolution: reject more specific inference contradicting site substitution 2015-08-26 12:08:47 +03:00
Dmitry Batrak
88ac46272b IDEA-143790 Quick Documentation does not work in package-info.java files when caret is inside doc comment 2015-08-26 11:20:20 +03:00
Dmitry Batrak
55df687635 enable showing javadoc for packages in library sources 2015-08-25 20:33:41 +03:00
Dmitry Batrak
0bf5ad7a76 don't show warning message in Quick Doc popup if javadoc was generated from sources (following IDEA-143699) 2015-08-25 20:33:40 +03:00
Alexander Zolotov
b0b31e7d50 IDEA-62743 Render issue links in Java comments 2015-08-25 16:46:27 +03:00
Anna Kozlova
c97e700f4f EA-72085 - NPE: ChangeToAppendUtil.buildAppendExpression 2015-08-24 20:00:17 +03:00
peter
ec4b481a7e IDEA-144236 try-with-resources causes auto-complete to fail 2015-08-24 15:02:54 +02:00
Anna Kozlova
7cf142b351 make method return fix: make available for constructor calls; java 8 specific tests; simplify inference 2015-08-20 21:47:30 +02:00
Anna Kozlova
77ae5909c9 IDEA-144117 2015-08-20 19:31:07 +02:00
Anna Kozlova
a93ad570ca semantic cast to &Serializable for functional expressions is not redundant even if expression is inside parenthesis (IDEA-143922) 2015-08-20 19:31:05 +02:00
Anna Kozlova
c0de8d22c6 new inference: reject array upper bounds which contradict with another class type bound (IDEA-144159) 2015-08-20 19:31:03 +02:00
peter
40ff319278 IDEA-143920 Sort symbols in completion list in "natural" order 2015-08-20 16:25:18 +02:00
Anna Kozlova
08c0a88251 functional type: find common super type of intersection type's conjuncts (IDEA-144145) 2015-08-20 16:01:58 +02:00
peter
d9a4fe148c IDEA-144146 Auto completion for 'else' inserts braces. 2015-08-20 12:19:09 +02:00
Anna Kozlova
8a071c3f74 fix method return type for vararg calls (EA-71978 - IAE: PsiOldInferenceHelper.inferTypeArguments) 2015-08-20 10:06:09 +02:00
Dmitry Batrak
9c1d75b93e IDEA-142762 Documentation view does not preserve documentation for renamed method parameters 2015-08-19 15:09:46 +03:00
Anna Kozlova
3b3bf18b69 suggest to fix return type based on args of method call in return stmt (IDEA-140894) 2015-08-19 12:34:41 +02:00
Anna Kozlova
6b08a2da04 testdata for IDEA-140035 2015-08-19 12:34:39 +02:00
Anna Kozlova
4518420113 don't correct substitution if not applicable, e.g. for unresolved functional types 2015-08-18 19:15:37 +02:00
Anna Kozlova
a1601f1d22 deoptimize so overriding methods from object marked as abstract won't get lost (IDEA-143141) 2015-08-18 12:34:42 +02:00
Anna Kozlova
c97ce52826 formal varargs not accessible check (jls) 2015-08-18 12:34:40 +02:00
Anna Kozlova
0da30526fd error for not accessible types mentioned by inferred functional type (IDEA-143417) 2015-08-18 12:34:31 +02:00
Anna Kozlova
676c477fab overload resolution: symmetry (IDEA-143310) 2015-08-18 12:34:29 +02:00
Anna Kozlova
bbda6d8b02 fix operation assignment (IDEA-143986) 2015-08-17 14:54:35 +02:00
peter
159b1363c5 get rid of Java15CompletionData and Java18CompletionData 2015-08-17 10:16:48 +02:00
peter
540b538a61 java completion: rewrite throws/default keyword suggestions in methods 2015-08-17 09:28:52 +02:00
peter
2e7061420f java completion: rewrite else/catch/finally keyword suggestions, add tests 2015-08-17 09:06:23 +02:00
peter
375bdad569 fix Collections.emptyMap not being suggested in completion if jdk8 is used 2015-08-16 17:55:05 +02:00
peter
046fc164b4 infer method type arguments from context in basic completion 2015-08-16 17:55:04 +02:00
Dmitry Batrak
decd330820 IDEA-141852 Quick documentation doesn't support @value tag without hash preceding variable reference 2015-08-14 15:52:10 +03:00
peter
16d92229b1 IDEA-143807 Incorrect smart completion inside a cast 2015-08-13 18:22:55 +02:00
peter
a509139159 IDEA-143839 No smart completion in method return type 2015-08-13 18:22:54 +02:00
peter
ec71fb4d28 IDEA-143786 Switch over enum completion - do not prefer just typed variants 2015-08-13 18:22:52 +02:00
Anna Kozlova
8c2a945f80 testdata for IDEA-143390 2015-08-12 08:14:31 -07:00
Yaroslav Lepenkin
8eea8eb13f Do not reformat parent code block on "complete current statement" action (IDEA-102479) 2015-08-11 14:39:13 +03:00