1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 18:25:40 +02:00

Fix API as per the upcoming 9.1 release

Change-Id: I307f8f3239178415a66f0bed0b63e5b0d7ffe4cd
This commit is contained in:
Marc Khouzam 2016-09-19 11:45:37 -04:00
parent 158bff7ed4
commit 2067bdec1a
17 changed files with 24 additions and 23 deletions

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.core; singleton:=true
Bundle-Version: 6.1.0.qualifier
Bundle-Version: 6.2.0.qualifier
Bundle-Activator: org.eclipse.cdt.core.CCorePlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin

View file

@ -32,7 +32,7 @@ public interface IValue {
/**
* Returns the value as a number, or {@code null} if it is not possible.
* @since 6.1
* @since 6.2
*/
Number numberValue();
@ -97,7 +97,7 @@ public interface IValue {
/**
* Make a deep copy of this value.
* @since 6.1
* @since 6.2
*/
IValue clone();

View file

@ -26,7 +26,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPUnknownType;
*/
public interface ICPPBase extends Cloneable {
public static final ICPPBase[] EMPTY_BASE_ARRAY = {};
/** @since 6.0 */
/** @since 6.2 */
public static final ICPPBase[] NO_BASES_BECAUSE_TYPE_IS_INCOMPLETE = {};
public static final int v_private = ICPPASTBaseSpecifier.v_private;

View file

@ -24,7 +24,7 @@ public interface ICPPField extends IField, ICPPMember, ICPPVariable {
* Returns the position of this field within its class owner's declared fields, or -1 if the position
* cannot be determined.
*
* @since 6.1
* @since 6.2
*/
int getFieldPosition();
}

View file

@ -11,7 +11,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
<version>6.1.0-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.core</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View file

@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb;singleton:=true
Bundle-Version: 5.1.0.qualifier
Bundle-Version: 5.2.0.qualifier
Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.GdbPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,

View file

@ -11,7 +11,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
<version>5.1.0-SNAPSHOT</version>
<version>5.2.0-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.dsf.gdb</artifactId>
<packaging>eclipse-plugin</packaging>
</project>

View file

@ -174,7 +174,7 @@ public interface IGdbDebugPreferenceConstants {
/**
* Boolean preference indicating if the GDB console should be shown using inverted colors. Default is <code>false</code>.
* @since 5.1
* @since 5.2
*/
public static final String PREF_CONSOLE_INVERTED_COLORS = PREFIX + "consoleInvertedColors"; //$NON-NLS-1$
}

View file

@ -157,7 +157,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
};
}
/** @since 5.1 */
/** @since 5.2 */
protected GdbLaunch getGDBLaunch() {
return (GdbLaunch) getSession().getModelAdapter(ILaunch.class);
}
@ -195,7 +195,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
/**
* Returns the GDB command and its arguments as an array.
* Allow subclass to override.
* @since 5.1
* @since 5.2
*/
// This method replaces getGDBCommandLineArray() because we need
// to override it for GDB 7.12 even if an extender has overridden
@ -275,7 +275,7 @@ public class GDBBackend extends AbstractDsfService implements IGDBBackend, IMIBa
/**
* Launch GDB process. Allow subclass to override.
*
* @since 5.1
* @since 5.2
*/
// Again, we create a new method that we know has not been already
// overridden. That way, even if extenders have overridden the

View file

@ -36,7 +36,7 @@ import org.eclipse.osgi.util.NLS;
* If we are unable to create a PTY, we then revert to the previous behavior of
* the base class.
*
* @since 5.1
* @since 5.2
*/
public class GDBBackend_7_12 extends GDBBackend {

View file

@ -88,7 +88,7 @@ public class GdbDebugServicesFactory extends AbstractDsfDebugServicesFactory {
public static final String GDB_7_7_VERSION = "7.7"; //$NON-NLS-1$
/** @since 4.8 */
public static final String GDB_7_10_VERSION = "7.10"; //$NON-NLS-1$
/** @since 5.1 */
/** @since 5.2 */
public static final String GDB_7_12_VERSION = "7.12"; //$NON-NLS-1$
private final String fVersion;

View file

@ -161,7 +161,7 @@ public interface IGDBBackend extends IMIBackend {
/**
* @return True if the full GDB console should be used. False otherwise.
*
* @since 5.1
* @since 5.2
*/
default boolean isFullGdbConsoleSupported() {
return false;
@ -169,7 +169,7 @@ public interface IGDBBackend extends IMIBackend {
/**
* @return The real GDB process that was started for the debug session
* @since 5.1
* @since 5.2
*/
default Process getProcess() {
throw new RuntimeException();
@ -178,7 +178,7 @@ public interface IGDBBackend extends IMIBackend {
/**
* Returns the PTY used when starting the GDB process.
* Can be null if no PTY was used.
* @since 5.1
* @since 5.2
*/
default PTY getProcessPty() {
return null;

View file

@ -27,7 +27,7 @@ import org.eclipse.cdt.dsf.mi.service.IMIBackend;
* of the {@link Process} abstract methods, but disables all I/O and
* local CLI handling.
*
* @since 5.1
* @since 5.2
*/
public class GDBBackendProcessWithoutIO extends GDBBackendCLIProcess implements IGDBBackendProcessWithoutIO {

View file

@ -370,7 +370,7 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
return null;
}
/** @since 5.1 */
/** @since 5.2 */
@Override
public Process getGDBBackendProcess() {
return fBackendProcess;
@ -730,7 +730,7 @@ public class GDBControl extends AbstractMIControl implements IGDBControl {
return new ControlEventProcessor();
}
/** @since 5.1 */
/** @since 5.2 */
protected Process createBackendProcess() throws IOException {
if (fMIBackend.isFullGdbConsoleSupported()) {
// If the full GDB console is supported, which uses the GDB process itself,

View file

@ -16,7 +16,7 @@ package org.eclipse.cdt.dsf.gdb.service.command;
* handled by the launch and the console it normally created, but is handled by
* the full GDB console itself.
*
* @since 5.1
* @since 5.2
*/
public interface IGDBBackendProcessWithoutIO {
}

View file

@ -31,7 +31,7 @@ public interface IGDBControl extends IMICommandControl {
* To get the real GDB process use
* {@link IGDBBackend#getProcess()}.
*
* @since 5.1
* @since 5.2
*/
default Process getGDBBackendProcess() {
return getCLIProcess();

View file

@ -140,7 +140,8 @@ public abstract class AbstractCLIProcess extends Process
}
/**
* @since 5.1
* Returns if this class should handle the IO streams of the CLI.
* @since 5.2
*/
protected boolean handleIO() { return true; }