Commit Graph

37991 Commits

Author SHA1 Message Date
Vladimir Krivosheev
025232e99f java-impl — get rid of Xerces lib 2019-04-03 09:40:01 +02:00
Vladimir Krivosheev
a5c3258ff5 test "delete and add one file" 2019-04-03 09:40:01 +02:00
Artemiy Sartakov
fd8273168d CharsetObjectCanBeUsedInspection: suggest replacing Charset.forName(XYZ) with StandardCharsets.XYZ (IDEA-210209) 2019-04-03 13:42:42 +07:00
Roman.Ivanov
0f8d589a14 Remove GeneralizeCatchFix as more general alternative exists 2019-04-03 12:37:11 +07:00
Roman.Ivanov
6d37214f4d AddExceptionToExistingCatch: fix non replacement intention text 2019-04-03 12:24:01 +07:00
Roman.Ivanov
7f160662a5 AddExceptionToExistingCatch: supply more concrete intention text 2019-04-03 11:59:52 +07:00
Roman.Ivanov
20d72abee7 SimplifyOptionalCallChains: declarative description 2019-04-03 11:59:51 +07:00
Tagir Valeev
2a034eb0bb IDEA-210298 Result of method call ignored false-positive on Validate.nonNull check from commons-lang3 2019-04-03 10:41:24 +07:00
Tagir Valeev
093d729bb5 IDEA-210108 Create new test window misses interface methods 2019-04-03 10:08:14 +07:00
Tagir Valeev
6a70ed4641 Use Stream API to join strings 2019-04-03 09:36:28 +07:00
Bas Leijdekkers
fc1cc50ff9 IG: merge two inspections and enable at INFORMATION level (IDEA-30715)
merging "Multiple variables in one declaration" and "Multiple typed variables in one declaration" inspections
2019-04-02 19:55:05 +02:00
Egor Ushakov
d5e35ae847 EA-133464 - ITSE: DebugProcessImpl$.invokeMethod 2019-04-02 19:54:38 +03:00
Vladimir Krivosheev
1d32b7440d add test "detect externally added profiles" 2019-04-02 15:24:11 +02:00
Vladimir Krivosheev
bc8c53ed6c refresh only projectConfigDir 2019-04-02 15:24:11 +02:00
Roman.Ivanov
ed9d67604e AddExceptionToExistingCatch: support language levels < 7 2019-04-02 17:30:17 +07:00
Roman Shevchenko
046e8c0464 Cleanup (warnings; formatting) 2019-04-02 11:11:51 +02:00
Roman.Ivanov
5c55f93cd1 AddExceptionToExistingCatch: do not suggest catches if its successors are assignable to exception type: IDEA-208457 2019-04-02 16:10:45 +07:00
Roman.Ivanov
4b33365be7 EnhancedSwitchMigrationInspection: remove dead code 2019-04-02 16:10:45 +07:00
nik
b9c5cd0068 java: build a Java plugin which can be installed in CLion (IDEA-195719, IDEA-209628) 2019-04-02 11:23:47 +03:00
Roman.Ivanov
60dc045f65 EnhancedSwitchMigration: generate proper assignment, skip default branch if exists: IDEA-208192 2019-04-02 11:27:12 +07:00
Tagir Valeev
4af91368ca ControlFlowAnalyzer: assign initialized array elements to unknown to drop locality if necessary
Fixes IDEA-210027 Variable in dataflow remains local when used inside array initializer
2019-04-02 11:24:34 +07:00
Tagir Valeev
90cfb46930 IDEA-209618 NotNull annotated method might result in null inspection disappears with pure Contract annotation set. 2019-04-02 10:43:27 +07:00
Roman.Ivanov
be87aa1df8 OverflowingLoopInspection: do not highlight in case of -=- 1 2019-04-02 10:05:11 +07:00
Tagir Valeev
4ba1315514 IDEA-210123 BoxedLong.equals(BoxedInteger) is incorrectly reported as 'always true' when their unboxed value is the same 2019-04-02 09:58:29 +07:00
Tagir Valeev
b7b906efdc CharsetObjectCanBeUsedInspection: add IOUtils.toString from Apache IO (IDEA-187211) 2019-04-02 09:58:29 +07:00
Rustam Vishnyakov
76e93bcd25 Remove deprecations 2019-04-01 19:07:49 +03:00
peter
e252cd0863 remove the remainder of stub hierarchy, not used in known plugins anymore 2019-04-01 16:03:15 +02:00
Egor Ushakov
434845dde0 more logging for EA-76006 2019-04-01 16:33:16 +03:00
Roman Shevchenko
877d9e2ee8 [tests] uses production ASM flags computing methods in instrumentation tests 2019-04-01 15:24:33 +02:00
Roman Shevchenko
ef66cca69c [java] "preview"-proof class file version check in Javac2 tool (IDEA-CR-45688)
A class file version in `int` format consists of major (lower 16 bits) and minor parts. Classes compiled with `--enable-preview` flag have the minor part equal to 0xFFFF, making the whole version negative.
2019-04-01 15:13:23 +02:00
Anton Makeev
ceb1bbb2d1 VfsUtilCore.fileToUrl API: VfsUtilCore.pathToUrl should also path convert to system-independent name 2019-04-01 13:05:26 +02:00
Rustam Vishnyakov
4ca861ad28 Remove deprecations 2019-04-01 13:26:35 +03:00
Rustam Vishnyakov
08b64ee05c More code style descriptions, renamed "align_multiline_method_brackets" to "..._parentheses" 2019-04-01 13:10:43 +03:00
Roman.Ivanov
f490d2a3dc SimplifyOptionalChainInspection: minor, docs 2019-04-01 16:59:54 +07:00
Egor Ushakov
dea8552a24 IDEA-210122 Unable to debug tests in forked mode with shmem transport 2019-04-01 12:47:37 +03:00
nik
69e838ead8 java: fix computation of path to jdkAnnotation for case when Java support is installed as a plugin (IDEA-195719) 2019-03-29 20:10:53 +03:00
nik
3316b57a54 java: move registration of external system components from JavaPlugin to JavaIdePlugin
This is needed to install Java plugin to CLion which also includes these components (IDEA-209628). These components cannot be excluded from CLion because this will break existing bundled plugins (e.g. 'Compilation Database') which currently depends on external systems functionality. After IDEA-187832 is fixed we'll be able to register external system components in the common platform file for all IDEs.
2019-03-29 20:10:53 +03:00
Egor Ushakov
fb3d7cd0ce delegate to default Socket Listen Connector to avoid non-exported dependency in java 11 2019-03-29 16:01:40 +03:00
Alexey Kudravtsev
a7cccb7c0d cleanup 2019-03-29 15:01:57 +03:00
Alexey Kudravtsev
a899e5ba3e cleanup: remove unnecessary StreamEx 2019-03-29 15:01:56 +03:00
Tagir Valeev
4afd11750a Disable inlining non-physical methods; disable analyzing non-physical methods in closure; allow 'this' in inlined method
Fixes EA-139001 - ISE: DataFlowInstructionVisitor.beforeExpressionPush
2019-03-29 13:36:03 +07:00
Roman Shevchenko
0af1ce9e69 Cleanup (formatting) 2019-03-28 15:25:05 +01:00
Roman Shevchenko
84b66ced8f Cleanup (formatting) 2019-03-28 13:42:54 +01:00
Egor Ushakov
b329f7ed58 removed workaround 2019-03-28 14:56:17 +03:00
Egor Ushakov
d4b3f48737 do not use the position from the debugger context, it may be changed to the breakpoint position if sources are not available 2019-03-28 14:30:17 +03:00
Nikita Skvortsov
8461523805 merge known annotations plugin into java plugin IDEA-CR-45224 2019-03-28 13:31:08 +03:00
Vladimir Krivosheev
9dbec9bae8 get rid of constructor injection - part 7 2019-03-28 09:51:00 +01:00
Egor Ushakov
6f94c23d70 removed the comment 2019-03-28 11:20:21 +03:00
Bas Leijdekkers
5bb95046c7 improve intention description 2019-03-28 07:21:33 +01:00
Bas Leijdekkers
40952f8b1d escape XML entities in error text (IDEA-209686) 2019-03-28 07:21:32 +01:00