Nicolay Mitropolsky
5c90b501e1
IDEA-CR-41633: [uast] UastHintedVisitorAdapter as a more performant version of UastVisitorAdapter
...
(cherry picked from commit 08572d72766b9a557aa360832e5300b7c77ea215)
2018-12-28 13:06:50 +03:00
Dmitry Batkovich
2a419046ba
dead code
2018-12-11 17:19:44 +03:00
Dmitry Batkovich
60cc57c777
java global inspections: remove unused field
2018-12-11 15:55:18 +03:00
Dmitry Batkovich
33098b6300
add javadoc for QuickFixFactory.createModifierListFix
2018-12-07 08:34:41 +03:00
Tagir Valeev
8a1302c2a4
Provide fixes for missing branches in switch expression (create 'default', create missing branches)
...
Fixes IDEA-203071 Switch expressions: provide fix to generate missed branches for enum switches
Fixes IDEA-203449 Switch statement without default branch: provide a quick-fix
2018-12-03 18:53:10 +07:00
Dmitry Batkovich
41e56ebf20
java global inspections: replace usages of uast as psi
2018-11-21 16:51:49 +03:00
Dmitry Batkovich
86cbecad34
RefField parent might be a RefFile
2018-11-16 17:43:27 +03:00
Leonid Shalupov
eade077bfc
ModuleExtensions: do not apply changes if nothing was changed
...
IDEA-CR-36822
IDEA-199211 Refactor code dependent on project model implementation
2018-10-02 11:48:02 +03:00
Dmitry Batkovich
d28aac1be5
unused declaration make a query for external non java usages in queryExternalUsagesRequests()
2018-09-24 16:46:18 +03:00
Vladimir Krivosheev
1e26c6c926
BaseState object property must allow only base state as parent type, add test for Compound RC serialization
2018-09-17 09:05:49 +03:00
Alexey Kudravtsev
544c3b670f
fix for changing parameter types for method which used to extend the generic-parameter-method which was refactored to bounded wildcards and "both method signatures have same erasure" error appeared as a result
2018-09-14 16:01:02 +03:00
Dmitry Batkovich
098c6318cf
re-implement java global inspection graph using uast
2018-09-13 08:18:27 +03:00
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