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
Bas Leijdekkers
d57591cd2c
IDEA-142912 (Intention: replace switch with if failed with bit operator (operator precedence))
2015-08-27 17:45:58 +02: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
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
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
Anna Kozlova
08c0a88251
functional type: find common super type of intersection type's conjuncts (IDEA-144145)
2015-08-20 16:01:58 +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
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
Anna Kozlova
8c2a945f80
testdata for IDEA-143390
2015-08-12 08:14:31 -07:00
Bas Leijdekkers
59f25f9789
generate default method and improved text & description for "delegated method with default parameter value" intentions
2015-08-08 21:54:24 +02:00
Anna Kozlova
1df6b8e711
new inference: ensure erased target type if substitutor was raw (IDEA-143183)
2015-07-29 10:02:59 +02:00
nik
3338d30023
add dependency on external library quick-fix: API simplified, duplicated code removed
2015-07-29 08:31:13 +03:00
Alexey Kudravtsev
59e0751e2c
cleanup
2015-07-24 16:54:15 +03:00
Roman Shevchenko
fe7ba298f6
Merge remote-tracking branch 'origin/master'
2015-07-22 18:26:08 +02:00
Roman Shevchenko
cff7efd5d1
[java] since Java 9, underscore identifiers are completely prohibited (IDEA-132278)
2015-07-22 18:23:28 +02:00
Roman Shevchenko
f7f0a5c0c4
[java] adds support for Java 9's improved try-with-resources (IDEA-140266)
...
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Anna Kozlova
3a9f429d3e
method references on lambda parameters for incomplete code (EA-66008 - assert: InferenceSession.collectApplicabilityConstraints)
2015-07-22 12:34:09 +02:00
Anna Kozlova
7677f61dc5
invalid annotation type detection based on type element (IDEA-142884)
2015-07-21 18:36:10 +02:00
Roman Shevchenko
8d620bf87f
Merge remote-tracking branch 'origin/master'
2015-07-21 09:17:29 +02:00
Anna Kozlova
75e3086fb2
lambda -> meth ref: reject replacements with invalid qualifiers (IDEA-142695)
2015-07-21 08:51:06 +02:00
Roman Shevchenko
32a6761ede
Cleanup (i18n; text corrected)
2015-07-20 12:06:25 +03:00
Roman Shevchenko
de416d4f7f
Cleanup (test moved to a correct location)
2015-07-18 23:13:56 +03:00
Anna Kozlova
7bec688369
lambda: don't reject value compatibility for lambdas with control flow problems inside (IDEA-142107)
2015-07-14 18:38:43 +03:00
Roman Shevchenko
106d1d5175
java: "Java X" language level for experimental features; T<any> wildcard support
2015-07-14 16:55:24 +03:00
Roman Shevchenko
83674908b6
IDEA-142416 (fixed parsing of annotated fully-qualified types in assignment statements)
2015-07-09 16:29:04 +03:00
Anna Kozlova
8a9e5ae9db
A.super.field should not accept super interface (IDEA-140646)
2015-07-07 18:18:30 +03:00
Yaroslav Lepenkin
6731485cb8
Reformat with context on postponed formatting: fixed java test data
2015-07-07 17:24:09 +03:00
Yaroslav Lepenkin
ecf06ab80c
Alignment on "public, static, void, <T>, throws" replaced with none indent.
...
Previously alignment were created for mostly every element of method/class declaration
|public |void |run() {
}
Therefore, when posprocess reformat is used in reformat context mode on "run" rename will be reformatted whole method declaration starting with public, which sometimes can be not usefull
2015-07-07 17:24:06 +03:00
Anna Kozlova
fde12ea8dd
unimplement with cyclic inheritance (IDEA-142343)
2015-07-07 14:55:18 +03:00
Anna Kozlova
303edac35e
functional type erasure: check if resulted type functional (IDEA-142341)
2015-07-07 14:55:14 +03:00
Roman Shevchenko
a9bbf772d6
IDEA-87252 (a couple more javadoc tests)
2015-07-06 18:33:32 +03:00
Anna Kozlova
024f917277
method refs: return type check fix for raw constructor (IDEA-142302)
2015-07-06 17:37:31 +03:00
peter
1294ec93f4
IDEA-140728 Suggest to automatically fill parameter of Stream#collect() method calls with standard Collectors instances
2015-07-03 18:25:08 +02:00
Anna Kozlova
51404269ff
ensure left expression is processed before right in assignments (IDEA-140772)
2015-07-03 14:57:13 +03:00
Anna Kozlova
fe400fc988
method refs: infer 'diamond' if constructor ref type is raw (IDEA-142142)
2015-07-02 20:08:10 +03:00
Roman Shevchenko
0888e688fd
Cleanup (unneeded test parameters)
2015-07-02 16:06:52 +03:00