Anna.Kozlova
|
58fcabfd2b
|
functional interfaces: allow intersection with 2 independent abstract methods with same signature (IDEA-171622)
|
2017-04-21 20:03:27 +02:00 |
|
Anna.Kozlova
|
d680d55c99
|
register local refs to java if references are registered in literal expression by foreign contributor (e.g. reflection, data providers, etc) (IDEA-171495)
|
2017-04-21 20:03:27 +02:00 |
|
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 |
|
Dmitry Batkovich
|
af57b8414a
|
method chain completion: suggest chains for collection of elements
|
2017-04-20 18:46:21 +03:00 |
|
Dmitry Batkovich
|
4d79d6635a
|
method chain completion: suggest chains for arrays
|
2017-04-20 16:12:08 +03:00 |
|
Dmitry Batrak
|
64d63f4a2a
|
IDEA-170735 CTRL+MouseOver popup over inner class does not show outer class - update existing test
|
2017-04-20 14:53:54 +03:00 |
|
Tagir Valeev
|
dab8efdeaf
|
IDEA-170892 Inspection: Suspicious Arrays.fill() call
|
2017-04-20 18:27:11 +07:00 |
|
Dmitry Batkovich
|
9f13e80bc1
|
method chain completion: use proper qualifier, not method declaration class
|
2017-04-20 12:23:55 +03:00 |
|
Tagir Valeev
|
319a4db5c0
|
IDEA-117814 Allow to ignore some methods in "suspicious variable/parameter name combination" inspection like PrintStream.println()
Tests converted from InspectionTestCase to LightInspectionTestCase
|
2017-04-20 13:57:26 +07:00 |
|
Bas Leijdekkers
|
58f662cf62
|
try to make quick fix name more clear
|
2017-04-19 22:06:58 +02:00 |
|
Bas Leijdekkers
|
ad4c63bd1f
|
fix false negative in "Redundant array creation" inspection
|
2017-04-19 22:06:58 +02:00 |
|
Roman Shevchenko
|
990be87937
|
[java] "complete statement" in module-info.java (IDEA-170568)
|
2017-04-19 17:20:59 +02:00 |
|
Roman Shevchenko
|
f71fdbba2c
|
Cleanup (unneeded restore in tests; unneeded exceptions; formatting; typos)
|
2017-04-19 15:52:10 +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 |
|
Anna.Kozlova
|
9f6e8ccb35
|
delegate methods: restore ellipsis type (IDEA-171529)
|
2017-04-18 15:03:44 +02:00 |
|
Pavel Dolgov
|
844082c455
|
Java: Inspection to check that qualified names in Class.forName() belongs to exported or open package (IDEA-167271)
|
2017-04-18 15:43:26 +03:00 |
|
Tagir Valeev
|
1c312d3e13
|
IDEA-170626 Suggest to use Stream.peek instead of Stream.map if the lambda parameter is not reassigned during the operation.
|
2017-04-18 17:57:29 +07: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 |
|
Pavel Dolgov
|
fc98b76831
|
Java: Mark service implementations as used if the service declaration is used - support implicit and vararg constructors (IDEA-169204)
|
2017-04-14 12:59:00 +03:00 |
|
Pavel Dolgov
|
5906bcbd32
|
Java: Mark service implementations as used if the service declaration is used - added test cases, updated test data (IDEA-169204)
|
2017-04-13 17:19:29 +03:00 |
|
Pavel Dolgov
|
1f663efcc3
|
Java: Mark service implementations as used if the service declaration is used (IDEA-169204)
|
2017-04-13 15:09:40 +03:00 |
|
Anna.Kozlova
|
2d1525e566
|
move classes and packages: retarget usages before decode to provide correct qualified names (IDEA-170920)
|
2017-04-13 14:03:16 +02:00 |
|
Anna.Kozlova
|
603dfac67a
|
move instance method processor: expand method reference to lambda when needed
|
2017-04-12 17:31:06 +02:00 |
|
Anna.Kozlova
|
d9c6dfc42c
|
convert static method to instance method of the same class without corresponding parameter (IDEA-64834)
|
2017-04-12 14:09:10 +02:00 |
|
Anna.Kozlova
|
3f7a67cdfc
|
convert static method to instance: expand method reference to lambda, fix qualifier when needed
|
2017-04-12 14:09:10 +02:00 |
|
Anna.Kozlova
|
1ac3125794
|
convert method to instance: don't remove 'this' qualifier from method reference
|
2017-04-12 14:09:10 +02:00 |
|
Anna.Kozlova
|
c917f02b47
|
testdata for javac resolution order: to be merged in java 9 update
|
2017-04-11 16:22:35 +02:00 |
|
Pavel Dolgov
|
de55462a9c
|
Java: Cleanup upon review of inspection "Reflective invocation arguments mismatch", better handling of arrays (IDEA-167270, IDEA-CR-19841)
|
2017-04-11 16:32:53 +03:00 |
|
Anna.Kozlova
|
ddb4bb31e9
|
method may be void: don't warn for implicit reads
|
2017-04-11 11:52:20 +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
|
0d133fb7ce
|
IDEA-171226 IntelliJ IDEA reports false positive "Optional get() without isPresent() check" (only test added; was fixed in 2017.2 when making isPresent/get as hardcoded contracts, see 761a376ad2)
|
2017-04-11 12:17:25 +07:00 |
|
Tagir Valeev
|
761a376ad2
|
Custom relation-based contracts; hardcoded contracts for string methods (charAt, substring)
|
2017-04-11 10:46:44 +07:00 |
|
Tagir Valeev
|
3457fe2b55
|
IDEA-168715 Dead code inspection doesn't work in loop (Conservatively handle including bound)
|
2017-04-11 10:29:15 +07:00 |
|
Tagir Valeev
|
7ca7236f1a
|
IDEA-168715 Dead code inspection doesn't work in loop
|
2017-04-11 10:05:12 +07:00 |
|
Anna.Kozlova
|
ce702dd48c
|
redundant cast: process multidimensional arrays (IDEA-171047)
|
2017-04-10 15:48:56 +02:00 |
|
Dmitry Batkovich
|
80548595d3
|
PreferMostUsedWeigher is moved down
|
2017-04-10 15:55:07 +03:00 |
|
Dmitry Batkovich
|
0d5d90577d
|
PreferMostUsedWeigher should return null "helper" methods (ex.: Objects.requireNonNull)
|
2017-04-10 15:16:55 +03:00 |
|
Tagir Valeev
|
d0bd812d05
|
BoolUtils#getNegatedExpressionText: push negation down into || and &&
|
2017-04-10 16:11:18 +07:00 |
|
Tagir Valeev
|
3da23def83
|
InvertIfCondition: some fixes for non-compilable code
|
2017-04-10 12:09:51 +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 |
|