// Path: sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/util/Executable.java
// public final class Executable {
//     public final String myExecutable;
//     public final List<String> myArguments;
// 
//     public Executable(final String executable, final List<String> arguments) {
//         myExecutable = executable;
//         myArguments = Collections.unmodifiableList(arguments);
//     }
// }
// 
// Path: sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/util/ExecutableFactory.java
// public interface ExecutableFactory {
//     @NotNull
//     Executable create(@NotNull final BuildRunnerContext runnerContext) throws RunBuildException;
// }


import jetbrains.buildServer.RunBuildException;
import jetbrains.buildServer.agent.BuildRunnerContext;
import jetbrains.buildserver.sonarplugin.util.Executable;
import jetbrains.buildserver.sonarplugin.util.ExecutableFactory;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.util.Collections;
/*
 * Copyright 2000-2022 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jetbrains.buildserver.sonarplugin.msbuild;



public class SQMSBuildExecutableFactory implements ExecutableFactory {
    @NotNull private final SonarQubeMSBuildScannerLocator mySonarQubeMSBuildScannerLocator;

    @SuppressWarnings("WeakerAccess")
    public SQMSBuildExecutableFactory(@NotNull final SonarQubeMSBuildScannerLocator sonarQubeMSBuildScannerLocator) {
        mySonarQubeMSBuildScannerLocator = sonarQubeMSBuildScannerLocator;
    }

    @NotNull
    @Override
// Path: sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/util/Executable.java
// public final class Executable {
//     public final String myExecutable;
//     public final List<String> myArguments;
// 
//     public Executable(final String executable, final List<String> arguments) {
//         myExecutable = executable;
//         myArguments = Collections.unmodifiableList(arguments);
//     }
// }
// 
// Path: sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/util/ExecutableFactory.java
// public interface ExecutableFactory {
//     @NotNull
//     Executable create(@NotNull final BuildRunnerContext runnerContext) throws RunBuildException;
// }


// Path: sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/msbuild/SQMSBuildExecutableFactory.java
import jetbrains.buildServer.RunBuildException;
import jetbrains.buildServer.agent.BuildRunnerContext;
import jetbrains.buildserver.sonarplugin.util.Executable;
import jetbrains.buildserver.sonarplugin.util.ExecutableFactory;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.util.Collections;

/*
 * Copyright 2000-2022 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jetbrains.buildserver.sonarplugin.msbuild;



public class SQMSBuildExecutableFactory implements ExecutableFactory {
    @NotNull private final SonarQubeMSBuildScannerLocator mySonarQubeMSBuildScannerLocator;

    @SuppressWarnings("WeakerAccess")
    public SQMSBuildExecutableFactory(@NotNull final SonarQubeMSBuildScannerLocator sonarQubeMSBuildScannerLocator) {
        mySonarQubeMSBuildScannerLocator = sonarQubeMSBuildScannerLocator;
    }

    @NotNull
    @Override
    public Executable create(@NotNull final BuildRunnerContext runnerContext) throws RunBuildException {