Commit Graph

24 Commits

Author SHA1 Message Date
Anna.Kozlova
5b2cc36825 redundant return type: method reference/expr lambda with void SAM
global inspection, IDEA-189010
2018-03-28 13:38:28 +02:00
Tagir Valeev
88bc353da4 PsiExpressionList: added getExpressionCount() and isEmpty()
Optimized implementations in PsiExpressionListImpl, usages replaced where possible
2018-01-26 12:27:11 +07:00
Anna.Kozlova
5f3f0f81a5 method return type in not used: fix for literal expressions(IDEA-184798) 2018-01-11 13:34:40 +01:00
Dmitry Batkovich
5a3de53477 inspection view: do not show empty package node under module-info node (re-fix for ec0783f) 2017-11-03 13:00:06 +01:00
Dmitry Batkovich
ec0783f0a1 inspection view: do not create empty package nodes when grouping by directory is enabled + some module-info.java contains problems 2017-11-01 05:33:16 +01:00
Anna Kozlova
26b406cb41 redundant throws: move collecting unthrown exceptions to annotator
this should make running inspections without redundant throws much faster as method bodies won't be checked for thrown exceptions
2017-09-11 12:57:31 +03:00
Anna Kozlova
350f588c09 unused declaration: take refs from literals into account (IDEA-172447) 2017-05-16 09:08:10 +03:00
Alexey Kudravtsev
4a4626c750 removed default file header, because it adds no information but subtracts attention and space 2017-05-12 14:02:24 +03:00
Alexey Kudravtsev
95f7030993 fixed terrible data races like in EA-100927 - AIOOBE: RefMethodImpl.markExtended 2017-05-09 15:49:40 +03:00
Alexey Kudravtsev
8ca9a64189 cleanup 2017-04-14 15:20:30 +03:00
Anna Kozlova
8b549a9397 unused declaration: ensure refs are collected from method's parameter list as well as it's body (IDEA-158182) 2016-09-06 11:58:44 +03:00
Anna Kozlova
cd6878119f unused declaration: ensure refs on implicit constructor (IDEA-158585) 2016-08-24 21:16:13 +03:00
Anna Kozlova
911100e0b5 replace primitive == comparisons with .equals 2015-11-06 18:28:20 +01:00
Anna Kozlova
c26cc82486 notify about refs to foreign types (IDEA-145186) 2015-09-16 18:53:29 +03:00
Anna Kozlova
210d5de79a unused declaration: ensure used static imports are not ignored (IDEA-143882) 2015-08-17 14:54:33 +02:00
Anna Kozlova
a1b44a53ac redundant throws: find throws clauses inside functional expressions (IDEA-135181) 2015-01-14 13:25:05 +01:00
Anna Kozlova
49f82c1948 unused return value inspection: method reference awareness (IDEA-134991) 2015-01-07 12:21:52 +01:00
Anna Kozlova
1c44e4347f lambda and local/anonymous classes should be excluded from visitor enumerating return statements 2014-12-08 18:59:53 +01:00
Alexey Kudravtsev
8c4047d021 EA-55582 - NPE: RefJavaUtilImpl.getAccessModifier 2014-12-08 14:05:20 +03:00
Anna Kozlova
cda6c424d0 unused declaration: add refs on functional interface from functional expressions (IDEA-132138) 2014-11-14 18:09:47 +01:00
Anna Kozlova
aa007bbd6d treat enum constructors as private (IDEA-118133) 2013-12-12 17:24:49 +04:00
Bas Leijdekkers
12577002ed IDEA-117863 (Package with disjoint dependency graph ignores interfaces) 2013-12-09 21:06:50 +01:00
anna
241e44bba8 EA-50288 - CCE: RefJavaUtilImpl.getTopLevelClass 2013-09-24 20:08:00 +02:00
Alexey Kudravtsev
8801671ffd moved to analysis 2013-07-09 15:53:04 +04:00