Commit Graph
1497 Commits
Author SHA1 Message Date
peter e1b69b301e IDEA-156245 @NotNull doesn't seem to work for enums 2016-05-18 19:44:27 +02:00
peter 6a17887211 correct dfa comparison of boxed NaNs (IDEA-156202) 2016-05-18 19:44:26 +02:00
Alexey Kudravtsev 1de5656593 detect redundant methods in case of renamed parameters 2016-05-18 15:26:10 +03:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Anna.Kozlova 2755100873 assign weaker access: find method to implement (IDEA-153610) 2016-05-13 18:55:16 +02:00
peter d8093d9057 IDEA-155801 "Dereference may produce NPE" warning should handle implicit constructor calls. 2016-05-13 16:15:15 +02:00
peter 786b4f5048 IDEA-156007 'Constant conditions & exceptions' inspection should propagate @Nullable/@NotNull annotations to lambda parameters 2016-05-13 16:15:15 +02:00
Anna.Kozlova 6b98c4b313 ensure cached dead code inspection doesn't work in the next run, as extensions are cleared on dispose - consequence runs would be invalid (IDEA-154064) 2016-05-13 15:57:34 +02:00
Anna Kozlova 1782d678a7 include all constructor candidates to calculate change signature fix (IDEA-128891) 2016-05-11 18:08:55 +02:00
Anna Kozlova dbe1598e9f highlight implicit constructor call as method (IDEA-152964) 2016-05-11 16:05:47 +02:00
Anna Kozlova 9d95879dc2 register make class static for illegal enclosing usage error (IDEA-155700) 2016-05-11 12:46:25 +02:00
Anna.Kozlova a001ca61c6 anonymous -> lambda: support external annotations 2016-05-10 13:13:44 +02:00
Anna.Kozlova 48d81d53f0 suspicious method call: ignore poly conditional expressions in invocation context as their type would be always the same as target type (IDEA-155622) 2016-05-09 19:42:35 +02:00
Maxim.Mossienko 970d8960b3 bytecode analysis index uses content hashes 2016-05-09 16:40:05 +02:00
Anna.Kozlova ade5d0605f method refs: don't highlight new as constructor call (IDEA-155547) 2016-05-04 12:12:33 +02:00
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