Anna.Kozlova
|
b2ecf6e674
|
inference: don't fix the lambda return type for nested lambda processing (IDEA-169161)
|
2017-04-05 18:28:48 +02:00 |
|
Anna.Kozlova
|
0340bd66af
|
suspicious calls: support new Map methods (IDEA-170815)
|
2017-04-05 18:28:48 +02:00 |
|
Anna.Kozlova
|
afd31563b0
|
convert to diamonds: ensure check for applicability is performed on static factory as otherwise it would be just skipped (IDEA-170813)
|
2017-04-05 10:00:19 +02:00 |
|
Bas Leijdekkers
|
94fdc35577
|
"push condition inside call" intention replaced with "Conditional can be pushed inside branch" inspection
|
2017-04-04 22:47:39 +02:00 |
|
Dmitry Batkovich
|
9713316b49
|
IDEA-170355 LongLineInspection ignores package/import statements in java
|
2017-04-04 12:10:44 +03:00 |
|
Dmitry Batkovich
|
a0cb4092b7
|
Merge branch 'db/method-chains-completion'
# Conflicts:
# jps/jps-builders/src/org/jetbrains/jps/backwardRefs/BackwardReferenceIndexUtil.java
# jps/jps-builders/src/org/jetbrains/jps/backwardRefs/BackwardReferenceIndexWriter.java
# jps/jps-builders/src/org/jetbrains/jps/incremental/JavaBuilderService.java
|
2017-04-03 17:08:15 +03:00 |
|
Dmitry Batkovich
|
91fa3f1dbe
|
method chain search use PsiType-s instead of raw strings
|
2017-04-03 16:07:09 +03:00 |
|
Dmitry Batkovich
|
6d4e63d001
|
added a test for completion
|
2017-04-03 15:53:38 +03:00 |
|
Anna.Kozlova
|
faa4c93b47
|
skip errors in case of diamond inference with type parameters on constructor
|
2017-04-03 13:52:13 +02:00 |
|
Anna.Kozlova
|
51d4e9936a
|
static imports: don't compare with expected type when it depends on unresolved reference (IDEA-163072)
|
2017-03-31 18:01:29 +02:00 |
|
Pavel Dolgov
|
79bbbbf8ff
|
Java: Quick fix for merging duplicate statements in module-info (IDEA-169211)
|
2017-03-31 15:59:08 +03:00 |
|
peter
|
4b83d7bd0d
|
IDEA-169972 Smart Enter before else-if splits that else-if
|
2017-03-30 16:54:24 +02:00 |
|
Tagir Valeev
|
478cae19bf
|
IDEA-170032 Replace with foreach is not proposed in alt-enter
Now both options (when unchecked) only disable warning and batch-mode replacement, but the action is still available as an intention.
|
2017-03-30 13:07:18 +07:00 |
|
Anna Kozlova
|
f150293994
|
visibility inspection: prefer extension visibility to default one (IDEA-166543)
|
2017-03-29 13:19:16 +02:00 |
|
Pavel Dolgov
|
8405b6ccb5
|
Java: Implemented inspection "Reflective invocation arguments mismatch" (IDEA-167270)
|
2017-03-29 12:54:08 +03:00 |
|
peter
|
e8ac7110c0
|
IDEA-170214 Properly handle Bean Validation inheritance in @NotNull/@Nullable problems inspection
|
2017-03-28 19:01:55 +02:00 |
|
Anna.Kozlova
|
28486bab6c
|
local can be final: suggest to add final to explicitly final params (IDEA-169342)
|
2017-03-28 16:28:29 +02:00 |
|
Anna.Kozlova
|
3da240cba6
|
method reference: distinguish captured wildcards by target parameters (IDEA-170340)
|
2017-03-28 10:09:30 +02:00 |
|
Anna.Kozlova
|
9f3dfc8629
|
check that inferred intersection type doesn't contain same generic type with different type arguments (IDEA-170325)
|
2017-03-28 10:09:30 +02:00 |
|
peter
|
7372d02347
|
override/implement completion: show short types, not raw (IDEA-CR-19511)
|
2017-03-27 17:39:24 +02:00 |
|
Anna.Kozlova
|
95226c21c5
|
explicit right to left side assignment failure when inference breaks on return type (IDEA-152677)
|
2017-03-27 10:34:43 +02:00 |
|
Tagir Valeev
|
a03fffe024
|
DFA Optional.orElse handling improved (splitting states)
|
2017-03-27 13:18:00 +07:00 |
|
Tagir Valeev
|
58dc190a9d
|
IDEA-170136 Null analysis inspection misses orElse(null);
|
2017-03-27 13:06:30 +07:00 |
|
Tagir Valeev
|
93e35b7334
|
ExtractSetFromComparisonChainAction improvements (IDEA-CR-19606)
1. Fixed modifiers for interfaces
2. Replacement wrapped with Collections.unmodifiableSet
3. Supported Java 1.4 and lower
4. Supported Guava ImmutableSet
5. Supported comparisons like s.equals("xyz"), Objects.equals(s, "xyz")
|
2017-03-27 12:35:02 +07:00 |
|
Roman Shevchenko
|
9f3251a3da
|
[java] drops support for incorrect (pre-b158) module-info.class attribute
|
2017-03-24 18:52:32 +01:00 |
|
Roman Shevchenko
|
5e5c14c57e
|
[java] raises language level to Java 9
|
2017-03-24 18:35:57 +01:00 |
|
Pavel Dolgov
|
25afffeb70
|
Java: Filter by 'static' modifier in MethodHandle/VarHandle completion assistance (IDEA-167319, IDEA-CR-19610)
|
2017-03-24 15:45:42 +03:00 |
|
Roman Shevchenko
|
6bd1b92c6e
|
[tests] prepares Java tests for the language level raise
|
2017-03-24 13:19:01 +01:00 |
|
Roman Shevchenko
|
1abffecba5
|
Cleanup (warnings, formatting)
|
2017-03-24 13:18:59 +01:00 |
|
Anna.Kozlova
|
ca035634d1
|
warn if generics vararg method is called with 50+ poly args (IDEA-169240)
|
2017-03-23 15:49:44 +01:00 |
|
Tagir Valeev
|
3d216927b7
|
DataFlowInspection: do not report some common compile-time flag checks
|
2017-03-23 11:34:35 +07:00 |
|
Pavel Dolgov
|
7c3a2057df
|
Java: Implemented completion of field types and method signatures in calls to findConstructor(), findVirtual(), findVarHandle(), etc (IDEA-167319)
|
2017-03-22 14:44:26 +03:00 |
|
Tagir Valeev
|
d9702d7d8d
|
ExtractSetFromComparisonChainAction: i18n, java9 test, disable in Java 1.4 or lower (as varargs and generics aren't available there)
|
2017-03-22 18:30:28 +07:00 |
|
Tagir Valeev
|
b0c584a295
|
IDEA-170033 Support raw-types when converting Iterable.forEach to loop
|
2017-03-22 16:51:46 +07:00 |
|
Tagir Valeev
|
836c498178
|
IDEA-168201 Intention to extract a set from "foo".equals(xyz) || "bar".equals(xyz)
|
2017-03-22 16:35:33 +07:00 |
|
Anna.Kozlova
|
4184796590
|
support .class guard (IDEA-169707)
|
2017-03-21 17:21:27 +01:00 |
|
peter
|
7702812305
|
remove accidentally added unused testdata (IDEA-CR-19526)
|
2017-03-21 16:48:26 +01:00 |
|
Pavel Dolgov
|
815aeb4583
|
Java: Updated test data for "MethodHandle/VarHandle type mismatch" (IDEA-167318, IDEA-CR-19455)
|
2017-03-21 18:01:51 +03:00 |
|
Pavel Dolgov
|
4d60277ee6
|
Java: Implemented sorting the candidates pop-up and added icons in that pup-up for "MethodHandle/VarHandle type mismatch" (IDEA-167318), refactored upon review feedback (IDEA-CR-19455)
|
2017-03-21 14:37:01 +03:00 |
|
Anna.Kozlova
|
278d43dc00
|
enable static import quick fix on "method expected" error (IDEA-169966)
|
2017-03-21 12:18:45 +01:00 |
|
Anna.Kozlova
|
e75f2f7860
|
make message closer to javac error (IDEA-169865)
|
2017-03-21 12:18:45 +01:00 |
|
Tagir Valeev
|
f764692965
|
StreamToLoopInspection refactoring: strings replaced with actual PsiType's (as they are valid now); removed unnecessary code due to all PsiExpressions are also valid
|
2017-03-21 14:21:29 +07:00 |
|
peter
|
ea75860ac8
|
IDEA-169520 Flow annotations visible in Collections interface methods
|
2017-03-20 17:09:05 +01:00 |
|
Anna.Kozlova
|
0a889aa880
|
distinguish usageInfos corresponding to one poly reference
static import on overload method should be updated when all overloads are renamed simultaneously (IDEA-142445)
|
2017-03-20 17:05:33 +01:00 |
|
Anna.Kozlova
|
e30711cb87
|
inline constructor: allow inlining constructors with multiple statements in chained constructor calls (IDEA-168258)
|
2017-03-20 17:05:33 +01:00 |
|
peter
|
b4f3d9d54e
|
fix DataFlowInspectionTest
|
2017-03-20 16:42:50 +01:00 |
|
peter
|
09d6f71387
|
IDEA-169780 Show parameter types in implement/override popup
|
2017-03-20 13:32:19 +01:00 |
|
peter
|
2ef1a4bffb
|
a test for how dfa treats static final string comparison (IDEA-169892)
|
2017-03-20 13:32:19 +01:00 |
|
peter
|
6271698a64
|
IDEA-169818 Completion for first argument of Map.getOrDefault should be same as for Map.get
|
2017-03-20 13:32:19 +01:00 |
|
Anna.Kozlova
|
c482c21b29
|
create from usage: ensure type parameters are extracted from wildcards (IDEA-169857)
|
2017-03-20 11:45:14 +01:00 |
|