Commit Graph

237 Commits

Author SHA1 Message Date
Dmitry Batkovich
4b0cf1bf1f same parameter value: introduce an option for minimal usage count 2018-09-05 16:30:50 +03:00
Nicolay Mitropolsky
b58bb14d57 deprecating jvm.actions.MemberRequest.Modifier in favour of ChangeModifierRequest
`MemberRequest.Property` already considered as deprecated
2018-08-23 11:53:44 +03:00
Dmitry Batkovich
68e4ca218a remove unused code 2018-08-21 16:04:41 +03:00
Vladimir Krivosheev
bd202ecfc7 add override 2018-08-14 17:49:34 +02:00
Nicolay Mitropolsky
d1535f8aa3 [jvm-lang] JvmElementActionsFactory.createChangeParametersActions added 2018-08-06 15:01:31 +03:00
Anna.Kozlova
4c0fb3b7f4 navigation to already declared variable: reuse data from highlighting to navigate also from/to parameters (IDEA-195051) 2018-07-04 17:36:05 +02:00
Alexey Kudravtsev
bc6c8b2d9f cleanup 2018-07-01 14:59:39 +03:00
Anna Kozlova
84079098e4 push down: don't remove body when it's possible to keep it (IDEA-114041)
add intention with suggestion to push down
2018-06-26 09:18:41 +03:00
Alexey Kudravtsev
2faaf16e26 added missing @Deprecated to find these places later 2018-06-18 13:24:28 +03:00
Dmitry Batkovich
9afab57896 dead code 2018-06-18 12:22:26 +03:00
Alexey Kudravtsev
7002d622bc removed deprecated unused members 2018-06-15 15:31:04 +03:00
Alexey Kudravtsev
8f8474b64c removed unnecessary deprecation suppressions, added back necessary ones 2018-06-13 15:48:34 +03:00
Anna Kozlova
89d17e49b6 fix suppress annotated message text for unused warning (IDEA-192837) 2018-05-29 16:19:11 +03:00
Sergey Ignatov
9db096ebea kotlin speedup: specify return type for public/protected APIs 2018-05-24 16:09:43 +03:00
Dmitry Batkovich
4b281c45d6 cleanup: notnull 2018-05-19 09:17:44 +03:00
Yaroslav Pankratyev
4a8f357bb9 Add jvm-analysis modules and related changes, move JvmLocalInspection to jvm-analysis-api, move UnstableApiUsageInspection to jvm-analysis-impl 2018-05-15 17:44:33 +07:00
Nicolay Mitropolsky
f217fbce48 [jvm-lang] actions.createAddFieldActions added 2018-04-18 20:31:53 +03:00
Anna.Kozlova
129cbb48b0 visibility inspection: don't warn on implicitly read/write fields
IDEA-182268
2018-04-04 18:02:05 +02:00
Daniil Ovchinnikov
ddbb94b737 [jvm-lang] add and use ExpectedParameter
- update Java request implementations;
- update render actions in Java and Groovy.
2018-04-01 21:54:25 +02:00
Daniil Ovchinnikov
1c6cda77cc [jvm-lang] get rid of unnecessary overloads in JvmLocalInspection 2018-03-29 15:28:40 +02:00
Daniil Ovchinnikov
bd33ac2575 [jvm-lang] update JvmLocalInspection (IDEA-CR-31173)
- mark it @Experimental;
- pass isOnTheFly flag;
- make HighlightSink public;
- add ability to pass fixes.
2018-03-29 12:43:15 +02:00
Roman.Ivanov
21ddec7d1f change AddExceptionToExistingCatch to be quickfix 2018-03-29 11:24:55 +07:00
Daniil Ovchinnikov
61aea15ceb [jvm-lang] add JvmElement-based local inspection 2018-03-28 17:55:16 +02:00
Daniil Ovchinnikov
38322d3fd9 [jvm-lang] remove old property fix implementations 2018-03-26 21:35:43 +03:00
Daniil Ovchinnikov
0b365efd34 [jvm-lang] use JvmElement Create method API from XMLs (IDEA-163124) 2018-03-26 21:29:00 +03:00
Daniil Ovchinnikov
5d3e6e2770 add @NotNull 2018-03-20 15:27:48 +03:00
Nicolay Mitropolsky
10b2201065 AnnotationAttributeRequest made data class 2018-03-16 10:18:48 +03:00
Nicolay Mitropolsky
396492d937 createAddAnnotationActions added to JvmElementActionsFactory (IDEA-188215) 2018-03-14 23:34:32 +03:00
Daniil Ovchinnikov
1cea22924c [jvm-lang] java: use actions factory for this/super constructor fixes 2018-03-05 16:37:10 +03:00
Nicolay Mitropolsky
85a6864022 dropping deprecated JvmCommonIntentionActionsFactory 2018-02-27 11:20:42 +03:00
Daniil Ovchinnikov
96fe227e19 [jvm-lang] inline kotlin typealiases 2018-02-16 19:46:37 +03:00
Daniil Ovchinnikov
927641b5b3 [jvm-lang] missing @NotNull (IDEA-CR-29420) 2018-02-15 17:27:31 +03:00
Daniil Ovchinnikov
39ffc13605 [jvm-lang] convert api interfaces to java step 3: implementations 2018-02-15 15:29:33 +03:00
Daniil Ovchinnikov
e423613412 [jvm-lang] convert api interfaces to java step 2: actual conversion 2018-02-15 15:29:33 +03:00
Daniil Ovchinnikov
9115de6e03 [jvm-lang] convert api interfaces to java step 1: rename files 2018-02-15 15:29:33 +03:00
peter
07e6dba235 various highlighting: give up earlier when searching PSI ancestor
to improve performance on very deep AST
2018-02-13 15:47:59 +01:00
Nicolay Mitropolsky
dd2b8aa95b Uast: UastVisitorAdapter: a directOnly option added
Hope that it will make `UastVisitorAdapter` more useful
2018-02-09 15:52:31 +03:00
Nicolay Mitropolsky
93ff19f74f Uast: AbstractUastNonRecursiveVisitor introduced to resolve mismatch with PsiElementVisitor
(IDEA-181783)
2018-02-09 15:52:30 +03:00
Roman Shevchenko
1d68be1390 [java] applies module accessibility checks to non-physical classes (IDEA-185447) 2018-02-08 19:39:29 +01:00
Roman Shevchenko
38f48e6c7b [java] applies module accessibility checks to non-physical classes (IDEA-185447) 2018-02-08 18:49:30 +01:00
Dmitry Batkovich
1aafe0bf2e restore backward compatibility again (throw exception instead of SOE) 2018-02-06 15:03:35 +03:00
Dmitry Batkovich
3180beba92 restore backward compatibility 2018-02-06 13:58:33 +03:00
Dmitry Batkovich
db33a7203a actual method parameter is the same const inspection should work for negative numbers (IDEA-185830) 2018-02-05 17:46:58 +03:00
Daniil Ovchinnikov
83c892d6d3 [jvm-lang] add ability to group actions by their type 2018-02-02 17:07:57 +03:00
Daniil Ovchinnikov
b523663a5e [jvm-lang] extract base interface for requests 2018-01-31 22:59:38 +03:00
nik
c9620ce099 IDEA project configuration: the great module rename
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.

Update *.iml files.
2018-01-25 12:59:02 +03:00
nik
16410c2321 IDEA project configuration: the great module rename
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.

Rename iml files.
2018-01-25 12:59:02 +03:00
Vladimir Krivosheev
74fdc3f9af add loadState(notnull) 2018-01-22 14:35:56 +01:00
peter
315b7969c1 migrate most usages of deprecated com.intellij.util.containers.HashMap/Set to java.util 2018-01-19 22:26:30 +01:00
Pavel Dolgov
bf89486dfa Java: Fix "unresolved package" error in module-info.java by creating a class in that package (IDEA-176421) 2018-01-11 18:17:50 +03:00