peter
76641748e0
java completion: prefer lambdas over method references (IDEA-181662)
2017-11-07 21:51:31 +01:00
Roman Shevchenko
24ae1022e4
[java] highlights default package references in module-info.java files (IDEA-181405)
2017-11-02 11:39:42 +01:00
Roman
4e8bbcd4a3
create SortContent intention to sort varargs and array initializers
2017-11-01 16:05:25 +07:00
Anna.Kozlova
f368f326dc
follow IDEA-CR-26141
2017-10-27 20:18:47 +02:00
Dmitry Batkovich
6e2c225c5e
"Initialize variable" leads to an exception on invalid code IDEA-181272
2017-10-27 16:35:42 +03:00
Anna.Kozlova
543d1cf996
don't warn about final enum when it is not (IDEA-181211)
2017-10-26 15:23:08 +02:00
Anna.Kozlova
f4166d3f05
check function type's parameters/return type accessibility (IDEA-181036)
2017-10-25 19:50:25 +02:00
Anna.Kozlova
c415cde83e
definitely initialized should check order (IDEA-181149)
...
missed for field initialization; similar to class initializers
2017-10-25 19:50:25 +02:00
Anna.Kozlova
a2e13fee96
inference: check glb conflicts after flatten in intersection type(IDEA-181017)
2017-10-25 18:01:56 +02:00
Anna.Kozlova
c8f8341d2f
don't treat static method as concrete in hierarchy (IDEA-180930)
2017-10-25 18:01:56 +02:00
Dmitry Batkovich
eac0894f8a
fix test data
2017-10-25 15:46:06 +03:00
Tagir Valeev
0ff0cfe3bc
IDEA-180862 'Wrap using Collections.singletonList' intention doesn't work with subtypes of return type
...
Also anonymous classes supported
2017-10-24 16:46:42 +07:00
Anna.Kozlova
6bb976899e
overload resolution: resolve conflicts with static methods in super interfaces
2017-10-24 10:57:06 +02:00
Bas Leijdekkers
b6a75ac21d
IG: fix containsConflictingDeclarations()
2017-10-22 19:41:59 +02:00
Anna.Kozlova
4a014aafe4
testdata to ensure no unchecked warning when not-compilable (IDEA-CR-25757)
2017-10-19 13:48:52 +02:00
Anna.Kozlova
08752000cd
fix testdata
2017-10-18 10:50:03 +02:00
Anna.Kozlova
2658d37da0
inference: don't remember captured wildcard with non-proper bound (IDEA-180042)
...
later check could fail e.g. if bound was created inside one of nested session
2017-10-17 17:58:55 +02:00
Anna.Kozlova
bffca304b9
glb: ensure each super class processed once (IDEA-176779)
2017-10-17 11:48:38 +02:00
Anna.Kozlova
465458db4d
method references: don't fall to raw substitutor with second search (IDEA-180615)
2017-10-17 11:48:38 +02:00
Tagir Valeev
e4efb836cd
RedundantStringOperationInspection: fixes after review IDEA-CR-25339
...
1. messages cleanup
2. new StringBuilder(""). PrintStream.println("") are warned
2017-10-17 10:58:07 +07:00
Bas Leijdekkers
8c17d9fee4
fix split-filter intention on anyMatch()
2017-10-15 11:40:59 +02:00
Bas Leijdekkers
cad8001898
grammar fix in merge and split filter intentions
2017-10-15 11:40:59 +02:00
peter
609eea57ac
IDEA-178434 "Unwrap 'if' statement" produces incompilable code if variable declared in the if body shadows the outer scope variable
2017-10-13 21:17:37 +02:00
Anna.Kozlova
ef689b16b1
LVTI: warn on references to illegal class var (IDEA-180079)
2017-10-13 20:25:49 +02:00
Anna.Kozlova
084655d49f
don't capture when checking subtypes deep in hierarchy (IDEA-179850)
2017-10-13 19:36:58 +02:00
Anna.Kozlova
6d9327a71f
lvti: additional test data for projections
2017-10-13 12:45:56 +02:00
Anna.Kozlova
250956f8b0
report inference error if resolution failed (IDEA-179978)
...
in the issue, non-vararg overload candidate was chosen cause it was not filtered as inapplicable
2017-10-13 10:47:47 +02:00
Tagir Valeev
14759e531a
IDEA-180417 Generated code ("Replace with collect") is invalid follow-up
...
Fixed for groupingBy as well
2017-10-13 13:12:17 +07:00
Tagir Valeev
59c3fd672a
IDEA-180417 Generated code ("Replace with collect") is invalid
2017-10-13 13:04:12 +07:00
Anna.Kozlova
2f1a299401
captured of non-proper wildcard can't be used as solving bound (IDEA-180042)
2017-10-12 19:38:49 +02:00
Anna.Kozlova
f253087643
bring var to scope: disabled for resource variables (IDEA-180436)
...
EA-61004 - assert: BringVariableIntoScopeFix.invoke
2017-10-12 19:38:49 +02:00
Anna.Kozlova
0056220d8b
generic throwable: detect generics through ancestors (IDEA-179958)
2017-10-12 19:38:48 +02:00
Pavel Dolgov
24a6c66183
Java: Fixed removing unused variable occurrences from 'for' loop's update and init clauses (IDEA-180217)
2017-10-11 15:35:05 +03:00
Tagir Valeev
a07277260c
DeleteSideEffectsAwareFix: do not remove message for non-expression-statement
...
The fix is still useful if invoked for if condition/switch expression/etc. Fixes IDEA-180372.
2017-10-11 15:51:21 +07:00
Tagir Valeev
31b328cdca
RedundantStringOperation: append("") (IDEA-180178), intern()
...
ConstantStringInternInspection removed
2017-10-11 14:35:28 +07:00
Tagir Valeev
454efb3280
RedundantStringOperationInspection: SubstringZero and StringToString merged
2017-10-11 14:35:27 +07:00
Tagir Valeev
6fcd75db84
IDEA-180288 Quick fix breaks code: Optional.ofNullable() with not-null argument
2017-10-11 10:28:14 +07:00
Anna.Kozlova
8b84f7ab8e
include tree ancestors in type parameters iterable (IDEA-179958)
...
anonymous and local classes are inner classes which are not members of any other class, they are implicitly generics if applicable
2017-10-10 18:17:29 +02:00
Anna.Kozlova
79b362e643
precise rethrow: runtime exception special case for generic declared type only (IDEA-180035)
2017-10-10 18:17:29 +02:00
Anna.Kozlova
14cb19fa39
overload resolution: accept unqualified calls of static interface methods (IDEA-180236)
2017-10-09 15:00:48 +02:00
Tagir Valeev
08cea712a2
MoveFieldAssignmentToInitializerInspection: allow unknown methods
...
As this is intention-like part of inspection (no warning), we can allow it even if we are not sure that semantics will be preserved. See comments in IDEA-177602
2017-10-09 16:38:56 +07:00
Tagir Valeev
319d4c205a
ChangeToAppendUtil: do not add useless .append("")
...
Partially fixes IDEA-180178 String concatenation as argument to 'StringBuilder.append()' call should be smarter
2017-10-09 12:12:34 +07:00
Tagir Valeev
cdd80f8de4
UnrollLoopAction: support counting loop; limit max iterations to unroll
2017-10-09 11:24:05 +07:00
Tagir Valeev
9a91789f27
MethodReturnTypeFix: do not suggest when type refers to type parameter not available at method declaration
2017-10-09 09:27:16 +07:00
Tagir Valeev
504300662d
IDEA-179382 intention to change return type works when assigning but not when passing a return value as an argument to some different method
2017-10-06 17:46:20 +07:00
Roman Shevchenko
96373cd2c9
[java] supports @uses, @provides and @hidden tags in Javadoc inspection
2017-10-05 21:25:08 +02:00
Roman Shevchenko
a714a3703c
[tests] merges Javadoc inspection tests; drops duplicates
2017-10-05 13:36:32 +02:00
Roman Shevchenko
5c5c3ce691
[java] class-like annotation wrapping in modules
2017-10-02 20:19:01 +02:00
Roman Shevchenko
d8b2de2b28
[java] fixes formatting around soft keywords
2017-10-02 17:56:32 +02:00
Roman
19551bd6af
ComparatorCombinatorsInspection: support chain comparisons, provide fix
2017-10-02 18:43:25 +07:00