// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.navigation;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/navigation/gotoTypeDeclaration")
public class GotoTypeDeclarationTestGenerated extends AbstractGotoTypeDeclarationTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("builtinTypeStdlib.test")
    public void testBuiltinTypeStdlib() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/builtinTypeStdlib.test");
    }

    @TestMetadata("classInstance.test")
    public void testClassInstance() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/classInstance.test");
    }

    @TestMetadata("explicitParameterInLambda.test")
    public void testExplicitParameterInLambda() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/explicitParameterInLambda.test");
    }

    @TestMetadata("flexibleType.test")
    public void testFlexibleType() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/flexibleType.test");
    }

    @TestMetadata("fromFunctionDeclarationName.test")
    public void testFromFunctionDeclarationName() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationName.test");
    }

    @TestMetadata("fromFunctionDeclarationReturn.test")
    public void testFromFunctionDeclarationReturn() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationReturn.test");
    }

    @TestMetadata("fromFunctionDeclrationExtension.test")
    public void testFromFunctionDeclrationExtension() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/fromFunctionDeclrationExtension.test");
    }

    @TestMetadata("functionCall.test")
    public void testFunctionCall() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/functionCall.test");
    }

    @TestMetadata("genericTypeInParameter.test")
    public void testGenericTypeInParameter() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/genericTypeInParameter.test");
    }

    @TestMetadata("itExtensionLambda.test")
    public void testItExtensionLambda() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/itExtensionLambda.test");
    }

    @TestMetadata("itParameterInLambda.test")
    public void testItParameterInLambda() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/itParameterInLambda.test");
    }

    @TestMetadata("listFlexibleType.test")
    public void testListFlexibleType() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/listFlexibleType.test");
    }

    @TestMetadata("noParametersLambda.test")
    public void testNoParametersLambda() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/noParametersLambda.test");
    }

    @TestMetadata("thisExtensionFunction.test")
    public void testThisExtensionFunction() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/thisExtensionFunction.test");
    }

    @TestMetadata("thisExtensionFunctionWithAnnotationOnReceiver.test")
    public void testThisExtensionFunctionWithAnnotationOnReceiver() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithAnnotationOnReceiver.test");
    }

    @TestMetadata("thisExtensionFunctionWithGenericReceiver.test")
    public void testThisExtensionFunctionWithGenericReceiver() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithGenericReceiver.test");
    }

    @TestMetadata("thisExtensionLambda.test")
    public void testThisExtensionLambda() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/thisExtensionLambda.test");
    }

    @TestMetadata("thisInExtensionPropertyAccessor.test")
    public void testThisInExtensionPropertyAccessor() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/thisInExtensionPropertyAccessor.test");
    }

    @TestMetadata("typeAliasInstance.test")
    public void testTypeAliasInstance() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/typeAliasInstance.test");
    }

    @TestMetadata("typeAliasType.test")
    public void testTypeAliasType() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/typeAliasType.test");
    }

    @TestMetadata("variableType.test")
    public void testVariableType() throws Exception {
        runTest("testData/navigation/gotoTypeDeclaration/variableType.test");
    }
}
