diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/GnuMakefileGenerator.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/GnuMakefileGenerator.java index 6a41f5cf3f9..90be704b51d 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/GnuMakefileGenerator.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/GnuMakefileGenerator.java @@ -1909,7 +1909,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 { ManagedBuildGnuToolInfo[] gnuToolInfos = h.gnuToolInfos; // Get the information regarding the tool's inputs and outputs from the objects // created by calculateToolInputsOutputs - IManagedBuildGnuToolInfo toolInfo = null; + ManagedBuildGnuToolInfo toolInfo = null; for (int i = 0; i < buildTools.length; i++) { if (tool == buildTools[i]) { toolInfo = gnuToolInfos[i]; diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/IManagedBuildGnuToolInfo.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/IManagedBuildGnuToolInfo.java deleted file mode 100644 index f95f7a6ef40..00000000000 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/IManagedBuildGnuToolInfo.java +++ /dev/null @@ -1,128 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2010 Intel Corporation and others. - * - * This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Intel Corporation - Initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.managedbuilder.makegen.gnu2; - -import java.util.Vector; - -/** - * This interface returns information about a Tool's inputs - * and outputs while a Gnu makefile is being generated. - * - * @noextend This class is not intended to be subclassed by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface IManagedBuildGnuToolInfo { - public final String DOT = "."; //$NON-NLS-1$ - - /** - * Returns true if the tool's inputs have been calculated, - * else false. - * - * @return boolean - */ - public boolean areInputsCalculated(); - - /** - * Returns the tool's inputs in command line format. This will use - * variables rather than actual file names as appropriate. - * - * @return Vector - */ - public Vector getCommandInputs(); - - /** - * Returns the raw list of tool's input file names. - * - * @return Vector - */ - public Vector getEnumeratedInputs(); - - /** - * Returns true if the tool's outputs have been calculated, - * else false. - * - * @return boolean - */ - public boolean areOutputsCalculated(); - - /** - * Returns the tool's outputs in command line format. This will use - * variables rather than actual file names as appropriate. - * - * @return Vector - */ - public Vector getCommandOutputs(); - - /** - * Returns the raw list of tool's primary output file names. - * - * @return Vector - */ - public Vector getEnumeratedPrimaryOutputs(); - - /** - * Returns the raw list of tool's secondary output file names. - * - * @return Vector - */ - public Vector getEnumeratedSecondaryOutputs(); - - /** - * Returns the raw list of tool's output variable names. - * - * @return Vector - */ - public Vector getOutputVariables(); - - /** - * Returns true if the tool's dependencies have been calculated, - * else false. - * - * @return boolean - */ - public boolean areDependenciesCalculated(); - - /** - * Returns the tool's dependencies in command line format. This will use - * variables rather than actual file names as appropriate. - * Dependencies are top build directory relative. - * - * @return Vector - */ - public Vector getCommandDependencies(); - - /** - * Returns the tool's additional targets as determined by the - * dependency calculator. - * Additional targets are top build directory relative - * - * @return Vector - */ - public Vector getAdditionalTargets(); - - /** - * Returns the raw list of tool's input dependencies. - * - * @return Vector - */ - //public Vector getEnumeratedDependencies(); - - /** - * Returns true if this is the target tool - * else false. - * - * @return boolean - */ - public boolean isTargetTool(); -} diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/ManagedBuildGnuToolInfo.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/ManagedBuildGnuToolInfo.java index f3552c724fa..84ec3f761cb 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/ManagedBuildGnuToolInfo.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu2/ManagedBuildGnuToolInfo.java @@ -56,7 +56,8 @@ import org.eclipse.core.runtime.Path; * * @noextend This class is not intended to be subclassed by clients. */ -public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { +public class ManagedBuildGnuToolInfo { + public final String DOT = "."; //$NON-NLS-1$ /* * Members @@ -94,48 +95,37 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { } } - /* - * IManagedBuildGnuToolInfo Methods - */ - @Override public boolean areInputsCalculated() { return inputsCalculated; } // Command inputs are top build directory relative - @Override public Vector getCommandInputs() { return commandInputs; } // Enumerated inputs are project relative - @Override public Vector getEnumeratedInputs() { return enumeratedInputs; } - @Override public boolean areOutputsCalculated() { return outputsCalculated; } // Command outputs are top build directory relative - @Override public Vector getCommandOutputs() { return commandOutputs; } - @Override public Vector getEnumeratedPrimaryOutputs() { return enumeratedPrimaryOutputs; } - @Override public Vector getEnumeratedSecondaryOutputs() { return enumeratedSecondaryOutputs; } - @Override public Vector getOutputVariables() { return outputVariables; } @@ -144,19 +134,16 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { return outputVariablesCalculated; } - @Override public boolean areDependenciesCalculated() { return dependenciesCalculated; } // Command dependencies are top build directory relative - @Override public Vector getCommandDependencies() { return commandDependencies; } // Additional targets are top build directory relative - @Override public Vector getAdditionalTargets() { return additionalTargets; } @@ -165,7 +152,6 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo { // return enumeratedDependencies; //} - @Override public boolean isTargetTool() { return bIsTargetTool; }