Commit Graph
1482 Commits
Author SHA1 Message Date
peter 9c81bfb981 TestOnlyInspection cleanup 2016-04-30 09:36:41 +02:00
peter 6663489749 IDEA-155323 Bogus "Test-only method is called" inspection 2016-04-29 22:56:20 +02:00
Anna.Kozlova f52458abdf restrict anonym -> lambda: reject if return type would be changed (IDEA-154805) 2016-04-29 14:41:28 +02:00
Alexey Kudravtsev 3b521f997c dangling javadocs removed 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev 59e2d9dd9e minor performance: removed redundant initializers in java analysis 2016-04-29 12:13:21 +03:00
peter ed8ede7b8a ContractInference: inline filterReturning calls 2016-04-29 09:52:52 +02:00
peter fb25916685 lambdify contract inference 2016-04-29 09:52:52 +02:00
peter cd0beb1660 cache inferred @Contract annotations 2016-04-26 20:28:14 +02:00
Anna.Kozlova b7eddbbbc3 extract method: fold parameters after array acces was detected (IDEA-155094) 2016-04-22 19:31:27 +02:00
Anna.Kozlova b1645e3ae5 reuse utility method; ensure unknown functional type reduced to Object before create new psi
EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
2016-04-22 17:02:00 +02:00
Alexey Kudravtsev 20380378ee rainbow parameters 2016-04-21 20:12:36 +03:00
Alexey Kudravtsev 0baae1112e Rainbow highlighting in java 2016-04-21 19:45:14 +03:00
Alexey Kudravtsev 751e7c4728 notnull 2016-04-21 19:45:14 +03:00
Anna Kozlova 5a1ec9a2f4 suppress for statement/with comment: ensure performed chosen action (IDEA-154885) 2016-04-21 12:25:43 +02:00
Anna.Kozlova 22c8d0f9ce anonymous -> lambda: fix anonymous classes in enum constants 2016-04-20 17:49:29 +02:00
peter 38a2728700 fix dfa tests (IDEA-152224, IDEA-CR-10202) 2016-04-19 17:46:27 +02:00
peter e3c07073c5 honor array component type nullability in index expression dfa (IDEA-154874) 2016-04-19 14:00:31 +02:00
peter a4aa1f2bd7 IDEA-152224 Unwrap if should check if there are conflicting variables 2016-04-19 14:00:30 +02:00
peter 1475442c3f IDEA-154811 Nullable inspection is incorrect with user-defined valueOf static method in Enum 2016-04-19 12:33:19 +02:00
Anna.Kozlova e102457f18 anonymous -> lambda: skip inferred type problems if top level expression is unresolved (guava migration) 2016-04-15 21:10:57 +02:00
Anna.Kozlova 43fc40c4a5 anonym -> lambda, redundant cast, redundant type args: process top level overloads (IDEA-152766);
rearrange utils
2016-04-15 18:43:24 +02:00
Anna.Kozlova bb6394162a warn about compilable code which would lead to runtime ClassCastException in addition to unchecked warning which nobody understands (IDEA-154345) 2016-04-15 18:43:24 +02:00
Alexey Kudravtsev 67e5371da1 show ProcessHandler.addProcessListener() as sibling-overridden, optimisations 2016-04-15 12:38:23 +03:00
Anna.Kozlova f7137a044d anonymous -> lambda: deep unique names (IDEA-154751) 2016-04-14 20:59:13 +02:00
Alexey Kudravtsev 84c0d19bc7 lambdify 2016-04-14 15:51:36 +03:00
Anna.Kozlova 5438ba9a86 lang parameter table panel extracted: SimpleParameterTablePanel for parameters without types 2016-04-13 12:30:54 +02:00
Egor.Ushakov bc0826f4e0 do not highlight errors in return statements in debugger code fragments - avoid user data keys (IDEA-CR-10075) 2016-04-13 11:34:54 +03:00
Egor.Ushakov 978ba17c85 do not highlight errors in return statements in debugger code fragments 2016-04-12 18:55:47 +03:00
Alexey Kudravtsev c21a4c154f optimisation 2016-04-12 14:13:47 +03:00
Alexey Kudravtsev 5d161e24fb IDEA-153358 Inspection Declaration access can be weaker: false positive for lambda usage 2016-04-11 18:30:42 +03:00
Anna.Kozlova 59daba3004 disable return void suggestion (IDEA-154467) 2016-04-11 12:48:53 +02:00
Roman Shevchenko 0dc69cd4fe Cleanup (formatting; warnings) 2016-04-08 20:31:25 +02:00
Anna.Kozlova 9cdb5a70af trivial method ref: check if qualifier is of assignable type (IDEA-154422) 2016-04-08 18:44:25 +02:00
Anna.Kozlova a8ad27f8a9 no need to check unrelated concrete for same named constructors in the hierarchy (IDEA-154377) 2016-04-08 18:44:25 +02:00
Anna.Kozlova 0ed05632ff ensure non-initialized fields used inside lambdas are rejected if lambda is inside class initializer only (IDEA-154305) 2016-04-07 15:13:00 +02:00
Anna.Kozlova 66a8aa11b8 collect unhandled exceptions from enum constructor (IDEA-154283) 2016-04-07 15:13:00 +02:00
Anna.Kozlova 56a3a1ffa4 move operator assignment check for object to javac quirks inspection with fix (IDEA-154209) 2016-04-06 17:15:12 +02:00
peter b7f49171a3 avoid invokeLater in generate toString 2016-04-06 11:07:29 +02:00
Dmitry Batkovich d446f659ef inspections: unused assignment can be suppressed with "unused" (ebdb3bfb27) reverted 2016-04-06 10:23:26 +03:00
Bas Leijdekkers 679e6631b7 create less garbage from UnusedSymbolUtil 2016-04-05 12:35:11 +02:00
Alexey Kudravtsev 88672c25e9 suppress benign "parent already has been disposed" exception 2016-04-05 13:24:06 +03:00
Dmitry Batkovich ebdb3bfb27 inspections: unused assignment can be suppressed with "unused" 2016-04-04 15:04:18 +03:00
peter f93186e35c java/groovy: perform automatic import changes in a transaction 2016-04-04 09:43:55 +02:00
Anna.Kozlova cb15a6523e suppressions: skip doc owners without modifier lists, e.g. anonymous classes (IDEA-154026) 2016-04-01 16:53:23 +02:00
Alexey Kudravtsev a00356272b do not register components manually in Disposer since they are already there 2016-03-31 13:08:11 +03:00
Alexey Kudravtsev 3c8e077114 BiUtil.isSet() usages extracted 2016-03-30 17:37:09 +03:00
Alexey Kudravtsev 14e866598a cache repeated requests for class inheritors and method overriders to speedup highlighting of heavily subclassed library classes to fix IDEA-152346 Syntax highlighting takes 45 seconds 2016-03-28 14:59:27 +03:00
Dmitry Batkovich aefe3d1083 wrap with optional: check isValid() 2016-03-26 10:48:22 +03:00
Alexey Kudravtsev de41b8eb36 inline parameters, cleanup 2016-03-25 17:18:49 +03:00
Alexey Kudravtsev cf996c91f0 lambdify 2016-03-25 17:18:49 +03:00