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
|
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 |
|
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
|
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
|
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
|
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 |
|
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 |
|
peter
|
7702812305
|
remove accidentally added unused testdata (IDEA-CR-19526)
|
2017-03-21 16:48:26 +01: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 |
|
peter
|
09d6f71387
|
IDEA-169780 Show parameter types in implement/override popup
|
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 |
|
Dmitry Batkovich
|
a9d1a227ad
|
add javadoc intention: do not handle type parameter as comment owner IDEA-169732
|
2017-03-20 12:41:05 +03:00 |
|
Tagir Valeev
|
efdfa0a22c
|
IDEA-169518 Convert "Move assignment to field declaration" to the inspection
|
2017-03-20 16:26:40 +07:00 |
|
Anna.Kozlova
|
2159d803f8
|
add javac quirks case for object-primitive comparison (IDEA-168944)
|
2017-03-17 16:42:50 +01:00 |
|
Pavel Dolgov
|
d81332e1f8
|
Java: Improved inspection "MethodHandle/VarHandle type mismatch" - show candidates for replacement of method/constructor in a separate pop-up menu (IDEA-167318)
|
2017-03-17 15:15:45 +03:00 |
|
Alexey Kudravtsev
|
b346fc5e2e
|
IDEA-169269 "Analyze dataflow to here" should process only implementations of current class when analyzing return values for a method call in instance method
|
2017-03-17 12:07:05 +03:00 |
|
Anna.Kozlova
|
cd431e9763
|
completion for inherited after new: find corresponding type parameter when target type passes to another parameter (IDEA-157803)
|
2017-03-17 09:39:29 +01:00 |
|
Dmitry Batrak
|
4ae6919940
|
IDEA-169556 Join Lines inserts redundant space in some cases
|
2017-03-16 15:26:23 +03:00 |
|
Alexey Kudravtsev
|
ee62f51f3e
|
IDEA-169542 'Analyze Dataflow to Here' misses assignment to variables passed to anonymous classes
|
2017-03-16 14:57:24 +03:00 |
|
Anna.Kozlova
|
d8c140ae13
|
parameter info: current method preselection when there are varargs overloading (IDEA-168649)
|
2017-03-16 11:15:51 +01:00 |
|
Tagir Valeev
|
55466aeef1
|
IDEA-169678 "Replace Optional.isPresent() condition with functional style expression" breaks code in case of 'Collection' return type
|
2017-03-16 11:22:15 +07:00 |
|
Anna.Kozlova
|
d688a9a7a4
|
guess expected type like for completion if on the left side of assignment to functional expression which provides in this case no expected type (IDEA-169382)
|
2017-03-15 20:07:06 +01:00 |
|
Anna.Kozlova
|
02d25ac5f6
|
invert if: pass context to resolve to correct inner/local class (IDEA-169396)
|
2017-03-15 20:07:06 +01:00 |
|
Anna.Kozlova
|
2464532a56
|
fix testdata due to changes in defaults
|
2017-03-15 16:18:57 +01:00 |
|
Roman Shevchenko
|
2d8c4a0e3c
|
[tests] better test for module annotations (IDEA-169410)
|
2017-03-15 14:32:41 +01:00 |
|
Dmitry Batrak
|
1a920de862
|
IDEA-169404 Don't use ellipsis for empty folded methods
|
2017-03-15 15:43:24 +03:00 |
|
Anna.Kozlova
|
9dfdd49e17
|
find class or interface to search the method: stop when accessible method is found even with static problem (IDEA-169504)
|
2017-03-15 10:41:42 +01:00 |
|
Anna.Kozlova
|
1e9f6352f2
|
make add cast fix available for vararg methods (IDEA-169541)
|
2017-03-14 14:17:14 +01:00 |
|
Pavel Dolgov
|
30039b5085
|
Java: Added quick fix tests for "MethodHandle/VarHandle type mismatch" inspection (IDEA-167318)
|
2017-03-14 13:21:13 +03:00 |
|
Tagir Valeev
|
b2cd46bdeb
|
StreamApiUtil: fix addition of map operation when object-object cast is involved
|
2017-03-14 13:19:47 +07:00 |
|