Anna.Kozlova
|
85cdf34c8a
|
disable import static constant at annotation position
|
2017-04-21 20:03:27 +02:00 |
|
Roman Shevchenko
|
e780dc29d6
|
Merge remote-tracking branch 'origin/master'
|
2017-04-21 14:05:46 +02:00 |
|
Roman Shevchenko
|
a7c9a25e2a
|
[java] fixes formatting in "provides with" reference list
|
2017-04-21 13:39:40 +02:00 |
|
Tagir Valeev
|
036f556c55
|
ControlFlowUtils#statementBreaksLoop: fix void return case
|
2017-04-21 17:52:15 +07:00 |
|
Bas Leijdekkers
|
58f662cf62
|
try to make quick fix name more clear
|
2017-04-19 22:06:58 +02:00 |
|
Anna.Kozlova
|
16b0cce4f6
|
overload resolution: don't skip static method conflicts in classes in hierarchy (IDEA-171617)
|
2017-04-19 14:01:07 +02:00 |
|
Pavel Dolgov
|
af08eeeeb9
|
Merge duplicate statements in module-info.java - merge all duplicates at once, preserve comments, set caret to the resulting statement (IDEA-169211)
|
2017-04-19 13:57:14 +03:00 |
|
Anna.Kozlova
|
c322dd3807
|
method reference: registry option to skip unsound capture conversion specified in the spec but ignored by the javac, to be changed in the next spec version (IDEA-171488)
|
2017-04-18 15:03:44 +02:00 |
|
Anna.Kozlova
|
a3dca1423c
|
method references: exclude type parameter used in return types only (IDEA-171480)
|
2017-04-18 15:03:44 +02:00 |
|
Pavel Dolgov
|
9a6fa90298
|
Java: Quick fix for merging duplicate statements in module-info - don't offer to merge the statements where merging is equivalent to deletion (IDEA-169211, IDEA-CR-19927)
|
2017-04-14 16:19:18 +03:00 |
|
Anna.Kozlova
|
c917f02b47
|
testdata for javac resolution order: to be merged in java 9 update
|
2017-04-11 16:22:35 +02:00 |
|
Anna.Kozlova
|
c9554bd544
|
move initializer to setup: should work when setup method is there (IDEA-171236)
|
2017-04-11 11:52:20 +02:00 |
|
Tagir Valeev
|
d0bd812d05
|
BoolUtils#getNegatedExpressionText: push negation down into || and &&
|
2017-04-10 16:11:18 +07:00 |
|
Tagir Valeev
|
f4c6d909ab
|
IDEA-171205 Create local variable from usage: honor most suitable overload by parameter count
|
2017-04-10 11:29:42 +07:00 |
|
Anna.Kozlova
|
1d95e4ee02
|
java 9: effectively final check fixed (IDEA-171152)
|
2017-04-07 19:00:58 +02:00 |
|
Roman Shevchenko
|
42152d7dd5
|
Merge remote-tracking branch 'origin/master'
|
2017-04-07 18:54:51 +02:00 |
|
Roman Shevchenko
|
0588a4d12c
|
[java] recognizes @moduleGraph tag
|
2017-04-07 18:53:56 +02:00 |
|
Roman Shevchenko
|
2a47148d94
|
[tests] message texts in Javadoc highlighting tests
|
2017-04-07 18:48:45 +02:00 |
|
Anna.Kozlova
|
c0b06a8f2a
|
java 8: access static method through instance variable: don't show warning, error is enough; add quick fix for an error same as for inspection
|
2017-04-07 18:20:18 +02:00 |
|
Anna.Kozlova
|
32073ed7f9
|
java 9: hide inappropriate for interface modifier suggestions, ensure valid combination of modifiers (IDEA-171091)
|
2017-04-07 18:20:18 +02:00 |
|
Anna.Kozlova
|
229ff01656
|
java 9: ensure private methods in interfaces do not receive implicit public modifier (IDEA-171089)
|
2017-04-07 18:20:18 +02:00 |
|
Anna.Kozlova
|
8e598aa908
|
java 9: reject private modifiers in annotation types (IDEA-171088)
|
2017-04-07 18:20:18 +02:00 |
|
Anna.Kozlova
|
412d071d08
|
add fixes to change expected type when inference fails due to it (IDEA-162846)
|
2017-04-07 09:51:10 +02:00 |
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
Anna.Kozlova
|
c482c21b29
|
create from usage: ensure type parameters are extracted from wildcards (IDEA-169857)
|
2017-03-20 11:45:14 +01: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 |
|
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 |
|