Commit Graph

275 Commits

Author SHA1 Message Date
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
Vladimir Krivosheev
ef2e87d8c8 ObjectStoredProperty — null equals to bean with default values and vice versa 2017-12-19 12:26:15 +01:00
Dmitry Batkovich
ebb8879055 BatchSuppressManager: remove useless methods 2017-11-20 16:56:23 +03:00
Dmitry Batkovich
ce83d4b754 remove unused GlobalJavaInspectionTool 2017-11-14 17:40:17 +03:00
Nicolay Mitropolsky
8f0a4e464f JvmCommonIntentionActionsFactory: to be removed in 2018.1
hopefully of course
2017-11-10 15:15:57 +01:00
Yann Cébron
507cfd7f72 [uast] AbstractBaseUastLocalInspectionTool: cleanup 2017-11-10 12:03:20 +01:00
Daniil Ovchinnikov
2ce529200b [jvm-lang] cleanup
- remove old JvmElementActionsFactory#createAddConstructorActions;
- remove implementations of above method;
- remove MemberRequest.Constructor;
- remove old actions.kt#createConstructorActions.
2017-11-09 18:52:51 +03:00
Daniil Ovchinnikov
02a8f32024 [jvm-lang] port previous Create Constructor clients to the new API 2017-11-09 18:52:51 +03:00
Daniil Ovchinnikov
dca6f89768 [jvm-lang] add couple helper functions 2017-11-09 18:52:51 +03:00
Daniil Ovchinnikov
f8a6289bae [jvm-lang] java: use interlanguage Create Constructor actions 2017-11-09 18:52:50 +03:00
Daniil Ovchinnikov
8c6f69ca9d [jvm-lang] constructor rendering API 2017-11-09 18:52:50 +03:00
Daniil Ovchinnikov
71a8b4b52b [jvm-lang] extract ExpectedParameter to separate file 2017-11-09 18:52:50 +03:00
Daniil Ovchinnikov
52da364caf [jvm-lang] cleanup
- remove old JvmElementActionsFactory#createAddMethodActions;
- remove implementations of above method;
- remove MemberRequest.Method;
- remove actions.kt#createMethodAction.
2017-10-09 22:31:58 +03:00