Revert "Redundant companion reference: do not report 'values/valueOf' function in enum"

This reverts commit 55d55446
This commit is contained in:
Yan Zhulanow
2020-10-24 00:21:16 +09:00
parent 383190f25e
commit 9320637efe
9 changed files with 138 additions and 224 deletions
@@ -7417,26 +7417,6 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/directCompanion.kt");
}
@TestMetadata("enumValueOf.kt")
public void testEnumValueOf() throws Exception {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/enumValueOf.kt");
}
@TestMetadata("enumValueOf2.kt")
public void testEnumValueOf2() throws Exception {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/enumValueOf2.kt");
}
@TestMetadata("enumValues.kt")
public void testEnumValues() throws Exception {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/enumValues.kt");
}
@TestMetadata("enumValues2.kt")
public void testEnumValues2() throws Exception {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/enumValues2.kt");
}
@TestMetadata("functionReference.kt")
public void testFunctionReference() throws Exception {
runTest("idea/testData/inspectionsLocal/redundantCompanionReference/functionReference.kt");