Commit Graph

257 Commits

Author SHA1 Message Date
Pavel Dolgov
ecee694ed9 Java: Added test for the global inspection "Unused 'requires' statement in module-info" (IDEA-163139) 2016-11-22 14:10:31 +03:00
Anna.Kozlova
ccb4af4ed9 Revert: deadlock with search under ref table lock (IDEA-161849) (11beb1709d)
no search is performed inside isTestCase anymore
2016-10-25 14:14:57 +02:00
Alexey Kudravtsev
cf5b631d63 cleanup 2016-10-24 15:11:30 +03:00
Anna.Kozlova
11beb1709d deadlock with search under ref table lock (IDEA-161849) 2016-10-24 10:55:38 +02:00
Dmitry Batkovich
5ade56930f AbstractBaseJavaLocalInspectionTool#getProblemElement should not return PsiTypeParameter 2016-08-09 19:28:58 +03:00
Pavel Dolgov
969585320b Java inspection: Added @NotNull and @Nullable in QuickFixFactory methods. (IDEA-158456, IDEA-157727) 2016-07-20 16:04:27 +03:00
Pavel Dolgov
3773948686 Java inspection: Added a fix for single-value annotations where the annotation doesn't have a 'value()' method and therefore "Expand Annotation to Normal Form" fix couldn't be applied (IDEA-158456, IDEA-157727) 2016-07-20 13:33:13 +03:00
Roman Shevchenko
4aec6bb8fb Cleanup (unneeded implementation) 2016-07-13 14:12:02 +02:00
Anna.Kozlova
11f1b71835 inconsistent language level: avoid LocalQuickFix when QuickFix is expected (IDEA-156375) 2016-07-11 18:05:00 +02:00
Pavel Dolgov
d50a5c7a07 Java intention: Quick fix for error "foreach not applicable to type java.util.Iterator" (IDEA-124751) 2016-07-01 16:12:36 +03:00
Roman Shevchenko
7a29eddeca Cleanup (formatting) 2016-06-29 21:07:43 +03:00
Dmitry Batkovich
fa21ae9aaf inspection tool window: do not make a mess from RefClass and RefImplicitConstructor 2016-05-20 18:05:47 +03:00
Dmitry Batkovich
6f49be7fcc wrap with optional IDEA-122553 2016-03-25 13:50:03 +03:00
Dmitry Batkovich
6afbed569a quick fix which adds exception from field initializer to constructor signature (IDEA-142284) 2015-11-13 15:59:53 +03:00
Dmitry Batkovich
fc02e0b826 WrapLongWithMathToIntExact intention checks availability inside of intention (based on IDEA-CR-6351) 2015-10-29 18:18:55 +03:00
Dmitry Batkovich
713a1289c7 IDEA-146770 Suggest Math.toIntExact to convert long to int 2015-10-28 19:55:14 +03:00
Anna Kozlova
c26cc82486 notify about refs to foreign types (IDEA-145186) 2015-09-16 18:53:29 +03:00
Alexey Kudravtsev
6ecec488e1 cleanup, notnull 2015-05-25 15:41:51 +03:00
Roman Shevchenko
89a0440a7e Cleanup (misc. deprecated API dropped from *-api modules) 2015-04-30 19:07:58 +02:00
Vladimir Krivosheev
366e2cff1f fix IDEA-133542 Eclipse integration: external change or .classpath or .eml does not suggest to reload project (regression) 2015-03-03 16:45:15 +01:00
Vladimir Krivosheev
16de6cbf0f prepare to fix IDEA-133542 Eclipse integration: external change or .classpath or .eml does not suggest to reload project (regression) 2015-03-02 15:39:45 +01:00
Alexey Kudravtsev
8c4047d021 EA-55582 - NPE: RefJavaUtilImpl.getAccessModifier 2014-12-08 14:05:20 +03:00
Anna Kozlova
ef0844d837 search for functional interfaces in java 8 modules only 2014-11-05 21:39:01 +01:00
Alexey Kudravtsev
ac288174ce notnull 2014-10-13 13:55:37 +04:00
Anna Kozlova
935a78161f make suppress actions available in inspections results view 2014-10-08 12:49:22 +02:00
nik
9c7016d369 fixed reloading language level when iml-file is changed externally 2014-09-03 14:36:24 +04:00
Anna Kozlova
6e295b8378 cleanup 2014-06-21 10:14:53 +02:00
Dmitry Batkovich
7c0813c27a Add qualifier to unqualified method call quick fix added (similar to "Static Method Import...") IDEA-94719 2014-06-17 19:26:05 +04:00
Anna Kozlova
d45c8a5da2 all inspections are suppressable by default; language suppressor is needed to provide non trivial implementation 2014-06-17 17:57:35 +04:00
Anna Kozlova
d46b411752 language suppressors api to provide suppressions by default as well as for multi-language inspections 2014-06-17 09:51:30 +04:00
Dmitry Batkovich
baa638927c SurroundWithQuotesAnnotationParameter: intention replaced by quick fix to the corresponding error 2014-06-04 16:45:11 +04:00
Roman Shevchenko
9e358f43be CR-IC-5505 (cleanup) 2014-06-03 21:03:09 +04:00
peter
ac9d1e864f get java language level from the root model when pushers haven't finished yet 2014-05-30 15:26:51 +02:00
Alexey Kudravtsev
c1da4f332c moved away from openapi 2014-05-29 13:22:55 +04:00
Alexey Kudravtsev
4bf725a53c moved away from java-impl 2014-05-29 13:22:54 +04:00
Dmitry Batkovich
80a7f69972 IDEA-25183 2014-05-28 17:46:34 +04:00
Alexey Kudravtsev
76c0e946d2 moved inspections to groovy-psi 2014-05-23 17:13:33 +04:00
peter
79a75f22d6 update language level without project reloading 2014-05-01 07:12:19 +02:00
Anna Kozlova
c160fc5adf copy to temp/array for non-effectively final variables used in lambda expressions 2014-04-23 16:33:47 +02:00
Anna Kozlova
cbe0d6d860 create method from method reference (IDEA-112556) 2014-04-02 13:52:31 +02:00
Anna Kozlova
8da91c3070 missed optimize imports quick fix (IDEA-122234) 2014-03-17 14:14:44 +01:00
Anna Kozlova
c464f19d9c IDEA-122129 agentmain method is highlighted as unused 2014-03-14 20:43:59 +01:00
Alexey Kudravtsev
1cf0b70a21 moved PostHighlightingPass to analysis 2014-02-10 12:32:36 +04:00
Alexey Kudravtsev
bd0530a66e javadoc 2013-12-10 15:19:51 +04:00
Bas Leijdekkers
148ca98358 EA-52004 (NPE: CyclicClassDependencyInspection.checkElement) 2013-11-20 15:15:05 +01:00
Yann Cébron
7a22316200 AbstractBaseJavaLocalInspectionTool: make abstract 2013-11-15 18:03:43 +01:00
Alexey Kudravtsev
836e381afc cleanup 2013-10-09 13:51:27 +04:00
Alexey Kudravtsev
be67ccee95 moved highlighters to java-psi 2013-09-26 14:53:57 +04:00
Anna Kozlova
ac384331af optimization: retrieve PsiElement when problem occurs only 2013-09-06 17:36:18 +04:00
Alexey Kudravtsev
a56c7b1535 editor api modules refactoring:
- editor-ui-api module containing public API editor interfaces
- editor-ui-impl module containing editor implementation interfaces
- analysis* modules made dependant on editor-ui* modules
- highlighting classes moved to *analysis* modules
- majority of highlighting quickfixes moved to QuickFixFactory
- injections in GeneralHighlightingPass splitted away to InjectedGeneralHighlightingPass
2013-09-04 14:17:56 +04:00