From 77204c5eaa7acb1955273bd8a30f353a05b1064f Mon Sep 17 00:00:00 2001
From: Karsten Thoms
Date: Tue, 15 May 2018 12:06:09 +0200
Subject: Bug 534681 - Remove redundant modifiers in org.eclipse.debug.core
Change-Id: I1c7eb444218819aa200fd8471ccfc99285bf5cd4
Signed-off-by: Karsten Thoms
@@ -256,7 +255,7 @@ public interface ILaunchManager {
* @since 2.0
* @see ILaunchConfigurationType#getPrototypes()
*/
- public ILaunchConfiguration[] getLaunchConfigurations(ILaunchConfigurationType type) throws CoreException;
+ ILaunchConfiguration[] getLaunchConfigurations(ILaunchConfigurationType type) throws CoreException;
/**
* Returns all launch configurations defined in the workspace of the specified
@@ -271,7 +270,7 @@ public interface ILaunchManager {
* @see ILaunchConfiguration#getKind()
* @see ILaunchConfigurationType#getPrototypes()
*/
- public ILaunchConfiguration[] getLaunchConfigurations(int kinds) throws CoreException;
+ ILaunchConfiguration[] getLaunchConfigurations(int kinds) throws CoreException;
/**
* Returns all launch configurations of the specified type defined in the workspace
@@ -288,7 +287,7 @@ public interface ILaunchManager {
* @see ILaunchConfiguration#getKind()
* @see ILaunchConfigurationType#getPrototypes()
*/
- public ILaunchConfiguration[] getLaunchConfigurations(ILaunchConfigurationType type, int kinds) throws CoreException;
+ ILaunchConfiguration[] getLaunchConfigurations(ILaunchConfigurationType type, int kinds) throws CoreException;
/**
* Returns the launch configuration type extension with the specified
@@ -299,7 +298,7 @@ public interface ILaunchManager {
* id, or null
if none exists
* @since 2.0
*/
- public IBreakpoint getBreakpoint(IMarker marker);
+ IBreakpoint getBreakpoint(IMarker marker);
/**
* Returns a collection of all registered breakpoints.
@@ -86,7 +86,7 @@ public interface IBreakpointManager {
* @return an array of breakpoints
* @since 2.0
*/
- public IBreakpoint[] getBreakpoints();
+ IBreakpoint[] getBreakpoints();
/**
* Returns whether there are any registered breakpoints.
@@ -94,7 +94,7 @@ public interface IBreakpointManager {
* @return whether there are any registered breakpoints
* @since 2.0
*/
- public boolean hasBreakpoints();
+ boolean hasBreakpoints();
/**
* Returns a collection of all breakpoints registered for the
@@ -105,7 +105,7 @@ public interface IBreakpointManager {
* @return an array of breakpoints
* @since 2.0
*/
- public IBreakpoint[] getBreakpoints(String modelIdentifier);
+ IBreakpoint[] getBreakpoints(String modelIdentifier);
/**
* Returns whether the given breakpoint is currently
@@ -115,7 +115,7 @@ public interface IBreakpointManager {
* @return whether the breakpoint is registered
* @since 2.0
*/
- public boolean isRegistered(IBreakpoint breakpoint);
+ boolean isRegistered(IBreakpoint breakpoint);
/**
* Notifies all registered listeners that the given
@@ -130,7 +130,7 @@ public interface IBreakpointManager {
* @param breakpoint the breakpoint that has changed.
* @since 2.0
*/
- public void fireBreakpointChanged(IBreakpoint breakpoint);
+ void fireBreakpointChanged(IBreakpoint breakpoint);
/**
* Removes the given breakpoint from the breakpoint manager, deletes
@@ -146,7 +146,7 @@ public interface IBreakpointManager {
* underlying marker.
* @since 2.0
*/
- public void removeBreakpoint(IBreakpoint breakpoint, boolean delete) throws CoreException;
+ void removeBreakpoint(IBreakpoint breakpoint, boolean delete) throws CoreException;
/**
* Removes the given breakpoints from the breakpoint manager, deletes
@@ -162,7 +162,7 @@ public interface IBreakpointManager {
* underlying marker.
* @since 2.1
*/
- public void removeBreakpoints(IBreakpoint[] breakpoints, boolean delete) throws CoreException;
+ void removeBreakpoints(IBreakpoint[] breakpoints, boolean delete) throws CoreException;
/**
* Adds the given listener to the collection of registered breakpoint listeners.
@@ -170,7 +170,7 @@ public interface IBreakpointManager {
*
* @param listener the listener to add
*/
- public void addBreakpointListener(IBreakpointListener listener);
+ void addBreakpointListener(IBreakpointListener listener);
/**
* Removes the given listener from the collection of registered breakpoint listeners.
@@ -178,7 +178,7 @@ public interface IBreakpointManager {
*
* @param listener the listener to remove
*/
- public void removeBreakpointListener(IBreakpointListener listener);
+ void removeBreakpointListener(IBreakpointListener listener);
/**
* Adds the given listener to the collection of registered breakpoint listeners.
@@ -187,7 +187,7 @@ public interface IBreakpointManager {
* @param listener the listener to add
* @since 2.1
*/
- public void addBreakpointListener(IBreakpointsListener listener);
+ void addBreakpointListener(IBreakpointsListener listener);
/**
* Removes the given listener from the collection of registered breakpoint listeners.
@@ -196,7 +196,7 @@ public interface IBreakpointManager {
* @param listener the listener to remove
* @since 2.1
*/
- public void removeBreakpointListener(IBreakpointsListener listener);
+ void removeBreakpointListener(IBreakpointsListener listener);
/**
* Adds the given listener to the collection of registered breakpoint manager
@@ -205,7 +205,7 @@ public interface IBreakpointManager {
* @param listener the listener to add
* @since 3.0
*/
- public void addBreakpointManagerListener(IBreakpointManagerListener listener);
+ void addBreakpointManagerListener(IBreakpointManagerListener listener);
/**
* Removes the given listener from the collection of registered breakpoint manager
@@ -214,7 +214,7 @@ public interface IBreakpointManager {
* @param listener the listener to remove
* @since 3.0
*/
- public void removeBreakpointManagerListener(IBreakpointManagerListener listener);
+ void removeBreakpointManagerListener(IBreakpointManagerListener listener);
/**
* Returns whether or not this breakpoint manager is enabled.
@@ -225,7 +225,7 @@ public interface IBreakpointManager {
* @return whether or not this breakpoint manager is enabled
* @since 3.0
*/
- public boolean isEnabled();
+ boolean isEnabled();
/**
* Sets the enabled state of this breakpoint manager. When
@@ -236,7 +236,7 @@ public interface IBreakpointManager {
* enabled
* @since 3.0
*/
- public void setEnabled(boolean enabled);
+ void setEnabled(boolean enabled);
/**
* Returns the name (user readable String) of the given
@@ -247,7 +247,7 @@ public interface IBreakpointManager {
* @return the name of the given breakpoint's type or null
* @since 3.1
*/
- public String getTypeName(IBreakpoint breakpoint);
+ String getTypeName(IBreakpoint breakpoint);
/**
* Returns an array of {@link IBreakpointImportParticipant}s for the given
@@ -259,7 +259,7 @@ public interface IBreakpointManager {
* @throws CoreException if an exception occurs
* @since 3.5
*/
- public IBreakpointImportParticipant[] getImportParticipants(String markertype) throws CoreException;
+ IBreakpointImportParticipant[] getImportParticipants(String markertype) throws CoreException;
/**
* Returns the triggers for the breakpoints associated with the workspace or
@@ -269,7 +269,7 @@ public interface IBreakpointManager {
* null
if none exists
* @since 3.11
*/
- public IBreakpoint[] getTriggerPoints();
+ IBreakpoint[] getTriggerPoints();
/**
* Adds the given breakpoint as the triggering breakpoint in the workspace
@@ -287,7 +287,7 @@ public interface IBreakpointManager {
*
* @since 3.11
*/
- public void addTriggerPoint(IBreakpoint breakpoint) throws CoreException;
+ void addTriggerPoint(IBreakpoint breakpoint) throws CoreException;
/**
* Removes the given breakpoint as the trigger breakpoint in the workspace
@@ -305,7 +305,7 @@ public interface IBreakpointManager {
*
* @since 3.11
*/
- public void removeTriggerPoint(IBreakpoint breakpoint) throws CoreException;
+ void removeTriggerPoint(IBreakpoint breakpoint) throws CoreException;
/**
* Removes all the trigger points from the breakpoint manager.
@@ -314,7 +314,7 @@ public interface IBreakpointManager {
* underlying marker.
* @since 3.11
*/
- public void removeAllTriggerPoints() throws CoreException;
+ void removeAllTriggerPoints() throws CoreException;
/**
* Returns whether a workspace has active TriggerPoints
@@ -323,7 +323,7 @@ public interface IBreakpointManager {
* cannot suspend and return false> otherwise.
* @since 3.11
*/
- public boolean hasActiveTriggerPoints();
+ boolean hasActiveTriggerPoints();
/**
* Revisit all the trigger points to activate/deactivate trigger points.
@@ -333,14 +333,14 @@ public interface IBreakpointManager {
* @param enable enable if
true
or disable if false
* @since 3.11
*/
- public void enableTriggerPoints(IBreakpoint[] triggerPoints, boolean enable);
+ void enableTriggerPoints(IBreakpoint[] triggerPoints, boolean enable);
/**
* Touch and refresh the display of all breakpoints.
*
* @since 3.11
*/
- public void refreshTriggerpointDisplay();
+ void refreshTriggerpointDisplay();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManagerListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManagerListener.java
index 30a0b7431..0c0cbc4a6 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManagerListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManagerListener.java
@@ -31,7 +31,7 @@ public interface IBreakpointManagerListener {
*
* @param enabled whether or not the breakpoint manager is enabled
*/
- public void breakpointManagerEnablementChanged(boolean enabled);
+ void breakpointManagerEnablementChanged(boolean enabled);
/**
* Notifies the listener that the breakpoint manager's trigger point has
@@ -40,6 +40,6 @@ public interface IBreakpointManagerListener {
* @param triggerBreakpoint new trigger breakpoint or null
* @since 3.11
*/
- public default void breakpointManagerTriggerPointChanged(IBreakpoint triggerBreakpoint) {
+ default void breakpointManagerTriggerPointChanged(IBreakpoint triggerBreakpoint) {
}
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointsListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointsListener.java
index e45fd4f79..18d8ff674 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointsListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointsListener.java
@@ -37,7 +37,7 @@ public interface IBreakpointsListener {
*
* @param breakpoints the added breakpoints
*/
- public void breakpointsAdded(IBreakpoint[] breakpoints);
+ void breakpointsAdded(IBreakpoint[] breakpoints);
/**
* Notifies this listener that the given breakpoints have been removed
* from the breakpoint manager.
@@ -51,7 +51,7 @@ public interface IBreakpointsListener {
*
* @see org.eclipse.core.resources.IMarkerDelta
*/
- public void breakpointsRemoved(IBreakpoint[] breakpoints, IMarkerDelta[] deltas);
+ void breakpointsRemoved(IBreakpoint[] breakpoints, IMarkerDelta[] deltas);
/**
* Notifies this listener that the given breakpoints have
@@ -65,6 +65,6 @@ public interface IBreakpointsListener {
*
* @see org.eclipse.core.resources.IMarkerDelta
*/
- public void breakpointsChanged(IBreakpoint[] breakpoints, IMarkerDelta[] deltas);
+ void breakpointsChanged(IBreakpoint[] breakpoints, IMarkerDelta[] deltas);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventFilter.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventFilter.java
index ece27fe66..ee12054d7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventFilter.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventFilter.java
@@ -34,5 +34,5 @@ public interface IDebugEventFilter {
* @param events set of debug events to filter
* @return the set of debug events to fire
*/
- public DebugEvent[] filterDebugEvents(DebugEvent[] events);
+ DebugEvent[] filterDebugEvents(DebugEvent[] events);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventSetListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventSetListener.java
index 160d1c348..e4e4d2bf2 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventSetListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IDebugEventSetListener.java
@@ -35,5 +35,5 @@ public interface IDebugEventSetListener {
*
* @param events the debug events
*/
- public void handleDebugEvents(DebugEvent[] events);
+ void handleDebugEvents(DebugEvent[] events);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionListener.java
index 9ab5b2baf..eabe802cd 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionListener.java
@@ -33,14 +33,14 @@ public interface IExpressionListener {
*
* @param expression the added expression
*/
- public void expressionAdded(IExpression expression);
+ void expressionAdded(IExpression expression);
/**
* Notifies this listener that the given expression has been removed
* from the expression manager.
*
* @param expression the removed expression
*/
- public void expressionRemoved(IExpression expression);
+ void expressionRemoved(IExpression expression);
/**
* Notifies this listener that the given expression has
@@ -48,6 +48,6 @@ public interface IExpressionListener {
*
* @param expression the changed expression
*/
- public void expressionChanged(IExpression expression);
+ void expressionChanged(IExpression expression);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionManager.java
index 72c161135..70177e501 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionManager.java
@@ -40,7 +40,7 @@ public interface IExpressionManager {
*
* @param expression the expression to add
*/
- public void addExpression(IExpression expression);
+ void addExpression(IExpression expression);
/**
* Adds the given expressions to the collection of registered expressions
@@ -50,7 +50,7 @@ public interface IExpressionManager {
* @param expressions the expressions to add
* @since 2.1
*/
- public void addExpressions(IExpression[] expressions);
+ void addExpressions(IExpression[] expressions);
/**
* Creates and returns a new watch expression with the
@@ -61,7 +61,7 @@ public interface IExpressionManager {
* @param expressionText the text for the new expression
* @since 3.0
*/
- public IWatchExpression newWatchExpression(String expressionText);
+ IWatchExpression newWatchExpression(String expressionText);
/**
* Returns a collection of all registered expressions,
@@ -69,14 +69,14 @@ public interface IExpressionManager {
*
* @return an array of expressions
*/
- public IExpression[] getExpressions();
+ IExpression[] getExpressions();
/**
* Returns whether there are any registered expressions
*
* @return whether there are any registered expressions
*/
- public boolean hasExpressions();
+ boolean hasExpressions();
/**
* Returns a collection of all expressions registered for the
@@ -85,7 +85,7 @@ public interface IExpressionManager {
* @param modelIdentifier identifier of a debug model plug-in
* @return an array of expressions
*/
- public IExpression[] getExpressions(String modelIdentifier);
+ IExpression[] getExpressions(String modelIdentifier);
/**
* Removes the given expression from the expression manager,
@@ -94,7 +94,7 @@ public interface IExpressionManager {
*
* @param expression the expression to remove
*/
- public void removeExpression(IExpression expression);
+ void removeExpression(IExpression expression);
/**
* Removes the given expressions from the collection of registered expressions
@@ -104,7 +104,7 @@ public interface IExpressionManager {
* @param expressions the expressions to remove
* @since 2.1
*/
- public void removeExpressions(IExpression[] expressions);
+ void removeExpressions(IExpression[] expressions);
/**
* Adds the given listener to the collection of registered expression listeners.
@@ -112,7 +112,7 @@ public interface IExpressionManager {
*
* @param listener the listener to add
*/
- public void addExpressionListener(IExpressionListener listener);
+ void addExpressionListener(IExpressionListener listener);
/**
* Removes the given listener from the collection of registered expression listeners.
@@ -120,7 +120,7 @@ public interface IExpressionManager {
*
* @param listener the listener to remove
*/
- public void removeExpressionListener(IExpressionListener listener);
+ void removeExpressionListener(IExpressionListener listener);
/**
* Adds the given listener to the collection of registered expression listeners.
@@ -129,7 +129,7 @@ public interface IExpressionManager {
* @param listener the listener to add
* @since 2.1
*/
- public void addExpressionListener(IExpressionsListener listener);
+ void addExpressionListener(IExpressionsListener listener);
/**
* Removes the given listener from the collection of registered expression listeners.
@@ -138,7 +138,7 @@ public interface IExpressionManager {
* @param listener the listener to remove
* @since 2.1
*/
- public void removeExpressionListener(IExpressionsListener listener);
+ void removeExpressionListener(IExpressionsListener listener);
/**
* Returns a new watch expression delegate for the given debug
@@ -151,7 +151,7 @@ public interface IExpressionManager {
* @since 3.0
* @see IWatchExpressionDelegate
*/
- public IWatchExpressionDelegate newWatchExpressionDelegate(String id);
+ IWatchExpressionDelegate newWatchExpressionDelegate(String id);
/**
* Returns whether a watch expression delegate has been contributed for
@@ -163,7 +163,7 @@ public interface IExpressionManager {
* @since 3.1
* @see IWatchExpressionDelegate
*/
- public boolean hasWatchExpressionDelegate(String id);
+ boolean hasWatchExpressionDelegate(String id);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionsListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionsListener.java
index aa78eb85e..1d2fa840e 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionsListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IExpressionsListener.java
@@ -36,14 +36,14 @@ public interface IExpressionsListener {
*
* @param expressions the added expressions
*/
- public void expressionsAdded(IExpression[] expressions);
+ void expressionsAdded(IExpression[] expressions);
/**
* Notifies this listener that the given expressions has been removed
* from the expression manager.
*
* @param expressions the removed expressions
*/
- public void expressionsRemoved(IExpression[] expressions);
+ void expressionsRemoved(IExpression[] expressions);
/**
* Notifies this listener that the given expressions have
@@ -51,6 +51,6 @@ public interface IExpressionsListener {
*
* @param expressions the changed expressions
*/
- public void expressionsChanged(IExpression[] expressions);
+ void expressionsChanged(IExpression[] expressions);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunch.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunch.java
index b2940024e..8f9f7bc2b 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunch.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunch.java
@@ -36,7 +36,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @return an array (element type:
*
*/
- public ILaunch launch(String mode, IProgressMonitor monitor) throws CoreException;
+ ILaunch launch(String mode, IProgressMonitor monitor) throws CoreException;
/**
* Launches this configuration in the specified mode by delegating to
@@ -574,7 +573,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @throws CoreException if an exception occurs during the launch sequence
* @since 3.0
*/
- public ILaunch launch(String mode, IProgressMonitor monitor, boolean build) throws CoreException;
+ ILaunch launch(String mode, IProgressMonitor monitor, boolean build) throws CoreException;
/**
* Launches this configuration in the specified mode by delegating to
@@ -623,7 +622,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @throws CoreException if an exception occurs during the launch sequence
* @since 3.1
*/
- public ILaunch launch(String mode, IProgressMonitor monitor, boolean build, boolean register) throws CoreException;
+ ILaunch launch(String mode, IProgressMonitor monitor, boolean build, boolean register) throws CoreException;
/**
* Migrates this launch configuration to be compatible with current tooling.
@@ -633,7 +632,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @since 3.2
* @see ILaunchConfigurationMigrationDelegate
*/
- public void migrate() throws CoreException;
+ void migrate() throws CoreException;
/**
* Returns whether this launch configuration supports the
@@ -649,7 +648,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* IDebugTarget
or IProcess
),
* or an empty array
*/
- public Object[] getChildren();
+ Object[] getChildren();
/**
* Returns the primary (first) debug target associated with this launch, or null
* if no debug target is associated with this launch. All debug targets
@@ -45,7 +45,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
*
* @return the primary debug target associated with this launch, or null
*/
- public IDebugTarget getDebugTarget();
+ IDebugTarget getDebugTarget();
/**
* Returns the processes that were launched,
@@ -53,7 +53,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
*
* @return array of processes
*/
- public IProcess[] getProcesses();
+ IProcess[] getProcesses();
/**
* Returns all the debug targets associated with this launch,
@@ -64,7 +64,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @return array of debug targets
* @since 2.0
*/
- public IDebugTarget[] getDebugTargets();
+ IDebugTarget[] getDebugTargets();
/**
* Adds the given debug target to this launch. Has no effect
@@ -75,7 +75,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param target debug target to add to this launch
* @since 2.0
*/
- public void addDebugTarget(IDebugTarget target);
+ void addDebugTarget(IDebugTarget target);
/**
* Removes the given debug target from this launch. Has no effect
@@ -86,7 +86,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param target debug target to remove from this launch
* @since 2.0
*/
- public void removeDebugTarget(IDebugTarget target);
+ void removeDebugTarget(IDebugTarget target);
/**
* Adds the given process to this launch. Has no effect
@@ -97,7 +97,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param process the process to add to this launch
* @since 2.0
*/
- public void addProcess(IProcess process);
+ void addProcess(IProcess process);
/**
* Removes the given process from this launch. Has no effect
@@ -108,7 +108,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param process the process to remove from this launch
* @since 2.0
*/
- public void removeProcess(IProcess process);
+ void removeProcess(IProcess process);
/**
* Returns the source locator to use for locating source elements for
@@ -117,7 +117,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
*
* @return the source locator
*/
- public ISourceLocator getSourceLocator();
+ ISourceLocator getSourceLocator();
/**
* Sets the source locator to use for locating source elements for
@@ -127,7 +127,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param sourceLocator source locator or null
* @since 2.0
*/
- public void setSourceLocator(ISourceLocator sourceLocator);
+ void setSourceLocator(ISourceLocator sourceLocator);
/**
* Returns the mode of this launch - one of the mode constants defined by
@@ -136,7 +136,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @return the launch mode
* @see ILaunchManager
*/
- public String getLaunchMode();
+ String getLaunchMode();
/**
* Returns the configuration that was launched, or null
@@ -145,7 +145,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @return the launched configuration or null
* @since 2.0
*/
- public ILaunchConfiguration getLaunchConfiguration();
+ ILaunchConfiguration getLaunchConfiguration();
/**
* Sets the value of a client defined attribute.
@@ -154,7 +154,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @param value the attribute value
* @since 2.0
*/
- public void setAttribute(String key, String value);
+ void setAttribute(String key, String value);
/**
* Returns the value of a client defined attribute.
@@ -163,7 +163,7 @@ public interface ILaunch extends ITerminate, IAdaptable {
* @return value the attribute value, or null
if undefined
* @since 2.0
*/
- public String getAttribute(String key);
+ String getAttribute(String key);
/**
* Returns whether this launch contains at least one process
@@ -173,6 +173,6 @@ public interface ILaunch extends ITerminate, IAdaptable {
* or debug target
* @since 2.0
*/
- public boolean hasChildren();
+ boolean hasChildren();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java
index 0ab64fb71..04d4a575a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java
@@ -68,7 +68,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* The file extension for launch configuration files
* (value "launch"
).
*/
- public static final String LAUNCH_CONFIGURATION_FILE_EXTENSION = "launch"; //$NON-NLS-1$
+ String LAUNCH_CONFIGURATION_FILE_EXTENSION = "launch"; //$NON-NLS-1$
/**
* The file extension for launch configuration prototype files (value
@@ -76,7 +76,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 3.12
*/
- public static final String LAUNCH_CONFIGURATION_PROTOTYPE_FILE_EXTENSION = "prototype"; //$NON-NLS-1$
+ String LAUNCH_CONFIGURATION_PROTOTYPE_FILE_EXTENSION = "prototype"; //$NON-NLS-1$
/**
* Launch configuration attribute storing an identifier of
@@ -86,7 +86,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @see org.eclipse.debug.core.model.IPersistableSourceLocator
*/
- public static final String ATTR_SOURCE_LOCATOR_ID = DebugPlugin.getUniqueIdentifier() + ".source_locator_id"; //$NON-NLS-1$
+ String ATTR_SOURCE_LOCATOR_ID = DebugPlugin.getUniqueIdentifier() + ".source_locator_id"; //$NON-NLS-1$
/**
* Launch configuration attribute storing a memento of a
@@ -98,7 +98,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @see org.eclipse.debug.core.model.IPersistableSourceLocator
*/
- public static final String ATTR_SOURCE_LOCATOR_MEMENTO = DebugPlugin.getUniqueIdentifier() + ".source_locator_memento"; //$NON-NLS-1$
+ String ATTR_SOURCE_LOCATOR_MEMENTO = DebugPlugin.getUniqueIdentifier() + ".source_locator_memento"; //$NON-NLS-1$
/**
* Flag indicating that only this configuration is to be modified by an operation.
@@ -106,7 +106,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 3.12
*/
- public static final int UPDATE_NONE = 0;
+ int UPDATE_NONE = 0;
/**
* Flag indicating that this prototype and any effected prototype children of this prototype
@@ -114,7 +114,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 3.12
*/
- public static final int UPDATE_PROTOTYPE_CHILDREN = 1;
+ int UPDATE_PROTOTYPE_CHILDREN = 1;
/**
* Type constant (bit mask value 1) which identifies a launch configuration.
@@ -122,7 +122,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @see #getKind()
* @since 3.12
*/
- public static final int CONFIGURATION = 0x1;
+ int CONFIGURATION = 0x1;
/**
* Type constant (bit mask value 2) which identifies a launch configuration prototype.
@@ -130,7 +130,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @see #getKind()
* @since 3.12
*/
- public static final int PROTOTYPE = 0x2;
+ int PROTOTYPE = 0x2;
/**
* Returns whether the contents of this launch configuration are
@@ -140,7 +140,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @return whether the contents of this launch configuration are equal to the contents
* of the specified launch configuration.
*/
- public boolean contentsEqual(ILaunchConfiguration configuration);
+ boolean contentsEqual(ILaunchConfiguration configuration);
/**
* Returns a copy of this launch configuration, as a
@@ -160,7 +160,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @see ILaunchConfigurationWorkingCopy#getOriginal()
*/
- public ILaunchConfigurationWorkingCopy copy(String name) throws CoreException;
+ ILaunchConfigurationWorkingCopy copy(String name) throws CoreException;
/**
* Deletes this launch configuration. This configuration's underlying
@@ -175,7 +175,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* configuration's underlying storage.
*
*/
- public void delete() throws CoreException;
+ void delete() throws CoreException;
/**
* Deletes this launch configuration. This configuration's underlying
@@ -194,7 +194,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 3.12
*/
- public void delete(int flag) throws CoreException;
+ void delete(int flag) throws CoreException;
/**
* Returns whether this launch configuration's underlying
@@ -203,7 +203,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @return whether this launch configuration's underlying
* storage exists
*/
- public boolean exists();
+ boolean exists();
/**
* Returns the boolean-valued attribute with the given name.
@@ -220,7 +220,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* have a boolean value
*
*/
- public boolean getAttribute(String attributeName, boolean defaultValue) throws CoreException;
+ boolean getAttribute(String attributeName, boolean defaultValue) throws CoreException;
/**
* Returns the integer-valued attribute with the given name.
@@ -237,7 +237,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* have an integer value
*
*/
- public int getAttribute(String attributeName, int defaultValue) throws CoreException;
+ int getAttribute(String attributeName, int defaultValue) throws CoreException;
/**
* Returns the java.util.List
-valued attribute with the given name.
@@ -254,7 +254,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* have a List value
*
*/
- public Listjava.util.Set
-valued attribute with the given name.
@@ -273,7 +273,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 3.3
*/
- public Setjava.util.Map
-valued attribute with the given name.
@@ -290,7 +290,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* have a Map value
*
*/
- public Mapnull
@@ -335,7 +335,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @since 2.1
*/
- public String getCategory() throws CoreException;
+ String getCategory() throws CoreException;
/**
* Returns the file this launch configuration is stored
@@ -346,7 +346,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* in, or null
if this configuration is stored
* locally with the workspace
*/
- public IFile getFile();
+ IFile getFile();
/**
* Returns the location of this launch configuration as a
@@ -365,8 +365,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @deprecated Since a launch configuration does not need to be stored in the local
* file system, this attribute should no longer be used to identify a launch configuration.
*/
- @Deprecated
- public IPath getLocation();
+ @Deprecated IPath getLocation();
/**
* Returns the resources this launch configuration is associated with or null
@@ -377,7 +376,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @throws CoreException unable to get the mapped resource
* @since 3.2
*/
- public IResource[] getMappedResources() throws CoreException;
+ IResource[] getMappedResources() throws CoreException;
/**
* Returns a memento for this launch configuration, or null
@@ -390,7 +389,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @exception CoreException if an exception occurs generating this
* launch configuration's memento
*/
- public String getMemento() throws CoreException;
+ String getMemento() throws CoreException;
/**
* Returns the name of this launch configuration. This is
@@ -398,7 +397,7 @@ public interface ILaunchConfiguration extends IAdaptable {
*
* @return the name of this launch configuration
*/
- public String getName();
+ String getName();
/**
* Returns the launch modes that have been set on this configuration.
@@ -413,7 +412,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* @exception CoreException if an exception occurs retrieving modes
* @since 3.3
*/
- public Setnull
if
@@ -723,7 +722,7 @@ public interface ILaunchConfiguration extends IAdaptable {
* attribute set.
* @since 3.12
*/
- public Setnull
* @since 2.1
*/
- public String getAttribute(String attributeName);
+ String getAttribute(String attributeName);
/**
* Returns this launch configuration type's category, or null
@@ -102,7 +102,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* @return this launch configuration type's category, or null
* @since 2.1
*/
- public String getCategory();
+ String getCategory();
/**
* Returns the launch configuration delegate for launch
@@ -114,8 +114,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* delegate
* @deprecated use getDelegate(String)
to specify mode
*/
- @Deprecated
- public ILaunchConfigurationDelegate getDelegate() throws CoreException;
+ @Deprecated ILaunchConfigurationDelegate getDelegate() throws CoreException;
/**
* Returns the launch configuration delegate for launch
@@ -133,8 +132,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* instead, as there can be more than one capable delegate per mode or combination
* of modes
*/
- @Deprecated
- public ILaunchConfigurationDelegate getDelegate(String mode) throws CoreException;
+ @Deprecated ILaunchConfigurationDelegate getDelegate(String mode) throws CoreException;
/**
* Returns the delegates capable of launching in the specified modes, possibly
@@ -146,7 +144,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* @throws CoreException if a problem is encountered
* @since 3.3
*/
- public ILaunchDelegate[] getDelegates(Setnull
if unspecified
* @since 3.0
*/
- public String getSourceLocatorId();
+ String getSourceLocatorId();
/**
* Returns the source path computer registered with this launch configuration
@@ -233,7 +231,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* type or null
if unspecified
* @since 3.0
*/
- public ISourcePathComputer getSourcePathComputer();
+ ISourcePathComputer getSourcePathComputer();
/**
* Returns all of the registered supported modes for this launch configuration type.
@@ -250,8 +248,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
* @deprecated Since 3.3 all modes are provided as sets and not individual strings. The method getSupportedModeCombinations
* should be used instead to retrieve the complete listing of supported modes and their allowable combinations.
*/
- @Deprecated
- public Setjava.util.Set
of java.util.Set
s containing all of the
@@ -261,7 +258,7 @@ public interface ILaunchConfigurationType extends IAdaptable {
*
* @since 3.3
*/
- public Setnull
* @param value the value
*/
- public void setAttribute(String attributeName, int value);
+ void setAttribute(String attributeName, int value);
/**
* Sets the String-valued attribute with the given name.
@@ -115,7 +115,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param attributeName the name of the attribute, cannot be null
* @param value the value, or null
if the attribute is to be undefined
*/
- public void setAttribute(String attributeName, String value);
+ void setAttribute(String attributeName, String value);
/**
* Sets the java.util.List
-valued attribute with the given name.
@@ -126,7 +126,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param attributeName the name of the attribute, cannot be null
* @param value the value, or null
if the attribute is to be undefined
*/
- public void setAttribute(String attributeName, Listjava.util.Map
-valued attribute with the given name.
@@ -137,7 +137,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param attributeName the name of the attribute, cannot be null
* @param value the value, or null
if the attribute is to be undefined
*/
- public void setAttribute(String attributeName, Mapjava.util.Set
-valued attribute with the given name.
@@ -149,7 +149,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param value the value, or null
if the attribute is to be undefined
* @since 3.6
*/
- public void setAttribute(String attributeName, Setnull
* @param value the value
*/
- public void setAttribute(String attributeName, boolean value);
+ void setAttribute(String attributeName, boolean value);
/**
* Sets the valued attribute with the given name.
@@ -166,7 +166,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param value the value
* @since 3.12
*/
- public void setAttribute(String attributeName, Object value);
+ void setAttribute(String attributeName, Object value);
/**
* Returns the original launch configuration this working copy
@@ -175,7 +175,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
*
* @return the original launch configuration, or null
*/
- public ILaunchConfiguration getOriginal();
+ ILaunchConfiguration getOriginal();
/**
* Renames this launch configuration to the specified name.
@@ -187,7 +187,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
*
* @param name the new name for this configuration
*/
- public void rename(String name);
+ void rename(String name);
/**
* Sets the container this launch configuration will be stored
@@ -211,7 +211,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* launch configuration, or null
if this
* configuration is to be stored locally
*/
- public void setContainer(IContainer container);
+ void setContainer(IContainer container);
/**
* Sets the attributes of this launch configuration to be the ones contained
@@ -226,7 +226,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* Attribute names are not allowed to be null
* @since 2.1
*/
- public void setAttributes(Mapnull
.
@@ -236,7 +236,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @param resources the resource to map to this launch configuration or null
* @since 3.2
*/
- public void setMappedResources(IResource[] resources);
+ void setMappedResources(IResource[] resources);
/**
* Set the launch modes for this configuration. Over-writes existing launch
@@ -252,7 +252,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
*
* @since 3.3
*/
- public void setModes(Setnull
as a delegate
@@ -264,7 +264,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
*
* @since 3.3
*/
- public void setPreferredLaunchDelegate(Setnull
if this working
@@ -314,7 +314,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @return parent or null
* @since 3.3
*/
- public ILaunchConfigurationWorkingCopy getParent();
+ ILaunchConfigurationWorkingCopy getParent();
/**
* Copies all attributes from the given prototype to this working.
@@ -324,7 +324,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
* @exception CoreException if unable to retrieve attributes from the prototype
* @since 3.12
*/
- public void copyAttributes(ILaunchConfiguration prototype) throws CoreException;
+ void copyAttributes(ILaunchConfiguration prototype) throws CoreException;
/**
* Sets the prototype that this configuration is based on, possibly null
,
@@ -345,5 +345,5 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I
*
* @since 3.12
*/
- public void setPrototype(ILaunchConfiguration prototype, boolean copy) throws CoreException;
+ void setPrototype(ILaunchConfiguration prototype, boolean copy) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchDelegate.java
index 8fda4c5aa..d07bcd33f 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchDelegate.java
@@ -31,7 +31,7 @@ public interface ILaunchDelegate {
*
* @return launch delegate identifier
*/
- public String getId();
+ String getId();
/**
* Returns a human readable name for this launch delegate
@@ -39,7 +39,7 @@ public interface ILaunchDelegate {
*
* @return name or null
*/
- public String getName();
+ String getName();
/**
* Returns a description of this launch delegate, or
@@ -47,14 +47,14 @@ public interface ILaunchDelegate {
*
* @return description or null
*/
- public String getDescription();
+ String getDescription();
/**
* Returns the name of the plug-in that contributed this delegate.
*
* @return contributor name
*/
- public String getContributorName();
+ String getContributorName();
/**
* Returns the underlying launch configuration.
@@ -63,7 +63,7 @@ public interface ILaunchDelegate {
* @return launch configuration delegate
* @exception CoreException if unable to instantiate the delegate
*/
- public ILaunchConfigurationDelegate getDelegate() throws CoreException;
+ ILaunchConfigurationDelegate getDelegate() throws CoreException;
/**
* Returns the complete set of launch modes supported by this delegate as a list of sets.
@@ -73,20 +73,20 @@ public interface ILaunchDelegate {
*
* @return the complete set of launch modes this delegate supports
*/
- public Listnull
if none provided
*/
- public String getPerspectiveId(Set"run"
).
*/
- public static final String RUN_MODE= "run"; //$NON-NLS-1$
+ String RUN_MODE= "run"; //$NON-NLS-1$
/**
* A launch in a special debug mode (value "debug"
).
*/
- public static final String DEBUG_MODE= "debug"; //$NON-NLS-1$
+ String DEBUG_MODE= "debug"; //$NON-NLS-1$
/**
* A launch in a special profile mode (value "profile"
).
* @since 3.0
*/
- public static final String PROFILE_MODE= "profile"; //$NON-NLS-1$
+ String PROFILE_MODE= "profile"; //$NON-NLS-1$
/**
* Launch configuration attribute - a boolean value that indicates if the
@@ -54,7 +54,7 @@ public interface ILaunchManager {
*
* @since 3.6
*/
- public static final String ATTR_PRIVATE = "org.eclipse.debug.ui.private"; //$NON-NLS-1$
+ String ATTR_PRIVATE = "org.eclipse.debug.ui.private"; //$NON-NLS-1$
/**
* Launch configuration attribute name. The value is a map of environment
@@ -64,7 +64,7 @@ public interface ILaunchManager {
*
* @since 3.0
*/
- public static final String ATTR_ENVIRONMENT_VARIABLES = DebugPlugin.getUniqueIdentifier() + ".environmentVariables"; //$NON-NLS-1$
+ String ATTR_ENVIRONMENT_VARIABLES = DebugPlugin.getUniqueIdentifier() + ".environmentVariables"; //$NON-NLS-1$
/**
* Launch configuration attribute name. The value is a boolean value specifying
@@ -75,7 +75,7 @@ public interface ILaunchManager {
*
* @since 3.0
*/
- public static final String ATTR_APPEND_ENVIRONMENT_VARIABLES = DebugPlugin.getUniqueIdentifier() + ".appendEnvironmentVariables"; //$NON-NLS-1$
+ String ATTR_APPEND_ENVIRONMENT_VARIABLES = DebugPlugin.getUniqueIdentifier() + ".appendEnvironmentVariables"; //$NON-NLS-1$
/**
* Adds the specified launch and notifies listeners. Has no
@@ -84,7 +84,7 @@ public interface ILaunchManager {
* @param launch the launch to add
* @since 2.0
*/
- public void addLaunch(ILaunch launch);
+ void addLaunch(ILaunch launch);
/**
* Adds the given launch configuration listener to the list
* of listeners notified when a launch configuration is
@@ -94,7 +94,7 @@ public interface ILaunchManager {
* @param listener launch configuration listener
* @since 2.0
*/
- public void addLaunchConfigurationListener(ILaunchConfigurationListener listener);
+ void addLaunchConfigurationListener(ILaunchConfigurationListener listener);
/**
* Adds the specified launch objects and notifies listeners. Has no
* effect on identical launch objects already registered.
@@ -102,7 +102,7 @@ public interface ILaunchManager {
* @param launches the launch objects to add
* @since 2.1
*/
- public void addLaunches(ILaunch[] launches);
+ void addLaunches(ILaunch[] launches);
/**
* Adds the given listener to the collection of registered launch listeners.
* Has no effect if an identical listener is already registered.
@@ -110,14 +110,14 @@ public interface ILaunchManager {
* @param listener the listener to register
* @since 2.1
*/
- public void addLaunchListener(ILaunchesListener listener);
+ void addLaunchListener(ILaunchesListener listener);
/**
* Adds the given listener to the collection of registered launch listeners.
* Has no effect if an identical listener is already registered.
*
* @param listener the listener to register
*/
- public void addLaunchListener(ILaunchListener listener);
+ void addLaunchListener(ILaunchListener listener);
/**
* Return a String that can be used as the name of a launch configuration. The name
* is guaranteed to be unique (no existing launch configurations will have this name).
@@ -132,8 +132,7 @@ public interface ILaunchManager {
* @deprecated since 3.6 clients should use the {@link #generateLaunchConfigurationName(String)} method which
* will perform validation of the name and correct unsupported name parts.
*/
- @Deprecated
- public String generateUniqueLaunchConfigurationNameFrom(String namePrefix);
+ @Deprecated String generateUniqueLaunchConfigurationNameFrom(String namePrefix);
/**
* Returns a string that can be used as the name of a launch configuration. The name
@@ -151,7 +150,7 @@ public interface ILaunchManager {
* @return launch configuration name
* @since 3.6
*/
- public String generateLaunchConfigurationName(String namePrefix);
+ String generateLaunchConfigurationName(String namePrefix);
/**
* Returns if the given name is valid or not. If an invalid name part is located
@@ -164,7 +163,7 @@ public interface ILaunchManager {
* is either a reserved system name (like 'aux' on Win 32) or the name contains invalid characters (like ':' or '/').
* @since 3.6
*/
- public boolean isValidLaunchConfigurationName(String configname) throws IllegalArgumentException;
+ boolean isValidLaunchConfigurationName(String configname) throws IllegalArgumentException;
/**
* Returns the collection of debug targets currently registered with this
@@ -172,7 +171,7 @@ public interface ILaunchManager {
*
* @return an array of debug targets
*/
- public IDebugTarget[] getDebugTargets();
+ IDebugTarget[] getDebugTargets();
/**
* Returns an array of environment variables to be used when
* launching the given configuration or null
if unspecified.
@@ -185,7 +184,7 @@ public interface ILaunchManager {
* unable to resolve a variable in an environment variable's value
* @since 3.0
*/
- public String[] getEnvironment(ILaunchConfiguration configuration) throws CoreException;
+ String[] getEnvironment(ILaunchConfiguration configuration) throws CoreException;
/**
* This method returns the character encoding to use when launching the specified ILaunchConfiguration
.
* The returned encoding can be derived from one of three places in the following order:
@@ -203,7 +202,7 @@ public interface ILaunchManager {
*
* @since 3.4
*/
- public String getEncoding(ILaunchConfiguration configuration) throws CoreException;
+ String getEncoding(ILaunchConfiguration configuration) throws CoreException;
/**
* Returns a handle to the launch configuration contained
* in the specified file. This method does not check if the specified IFile
is
@@ -218,7 +217,7 @@ public interface ILaunchManager {
* in the specified file
* @since 2.0
*/
- public ILaunchConfiguration getLaunchConfiguration(IFile file);
+ ILaunchConfiguration getLaunchConfiguration(IFile file);
/**
* Returns a handle to the launch configuration specified by
* the given memento. The configuration may not exist.
@@ -234,7 +233,7 @@ public interface ILaunchManager {
* @see ILaunchConfiguration#getMemento()
* @since 2.0
*/
- public ILaunchConfiguration getLaunchConfiguration(String memento) throws CoreException;
+ ILaunchConfiguration getLaunchConfiguration(String memento) throws CoreException;
/**
* Returns all launch configurations defined in the workspace.
*
@@ -243,7 +242,7 @@ public interface ILaunchManager {
* @since 2.0
* @see ILaunchConfigurationType#getPrototypes()
*/
- public ILaunchConfiguration[] getLaunchConfigurations() throws CoreException;
+ ILaunchConfiguration[] getLaunchConfigurations() throws CoreException;
/**
* Returns all launch configurations of the specified type defined in the workspace
* null
if it does not exist
* @since 2.0
*/
- public ILaunchConfigurationType getLaunchConfigurationType(String id);
+ ILaunchConfigurationType getLaunchConfigurationType(String id);
/**
* Returns all defined launch configuration type extensions
@@ -307,7 +306,7 @@ public interface ILaunchManager {
* @return all defined launch configuration type extensions
* @since 2.0
*/
- public ILaunchConfigurationType[] getLaunchConfigurationTypes();
+ ILaunchConfigurationType[] getLaunchConfigurationTypes();
/**
* Returns the collection of launches currently registered
@@ -315,7 +314,7 @@ public interface ILaunchManager {
*
* @return an array of launches
*/
- public ILaunch[] getLaunches();
+ ILaunch[] getLaunches();
/**
* Returns the launch mode registered with the given mode identifier,
@@ -325,7 +324,7 @@ public interface ILaunchManager {
* @return launch mode or null
* @since 3.0
*/
- public ILaunchMode getLaunchMode(String mode);
+ ILaunchMode getLaunchMode(String mode);
/**
* Returns all registered launch modes.
@@ -333,7 +332,7 @@ public interface ILaunchManager {
* @return all registered launch modes
* @since 3.0
*/
- public ILaunchMode[] getLaunchModes();
+ ILaunchMode[] getLaunchModes();
/**
* Returns a collection of launch configurations that required migration to be
@@ -344,7 +343,7 @@ public interface ILaunchManager {
* migration candidates
* @since 3.2
*/
- public ILaunchConfiguration[] getMigrationCandidates() throws CoreException;
+ ILaunchConfiguration[] getMigrationCandidates() throws CoreException;
/**
* When a launch configuration is created or moved, registered launch
@@ -368,7 +367,7 @@ public interface ILaunchManager {
* result of a move
* @since 2.1
*/
- public ILaunchConfiguration getMovedFrom(ILaunchConfiguration addedConfiguration);
+ ILaunchConfiguration getMovedFrom(ILaunchConfiguration addedConfiguration);
/**
* When a launch configuration is deleted or moved, registered launch
@@ -392,7 +391,7 @@ public interface ILaunchManager {
* result of a move
* @since 2.1
*/
- public ILaunchConfiguration getMovedTo(ILaunchConfiguration removedConfiguration);
+ ILaunchConfiguration getMovedTo(ILaunchConfiguration removedConfiguration);
/**
* Returns the native system environment variables as a map of
@@ -413,7 +412,7 @@ public interface ILaunchManager {
* (key type: String
; value type: String
)
* @since 3.0
*/
- public MapString
; value type: String
)
* @since 3.1
*/
- public Mapnull
if none
* @since 3.0
*/
- public ISourceContainerType getSourceContainerType(String id);
+ ISourceContainerType getSourceContainerType(String id);
/**
* Returns all registered source container type extensions.
@@ -461,7 +460,7 @@ public interface ILaunchManager {
* @return all registered source container type extensions
* @since 3.0
*/
- public ISourceContainerType[] getSourceContainerTypes();
+ ISourceContainerType[] getSourceContainerTypes();
/**
* Returns a source path computer to compute a default source lookup path for
@@ -476,7 +475,7 @@ public interface ILaunchManager {
* path computer
* @since 3.0
*/
- public ISourcePathComputer getSourcePathComputer(ILaunchConfiguration configuration) throws CoreException;
+ ISourcePathComputer getSourcePathComputer(ILaunchConfiguration configuration) throws CoreException;
/**
* Returns the source path computer extension registered with the given
@@ -487,7 +486,7 @@ public interface ILaunchManager {
* unique identifier, or null
if none
* @since 3.0
*/
- public ISourcePathComputer getSourcePathComputer(String id);
+ ISourcePathComputer getSourcePathComputer(String id);
/**
* Return true
if there is a launch configuration with the specified name,
@@ -498,7 +497,7 @@ public interface ILaunchManager {
* @exception CoreException if unable to retrieve existing launch configuration names
* @since 2.0
*/
- public boolean isExistingLaunchConfigurationName(String name) throws CoreException;
+ boolean isExistingLaunchConfigurationName(String name) throws CoreException;
/**
* Returns whether the given launch is currently registered.
@@ -507,7 +506,7 @@ public interface ILaunchManager {
* @return whether the launch is currently registered
* @since 3.1
*/
- public boolean isRegistered(ILaunch launch);
+ boolean isRegistered(ILaunch launch);
/**
* Creates and returns a new source locator of the specified
@@ -520,7 +519,7 @@ public interface ILaunchManager {
* the source locator
* @since 2.0
*/
- public IPersistableSourceLocator newSourceLocator(String identifier) throws CoreException;
+ IPersistableSourceLocator newSourceLocator(String identifier) throws CoreException;
/**
* Removes the specified launch and notifies listeners.
@@ -530,7 +529,7 @@ public interface ILaunchManager {
* @param launch the launch to remove
* @since 2.0
*/
- public void removeLaunch(ILaunch launch);
+ void removeLaunch(ILaunch launch);
/**
* Removes the given launch configuration listener from the list
@@ -541,7 +540,7 @@ public interface ILaunchManager {
* @param listener launch configuration listener
* @since 2.0
*/
- public void removeLaunchConfigurationListener(ILaunchConfigurationListener listener);
+ void removeLaunchConfigurationListener(ILaunchConfigurationListener listener);
/**
* Removes the specified launch objects and notifies listeners.
@@ -551,7 +550,7 @@ public interface ILaunchManager {
* @param launches the launch objects to remove
* @since 2.1
*/
- public void removeLaunches(ILaunch[] launches);
+ void removeLaunches(ILaunch[] launches);
/**
* Removes the given listener from the collection of registered launch listeners.
@@ -560,7 +559,7 @@ public interface ILaunchManager {
* @param listener the listener to unregister
* @since 2.1
*/
- public void removeLaunchListener(ILaunchesListener listener);
+ void removeLaunchListener(ILaunchesListener listener);
/**
* Removes the given listener from the collection of registered launch listeners.
@@ -568,7 +567,7 @@ public interface ILaunchManager {
*
* @param listener the listener to unregister
*/
- public void removeLaunchListener(ILaunchListener listener);
+ void removeLaunchListener(ILaunchListener listener);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchMode.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchMode.java
index 2f3c1debf..796291dae 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchMode.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchMode.java
@@ -38,14 +38,14 @@ public interface ILaunchMode {
*
* @return the unique identifier for this launch mode
*/
- public String getIdentifier();
+ String getIdentifier();
/**
* Returns a human readable label for this launch mode.
*
* @return a human readable label for this launch mode
*/
- public String getLabel();
+ String getLabel();
/**
* Returns a human readable label for this launch mode when used in a
@@ -60,5 +60,5 @@ public interface ILaunchMode {
* cascade menu
* @since 3.2
*/
- public String getLaunchAsLabel();
+ String getLaunchAsLabel();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener.java
index 12d84bfd0..1c2c42b86 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener.java
@@ -41,14 +41,14 @@ public interface ILaunchesListener {
*
* @param launches the removed launch objects
*/
- public void launchesRemoved(ILaunch[] launches);
+ void launchesRemoved(ILaunch[] launches);
/**
* Notifies this listener that the specified launches
* have been added.
*
* @param launches the newly added launch objects
*/
- public void launchesAdded(ILaunch[] launches);
+ void launchesAdded(ILaunch[] launches);
/**
* Notifies this listener that the specified launches
* have changed. For example, a process or debug target
@@ -56,5 +56,5 @@ public interface ILaunchesListener {
*
* @param launches the changed launch object
*/
- public void launchesChanged(ILaunch[] launches);
+ void launchesChanged(ILaunch[] launches);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener2.java
index 043d7558f..1ea3d566f 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchesListener2.java
@@ -26,5 +26,5 @@ public interface ILaunchesListener2 extends ILaunchesListener {
*
* @param launches the launches that have terminated
*/
- public void launchesTerminated(ILaunch[] launches);
+ void launchesTerminated(ILaunch[] launches);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureProvider.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureProvider.java
index 9fb9c48e2..55f0f4096 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureProvider.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureProvider.java
@@ -45,6 +45,6 @@ public interface ILogicalStructureProvider {
* @param value value for which logical structure types are being requested
* @return the logical structure types which are applicable to the given value
*/
- public ILogicalStructureType[] getLogicalStructureTypes(IValue value);
+ ILogicalStructureType[] getLogicalStructureTypes(IValue value);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureType.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureType.java
index 617f8daeb..3324e300e 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureType.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILogicalStructureType.java
@@ -68,7 +68,7 @@ public interface ILogicalStructureType extends ILogicalStructureTypeDelegate, IL
* @return a simple description of the logical structure provided by this
* structure type, possibly null
*/
- public String getDescription();
+ String getDescription();
/**
* Returns this logical structure type's unique identifier, as defined
@@ -76,6 +76,6 @@ public interface ILogicalStructureType extends ILogicalStructureTypeDelegate, IL
*
* @return this logical structure type's unique identifier
*/
- public String getId();
+ String getId();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IMemoryBlockManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IMemoryBlockManager.java
index a1a55f0fd..bc86e279b 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IMemoryBlockManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IMemoryBlockManager.java
@@ -36,7 +36,7 @@ public interface IMemoryBlockManager {
*
* @param memoryBlocks memory blocks to add
*/
- public void addMemoryBlocks(IMemoryBlock[] memoryBlocks);
+ void addMemoryBlocks(IMemoryBlock[] memoryBlocks);
/**
* Removes the given memory blocks from the memory block manager.
@@ -45,7 +45,7 @@ public interface IMemoryBlockManager {
*
* @param memoryBlocks memory blocks to remove
*/
- public void removeMemoryBlocks(IMemoryBlock[] memoryBlocks);
+ void removeMemoryBlocks(IMemoryBlock[] memoryBlocks);
/**
* Registers the given listener for memory block addition and
@@ -54,7 +54,7 @@ public interface IMemoryBlockManager {
*
* @param listener the listener to add
*/
- public void addListener(IMemoryBlockListener listener);
+ void addListener(IMemoryBlockListener listener);
/**
* Unregisters the given listener for memory block addition and
@@ -63,14 +63,14 @@ public interface IMemoryBlockManager {
*
* @param listener the listener to remove
*/
- public void removeListener(IMemoryBlockListener listener);
+ void removeListener(IMemoryBlockListener listener);
/**
* Returns all registered memory blocks.
*
* @return all registered memory blocks
*/
- public IMemoryBlock[] getMemoryBlocks();
+ IMemoryBlock[] getMemoryBlocks();
/**
* Returns all registered memory blocks associated with the
@@ -82,7 +82,7 @@ public interface IMemoryBlockManager {
* @return all registered memory blocks associated with the given debug
* target
*/
- public IMemoryBlock[] getMemoryBlocks(IDebugTarget debugTarget);
+ IMemoryBlock[] getMemoryBlocks(IDebugTarget debugTarget);
/**
* Returns all registered memory blocks that originated from the
@@ -92,6 +92,6 @@ public interface IMemoryBlockManager {
* @return all registered memory blocks that originated from the
* given memory retrieval source
*/
- public IMemoryBlock[] getMemoryBlocks(IMemoryBlockRetrieval source);
+ IMemoryBlock[] getMemoryBlocks(IMemoryBlockRetrieval source);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IProcessFactory.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IProcessFactory.java
index d412ca9bb..8423e29fd 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IProcessFactory.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IProcessFactory.java
@@ -62,5 +62,5 @@ public interface IProcessFactory {
* @return the process
* @see IProcess
*/
- public IProcess newProcess(ILaunch launch, Process process, String label, Mapnull
*/
- public void setStatus(IStatus status);
+ void setStatus(IStatus status);
/**
* Returns the status of this request, or null
.
@@ -51,7 +51,7 @@ public interface IRequest {
* @return request status - null
is equivalent
* to an OK status
*/
- public IStatus getStatus();
+ IStatus getStatus();
/**
* Indicates this request is complete. Clients must call this method
@@ -59,7 +59,7 @@ public interface IRequest {
* processing is complete. Only clients fulfilling a request should call this
* method. Clients making a request are not intended to call this method.
*/
- public void done();
+ void done();
/**
* Cancels this request. A request may be canceled by the originator of request
@@ -67,7 +67,7 @@ public interface IRequest {
* this request with more details. A client fulfilling a request must still call
* done()
to indicate the request is complete.
*/
- public void cancel();
+ void cancel();
/**
* Returns whether this request has been canceled.
@@ -79,6 +79,6 @@ public interface IRequest {
*
"org.eclipse.debug.core.breakpointMarker"
).
*/
- public static final String BREAKPOINT_MARKER = DebugPlugin.getUniqueIdentifier() + ".breakpointMarker"; //$NON-NLS-1$
+ String BREAKPOINT_MARKER = DebugPlugin.getUniqueIdentifier() + ".breakpointMarker"; //$NON-NLS-1$
/**
* Line breakpoint marker type
* (value "org.eclipse.debug.core.lineBreakpoint"
).
*/
- public static final String LINE_BREAKPOINT_MARKER = DebugPlugin.getUniqueIdentifier() + ".lineBreakpointMarker"; //$NON-NLS-1$
+ String LINE_BREAKPOINT_MARKER = DebugPlugin.getUniqueIdentifier() + ".lineBreakpointMarker"; //$NON-NLS-1$
/**
* Enabled breakpoint marker attribute (value "org.eclipse.debug.core.enabled"
).
@@ -88,14 +88,14 @@ public interface IBreakpoint extends IAdaptable {
*
* @see org.eclipse.core.resources.IMarker#getAttribute(String, boolean)
*/
- public static final String ENABLED= "org.eclipse.debug.core.enabled"; //$NON-NLS-1$
+ String ENABLED= "org.eclipse.debug.core.enabled"; //$NON-NLS-1$
/**
* Debug model identifier breakpoint marker attribute (value "org.eclipse.debug.core.id"
).
* The attribute is a String
corresponding to the
* identifier of the debug model a breakpoint is associated with.
*/
- public static final String ID= "org.eclipse.debug.core.id"; //$NON-NLS-1$
+ String ID= "org.eclipse.debug.core.id"; //$NON-NLS-1$
/**
* Registered breakpoint marker attribute (value "org.eclipse.debug.core.registered"
).
@@ -104,7 +104,7 @@ public interface IBreakpoint extends IAdaptable {
*
* @see org.eclipse.core.resources.IMarker#getAttribute(String, boolean)
*/
- public static final String REGISTERED= "org.eclipse.debug.core.registered"; //$NON-NLS-1$
+ String REGISTERED= "org.eclipse.debug.core.registered"; //$NON-NLS-1$
/**
* Persisted breakpoint marker attribute (value "org.eclipse.debug.core.persisted"
).
@@ -114,7 +114,7 @@ public interface IBreakpoint extends IAdaptable {
*
* @see org.eclipse.core.resources.IMarker#getAttribute(String, boolean)
*/
- public static final String PERSISTED= "org.eclipse.debug.core.persisted"; //$NON-NLS-1$
+ String PERSISTED= "org.eclipse.debug.core.persisted"; //$NON-NLS-1$
/**
* Deletes this breakpoint's underlying marker, and removes
@@ -123,7 +123,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to delete this breakpoint's
* underlying marker
*/
- public void delete() throws CoreException;
+ void delete() throws CoreException;
/**
* Returns the marker associated with this breakpoint, or
@@ -132,7 +132,7 @@ public interface IBreakpoint extends IAdaptable {
* @return associated marker, or null
if there is
* no associated marker.
*/
- public IMarker getMarker();
+ IMarker getMarker();
/**
* Sets the marker associated with this breakpoint. This method is
* called once at breakpoint creation.
@@ -140,7 +140,7 @@ public interface IBreakpoint extends IAdaptable {
* @param marker the marker to associate with this breakpoint
* @exception CoreException if an error occurs accessing the marker
*/
- public void setMarker(IMarker marker) throws CoreException;
+ void setMarker(IMarker marker) throws CoreException;
/**
* Returns the identifier of the debug model this breakpoint is
* associated with.
@@ -148,7 +148,7 @@ public interface IBreakpoint extends IAdaptable {
* @return the identifier of the debug model this breakpoint is
* associated with
*/
- public String getModelIdentifier();
+ String getModelIdentifier();
/**
* Returns whether this breakpoint is enabled
*
@@ -156,7 +156,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to access the associated
* attribute from this breakpoint's underlying marker
*/
- public boolean isEnabled() throws CoreException;
+ boolean isEnabled() throws CoreException;
/**
* Sets the enabled state of this breakpoint. This has no effect
* if the current enabled state is the same as specified by the
@@ -166,7 +166,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to set the associated attribute on
* this breakpoint's underlying marker.
*/
- public void setEnabled(boolean enabled) throws CoreException;
+ void setEnabled(boolean enabled) throws CoreException;
/**
* Returns whether this breakpoint is currently registered with
@@ -177,7 +177,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to access the associated
* attribute on this breakpoint's underlying marker
*/
- public boolean isRegistered() throws CoreException;
+ boolean isRegistered() throws CoreException;
/**
* Sets whether this breakpoint is currently registered with the
@@ -188,7 +188,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to set the associated attribute
* on this breakpoint's underlying marker.
*/
- public void setRegistered(boolean registered) throws CoreException;
+ void setRegistered(boolean registered) throws CoreException;
/**
* Returns whether this breakpoint is to be persisted across
@@ -201,7 +201,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to access the associated attribute
* on this breakpoint's underlying marker
*/
- public boolean isPersisted() throws CoreException;
+ boolean isPersisted() throws CoreException;
/**
* Sets whether this breakpoint is to be persisted across
@@ -215,7 +215,7 @@ public interface IBreakpoint extends IAdaptable {
* @exception CoreException if unable to set the associated attribute on
* this breakpoint's underlying marker.
*/
- public void setPersisted(boolean registered) throws CoreException;
+ void setPersisted(boolean registered) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
index 302d19001..3b6233680 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpointImportParticipant.java
@@ -54,7 +54,7 @@ public interface IBreakpointImportParticipant {
* @return true if the breakpoint matches the given attributes, false otherwise
* @throws CoreException if an exception occurs
*/
- public boolean matches(Mapnull
*/
- public abstract IValue getValue();
+ IValue getValue();
/**
* Returns the debug target this expression is associated
@@ -55,8 +55,7 @@ public interface IExpression extends IDebugElement {
* @return debug target or null
* @see IDebugElement#getDebugTarget()
*/
- @Override
- public abstract IDebugTarget getDebugTarget();
+ @Override IDebugTarget getDebugTarget();
/**
* Notifies this expression that it has been removed
@@ -64,5 +63,5 @@ public interface IExpression extends IDebugElement {
* is be performed such that this expression can be
* garbage collected.
*/
- public abstract void dispose();
+ void dispose();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFilteredStep.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFilteredStep.java
index a0854de9b..dd58dc39b 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFilteredStep.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFilteredStep.java
@@ -30,7 +30,7 @@ public interface IFilteredStep extends IStep {
*
* @return whether this element can currently perform a filtered step into
*/
- public boolean canStepWithFilters();
+ boolean canStepWithFilters();
/**
* Steps into the current statement, generating RESUME
* and SUSPEND
events for the associated thread, applying step
@@ -43,5 +43,5 @@ public interface IFilteredStep extends IStep {
* null
* @throws CoreException if unable to launch
*/
- public ILaunch getLaunch(ILaunchConfiguration configuration, String mode) throws CoreException;
+ ILaunch getLaunch(ILaunchConfiguration configuration, String mode) throws CoreException;
/**
* Optionally performs any required building before launching the given
@@ -66,7 +66,7 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg
* build before the launch
* @throws CoreException if an exception occurs while building
*/
- public boolean buildForLaunch(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
+ boolean buildForLaunch(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
/**
* Returns whether a launch should proceed. This method is called after
@@ -85,7 +85,7 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg
* @return whether the launch should proceed
* @throws CoreException if an exception occurs during final checks
*/
- public boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
+ boolean finalLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
/**
* Returns whether a launch should proceed. This method is called first
@@ -102,5 +102,5 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg
* @return whether the launch should proceed
* @throws CoreException if an exception occurs while performing pre-launch checks
*/
- public boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
+ boolean preLaunchCheck(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILineBreakpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILineBreakpoint.java
index 258056ce9..6d22b916c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILineBreakpoint.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILineBreakpoint.java
@@ -27,7 +27,7 @@ public interface ILineBreakpoint extends IBreakpoint {
* @exception CoreException if a CoreException
is thrown
* while accessing the underlying IMarker.LINE_NUMBER
marker attribute
*/
-public int getLineNumber() throws CoreException;
+int getLineNumber() throws CoreException;
/**
* Returns starting source index in the original source that corresponds
* to the location of this breakpoint, or -1 if the attribute is not present.
@@ -36,7 +36,7 @@ public int getLineNumber() throws CoreException;
* @exception CoreException if a CoreException
is thrown
* while accessing the underlying IMarker.CHAR_START
marker attribute
*/
-public int getCharStart() throws CoreException;
+int getCharStart() throws CoreException;
/**
* Returns ending source index in the original source that corresponds
* to the location of this breakpoint, or -1 if the attribute is not present.
@@ -45,6 +45,6 @@ public int getCharStart() throws CoreException;
* @exception CoreException if a CoreException
is thrown
* while accessing the underlying IMarker.CHAR_END
marker attribute
*/
-public int getCharEnd() throws CoreException;
+int getCharEnd() throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate.java
index 73654cdeb..efe424eaa 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate.java
@@ -33,7 +33,7 @@ public interface ILogicalStructureTypeDelegate {
* @return whether this structure type can provide a logical structure for
* the given value
*/
- public boolean providesLogicalStructure(IValue value);
+ boolean providesLogicalStructure(IValue value);
/**
* Returns a value representing a logical structure of the given value.
@@ -43,6 +43,6 @@ public interface ILogicalStructureTypeDelegate {
* @throws CoreException if an exception occurs generating a logical
* structure
*/
- public IValue getLogicalStructure(IValue value) throws CoreException;
+ IValue getLogicalStructure(IValue value) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate2.java
index 004453d0b..aa8bfcee6 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILogicalStructureTypeDelegate2.java
@@ -41,6 +41,6 @@ public interface ILogicalStructureTypeDelegate2 {
* @return a simple description of the logical structure provided by this
* structure type delegate, for the given value
*/
- public String getDescription(IValue value);
+ String getDescription(IValue value);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlock.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlock.java
index 933b1fa89..b8aa93393 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlock.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlock.java
@@ -31,14 +31,14 @@ public interface IMemoryBlock extends IDebugElement {
*
* @return the start address of this memory block
*/
- public long getStartAddress();
+ long getStartAddress();
/**
* Returns the length of this memory block in bytes.
*
* @return the length of this memory block in bytes
*/
- public long getLength();
+ long getLength();
/**
* Returns the values of the bytes currently contained
@@ -52,14 +52,14 @@ public interface IMemoryBlock extends IDebugElement {
* the failure.
*
*/
- public byte[] getBytes() throws DebugException;
+ byte[] getBytes() throws DebugException;
/**
* Returns whether this memory block supports value modification
*
* @return whether this memory block supports value modification
*/
- public boolean supportsValueModification();
+ boolean supportsValueModification();
/**
* Sets the value of the bytes in this memory block at the specified
@@ -78,7 +78,7 @@ public interface IMemoryBlock extends IDebugElement {
* beyond the end of this memory block (index of out of range)
*
*/
- public void setValue(long offset, byte[] bytes) throws DebugException;
+ void setValue(long offset, byte[] bytes) throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockExtension.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockExtension.java
index 5d972dff0..22ec4f038 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockExtension.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockExtension.java
@@ -34,7 +34,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
*
* @return the expression used to create this memory block
*/
- public String getExpression();
+ String getExpression();
/**
* Returns the base address of this memory block as a big integer. The
@@ -43,7 +43,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return the base address of this memory block
* @throws DebugException if unable to retrieve the base address
*/
- public BigInteger getBigBaseAddress() throws DebugException;
+ BigInteger getBigBaseAddress() throws DebugException;
/**
* Returns the hard start address of this memory block as a big integer, or
@@ -54,7 +54,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return the hard start address of this memory block or null
* @throws DebugException if unable to retrieve the start address of this memory block.
*/
- public BigInteger getMemoryBlockStartAddress() throws DebugException;
+ BigInteger getMemoryBlockStartAddress() throws DebugException;
/**
* Returns the hard end address of this memory block as a big integer, or
@@ -65,7 +65,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return the hard end address of this memory block or null
* @throws DebugException if unable to retrieve the end address of this memory block.
*/
- public BigInteger getMemoryBlockEndAddress() throws DebugException;
+ BigInteger getMemoryBlockEndAddress() throws DebugException;
/**
* Returns the length of this memory block, or -1 if unbounded.
@@ -77,7 +77,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return length of this memory block or -1 if unbounded
* @throws DebugException if unable to retrieve the length of this memory block.
*/
- public BigInteger getBigLength() throws DebugException;
+ BigInteger getBigLength() throws DebugException;
/**
* Returns the address size of this memory block in number of bytes. The address
@@ -86,7 +86,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return address size in number of bytes
* @throws DebugException if unable to retrieve the address size
*/
- public int getAddressSize() throws DebugException;
+ int getAddressSize() throws DebugException;
/**
* Returns whether the base address of this memory block can be modified.
@@ -94,7 +94,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return whether the base address of this memory block can be modified
* @throws DebugException is unable to determine if base address modification is supported
*/
- public boolean supportBaseAddressModification() throws DebugException;
+ boolean supportBaseAddressModification() throws DebugException;
/**
* Returns whether this memory block manages the change state of its bytes.
@@ -107,7 +107,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
*
* @return whether this memory block manages the change state of its bytes
*/
- public boolean supportsChangeManagement();
+ boolean supportsChangeManagement();
/**
* Sets the base address of this memory block to the given address.
@@ -116,7 +116,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @throws DebugException if unable to modify the base address, or modification
* of the base address fails
*/
- public void setBaseAddress(BigInteger address) throws DebugException;
+ void setBaseAddress(BigInteger address) throws DebugException;
/**
* Returns bytes from this memory block based on the base address and
@@ -140,7 +140,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* a failure communicating with the target
* @see MemoryByte
*/
- public MemoryByte[] getBytesFromOffset(BigInteger unitOffset, long addressableUnits) throws DebugException;
+ MemoryByte[] getBytesFromOffset(BigInteger unitOffset, long addressableUnits) throws DebugException;
/**
* Returns bytes from this memory block based on the given address and the
@@ -163,7 +163,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* a failure communicating with the target
* @see MemoryByte
*/
- public MemoryByte[] getBytesFromAddress(BigInteger address, long units) throws DebugException;
+ MemoryByte[] getBytesFromAddress(BigInteger address, long units) throws DebugException;
/**
* Sets bytes in this memory block at the specified offset within this memory block to
@@ -184,7 +184,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
*
* @see org.eclipse.debug.core.DebugEvent
*/
- public void setValue(BigInteger offset, byte[] bytes) throws DebugException;
+ void setValue(BigInteger offset, byte[] bytes) throws DebugException;
/**
* Connects the given client to this memory block. Allows a memory block
@@ -199,7 +199,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
*
* @param client the client to connect
*/
- public void connect(Object client);
+ void connect(Object client);
/**
* Disconnects the given client from this memory block. Has no effect if
@@ -207,7 +207,7 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
*
* @param client the client to disconnect
*/
- public void disconnect(Object client);
+ void disconnect(Object client);
/**
* Returns the possibly empty list of clients currently connected to this
@@ -216,20 +216,20 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return the possibly empty list of clients currently connected to this
* memory block
*/
- public Object[] getConnections();
+ Object[] getConnections();
/**
* Dispose this memory block. Connected clients are disconnected.
* @throws DebugException if the memory block cannot be disposed.
*/
- public void dispose() throws DebugException;
+ void dispose() throws DebugException;
/**
* Returns the origin of this memory block.
*
* @return the origin of this memory block
*/
- public IMemoryBlockRetrieval getMemoryBlockRetrieval();
+ IMemoryBlockRetrieval getMemoryBlockRetrieval();
/**
* Returns this memory block's addressable size in number of bytes. The addressable size
@@ -239,5 +239,5 @@ public interface IMemoryBlockExtension extends IMemoryBlock {
* @return this memory block's addressable size
* @throws DebugException if the addressable size cannot be obtained.
*/
- public int getAddressableSize() throws DebugException;
+ int getAddressableSize() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrieval.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrieval.java
index 78f16e775..8200ffa2a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrieval.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrieval.java
@@ -28,7 +28,7 @@ public interface IMemoryBlockRetrieval {
* @return whether this debug target supports the retrieval
* of memory blocks
*/
- public boolean supportsStorageRetrieval();
+ boolean supportsStorageRetrieval();
/**
* Returns a memory block that starts at the specified
@@ -47,6 +47,6 @@ public interface IMemoryBlockRetrieval {
* ranges
*
*/
- public IMemoryBlock getMemoryBlock(long startAddress, long length) throws DebugException;
+ IMemoryBlock getMemoryBlock(long startAddress, long length) throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrievalExtension.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrievalExtension.java
index 88eb0b910..0a4ca441f 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrievalExtension.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IMemoryBlockRetrievalExtension.java
@@ -32,5 +32,5 @@ public interface IMemoryBlockRetrievalExtension extends IMemoryBlockRetrieval {
* @throws DebugException if unable to retrieve the specified memory
*/
- public IMemoryBlockExtension getExtendedMemoryBlock(String expression, Object context) throws DebugException;
+ IMemoryBlockExtension getExtendedMemoryBlock(String expression, Object context) throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IPersistableSourceLocator.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IPersistableSourceLocator.java
index ae4ac9bb2..466dbf475 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IPersistableSourceLocator.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IPersistableSourceLocator.java
@@ -57,7 +57,7 @@ public interface IPersistableSourceLocator extends ISourceLocator {
* this source locator
* @exception CoreException if unable to construct a memento
*/
- public String getMemento() throws CoreException;
+ String getMemento() throws CoreException;
/**
* Initializes this source locator based on the given
@@ -66,7 +66,7 @@ public interface IPersistableSourceLocator extends ISourceLocator {
* @param memento a memento to initialize this source locator
* @exception CoreException on failure to initialize
*/
- public void initializeFromMemento(String memento) throws CoreException;
+ void initializeFromMemento(String memento) throws CoreException;
/**
* Initializes this source locator to perform default
@@ -76,7 +76,7 @@ public interface IPersistableSourceLocator extends ISourceLocator {
* will be performing source lookup for
* @exception CoreException on failure to initialize
*/
- public void initializeDefaults(ILaunchConfiguration configuration) throws CoreException;
+ void initializeDefaults(ILaunchConfiguration configuration) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IProcess.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IProcess.java
index 10b5924f8..d66c252ca 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IProcess.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IProcess.java
@@ -37,7 +37,7 @@ public interface IProcess extends IAdaptable, ITerminate {
*
* @since 2.1
*/
- public final static String ATTR_CMDLINE= DebugPlugin.getUniqueIdentifier() + ".ATTR_CMDLINE"; //$NON-NLS-1$
+ String ATTR_CMDLINE= DebugPlugin.getUniqueIdentifier() + ".ATTR_CMDLINE"; //$NON-NLS-1$
/**
* Attribute key for a common, optional, process property. The value of this
@@ -47,7 +47,7 @@ public interface IProcess extends IAdaptable, ITerminate {
*
* @since 2.1
*/
- public final static String ATTR_PROCESS_TYPE = DebugPlugin.getUniqueIdentifier() + ".ATTR_PROCESS_TYPE"; //$NON-NLS-1$
+ String ATTR_PROCESS_TYPE = DebugPlugin.getUniqueIdentifier() + ".ATTR_PROCESS_TYPE"; //$NON-NLS-1$
/**
* Attribute key for a common, optional, process property. The value of this
@@ -56,27 +56,27 @@ public interface IProcess extends IAdaptable, ITerminate {
*
* @since 3.0
*/
- public final static String ATTR_PROCESS_LABEL = DebugPlugin.getUniqueIdentifier() + ".ATTR_PROCESS_LABEL"; //$NON-NLS-1$
+ String ATTR_PROCESS_LABEL = DebugPlugin.getUniqueIdentifier() + ".ATTR_PROCESS_LABEL"; //$NON-NLS-1$
/**
* Returns a human-readable label for this process.
*
* @return a label for this process
*/
- public String getLabel();
+ String getLabel();
/**
* Returns the launch this element originated from.
*
* @return the launch this process is contained in
*/
- public ILaunch getLaunch();
+ ILaunch getLaunch();
/**
* Returns a proxy to the standard input, output, and error streams
* for this process, or null
if not supported.
*
* @return a streams proxy, or null
if not supported
*/
- public IStreamsProxy getStreamsProxy();
+ IStreamsProxy getStreamsProxy();
/**
* Sets the value of a client defined attribute.
@@ -84,7 +84,7 @@ public interface IProcess extends IAdaptable, ITerminate {
* @param key the attribute key
* @param value the attribute value
*/
- public void setAttribute(String key, String value);
+ void setAttribute(String key, String value);
/**
* Returns the value of a client defined attribute.
@@ -92,7 +92,7 @@ public interface IProcess extends IAdaptable, ITerminate {
* @param key the attribute key
* @return value the String attribute value, or null
if undefined
*/
- public String getAttribute(String key);
+ String getAttribute(String key);
/**
* Returns the exit value of this process. Conventionally, 0 indicates
@@ -101,5 +101,5 @@ public interface IProcess extends IAdaptable, ITerminate {
* @return the exit value of this process
* @exception DebugException if this process has not yet terminated
*/
- public int getExitValue() throws DebugException;
+ int getExitValue() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegister.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegister.java
index 35116f5ad..afefa9031 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegister.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegister.java
@@ -33,7 +33,7 @@ public interface IRegister extends IVariable {
* status code contains the underlying exception responsible for
* the failure.
*/
- public IRegisterGroup getRegisterGroup() throws DebugException;
+ IRegisterGroup getRegisterGroup() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegisterGroup.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegisterGroup.java
index 413a41356..7af179a9e 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegisterGroup.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IRegisterGroup.java
@@ -36,7 +36,7 @@ public interface IRegisterGroup extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public String getName() throws DebugException;
+ String getName() throws DebugException;
/**
* Returns the registers in this register group.
@@ -47,7 +47,7 @@ public interface IRegisterGroup extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public IRegister[] getRegisters() throws DebugException;
+ IRegister[] getRegisters() throws DebugException;
/**
* Returns whether this register group currently contains any registers.
@@ -58,7 +58,7 @@ public interface IRegisterGroup extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public boolean hasRegisters() throws DebugException;
+ boolean hasRegisters() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISourceLocator.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISourceLocator.java
index 5c62e963e..c59e88e4c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISourceLocator.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISourceLocator.java
@@ -60,7 +60,7 @@ public interface ISourceLocator {
* @param stackFrame the stack frame for which to locate source
* @return an object representing a source element.
*/
- public Object getSourceElement(IStackFrame stackFrame);
+ Object getSourceElement(IStackFrame stackFrame);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStackFrame.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStackFrame.java
index 985fd5418..441c3433d 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStackFrame.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStackFrame.java
@@ -51,7 +51,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
* @return thread
* @since 2.0
*/
- public IThread getThread();
+ IThread getThread();
/**
* Returns the visible variables in this stack frame. An empty
* collection is returned if there are no visible variables.
@@ -64,7 +64,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public IVariable[] getVariables() throws DebugException;
+ IVariable[] getVariables() throws DebugException;
/**
* Returns whether this stack frame currently contains any visible variables.
@@ -77,7 +77,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public boolean hasVariables() throws DebugException;
+ boolean hasVariables() throws DebugException;
/**
* Returns the line number of the instruction pointer in
@@ -93,7 +93,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
* the failure.
*
*/
- public int getLineNumber() throws DebugException;
+ int getLineNumber() throws DebugException;
/**
* Returns the index of the first character in the associated source
@@ -114,7 +114,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public int getCharStart() throws DebugException;
+ int getCharStart() throws DebugException;
/**
* Returns the index of the last character in the associated source
@@ -135,7 +135,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public int getCharEnd() throws DebugException;
+ int getCharEnd() throws DebugException;
/**
* Returns the name of this stack frame. Name format is debug model
@@ -148,7 +148,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
* the failure.
*
*/
- public String getName() throws DebugException;
+ String getName() throws DebugException;
/**
* Returns the register groups assigned to this stack frame,
@@ -165,7 +165,7 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public IRegisterGroup[] getRegisterGroups() throws DebugException;
+ IRegisterGroup[] getRegisterGroups() throws DebugException;
/**
* Returns whether this stack frame contains any register groups.
@@ -178,5 +178,5 @@ public interface IStackFrame extends IDebugElement, IStep, ISuspendResume, ITerm
*
* @since 2.0
*/
- public boolean hasRegisterGroups() throws DebugException;
+ boolean hasRegisterGroups() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStep.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStep.java
index 0d2362d59..f9378a69a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStep.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStep.java
@@ -32,19 +32,19 @@ public interface IStep {
*
* @return whether this element can currently perform a step into
*/
- public boolean canStepInto();
+ boolean canStepInto();
/**
* Returns whether this element can currently perform a step over.
*
* @return whether this element can currently perform a step over
*/
- public boolean canStepOver();
+ boolean canStepOver();
/**
* Returns whether this element can currently perform a step return.
*
* @return whether this element can currently perform a step return
*/
- public boolean canStepReturn();
+ boolean canStepReturn();
/**
* Returns whether this element is currently stepping.
*
@@ -56,7 +56,7 @@ public interface IStep {
*
* @return whether this element is currently stepping
*/
- public boolean isStepping();
+ boolean isStepping();
/**
* Steps into the current statement, generating RESUME
* and SUSPEND
events for the associated thread. Can only be called
@@ -68,7 +68,7 @@ public interface IStep {
*
RESUME
* and SUSPEND
events for the associated thread. Can only be called
@@ -80,7 +80,7 @@ public interface IStep {
* RESUME
and SUSPEND
events for
@@ -92,5 +92,5 @@ public interface IStep {
* String
*/
- public String getContents();
+ String getContents();
/**
* Removes the given listener from this stream monitor's registered listeners.
* Has no effect if the listener is not already registered.
*
* @param listener the listener to remove
*/
- public void removeListener(IStreamListener listener);
+ void removeListener(IStreamListener listener);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy.java
index e5d382b4d..59c607175 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy.java
@@ -34,7 +34,7 @@ public interface IStreamsProxy {
*
* @return an error stream monitor, or null
if none
*/
- public IStreamMonitor getErrorStreamMonitor();
+ IStreamMonitor getErrorStreamMonitor();
/**
* Returns a monitor for the output stream of this proxy's process,
* or null
if not supported.
@@ -43,7 +43,7 @@ public interface IStreamsProxy {
*
* @return an output stream monitor, or null
if none
*/
- public IStreamMonitor getOutputStreamMonitor();
+ IStreamMonitor getOutputStreamMonitor();
/**
* Writes the given text to the output stream connected to the
* standard input stream of this proxy's process.
@@ -53,5 +53,5 @@ public interface IStreamsProxy {
* underlying OutputStream
.
*
*/
- public void write(String input) throws IOException;
+ void write(String input) throws IOException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy2.java
index f7954e2ff..ef5984ae6 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamsProxy2.java
@@ -30,5 +30,5 @@ public interface IStreamsProxy2 extends IStreamsProxy {
*
* @throws IOException if unable to close the stream
*/
- public void closeInputStream() throws IOException;
+ void closeInputStream() throws IOException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java
index 1e84d8d52..a6a33f725 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ISuspendResume.java
@@ -26,19 +26,19 @@ public interface ISuspendResume {
*
* @return whether this element can currently be resumed
*/
- public boolean canResume();
+ boolean canResume();
/**
* Returns whether this element can currently be suspended.
*
* @return whether this element can currently be suspended
*/
- public boolean canSuspend();
+ boolean canSuspend();
/**
* Returns whether this element is currently suspended.
*
* @return whether this element is currently suspended
*/
- public boolean isSuspended();
+ boolean isSuspended();
/**
* Causes this element to resume its execution, generating a RESUME
event.
* Has no effect on an element that is not suspended. This call is non-blocking.
@@ -48,7 +48,7 @@ public interface ISuspendResume {
* SUSPEND
event.
* Has no effect on an already suspended element.
@@ -59,5 +59,5 @@ public interface ISuspendResume {
* TERMINATE
event.
* Implementations may be blocking or non-blocking.
@@ -42,5 +42,5 @@ public interface ITerminate {
* null
if there is
* currently no top stack frame.
@@ -84,7 +84,7 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat
* status code contains the underlying exception responsible for
* the failure.
*/
- public IStackFrame getTopStackFrame() throws DebugException;
+ IStackFrame getTopStackFrame() throws DebugException;
/**
* Returns the name of this thread. Name format is debug model
* specific, and should be specified by a debug model.
@@ -95,7 +95,7 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat
* status code contains the underlying exception responsible for
* the failure.
*/
- public String getName() throws DebugException;
+ String getName() throws DebugException;
/**
* Returns the breakpoints that caused this thread to suspend,
@@ -107,5 +107,5 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat
*
* @return the collection of breakpoints that caused this thread to suspend
*/
- public IBreakpoint[] getBreakpoints();
+ IBreakpoint[] getBreakpoints();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITriggerPoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITriggerPoint.java
index eb6fe0192..e285438c9 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITriggerPoint.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITriggerPoint.java
@@ -33,7 +33,7 @@ public interface ITriggerPoint extends IAdaptable {
* @see org.eclipse.core.resources.IMarker#getAttribute(String, boolean)
*
*/
- public static final String TRIGGERPOINT = "org.eclipse.debug.core.triggerpoint"; //$NON-NLS-1$
+ String TRIGGERPOINT = "org.eclipse.debug.core.triggerpoint"; //$NON-NLS-1$
/**
* Returns whether this breakpoint is defined as a trigger point in the
@@ -43,7 +43,7 @@ public interface ITriggerPoint extends IAdaptable {
* @exception CoreException if unable to access the associated attribute on
* this breakpoint's underlying marker
*/
- public boolean isTriggerPoint() throws CoreException;
+ boolean isTriggerPoint() throws CoreException;
/**
* Sets whether this breakpoint is to be treated as a trigger point for the
@@ -56,7 +56,7 @@ public interface ITriggerPoint extends IAdaptable {
* @exception CoreException if unable to set the associated attribute on
* this breakpoint's underlying marker.
*/
- public void setTriggerPoint(boolean trigger) throws CoreException;
+ void setTriggerPoint(boolean trigger) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValue.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValue.java
index 3fdc5d987..2b5abd7d0 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValue.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValue.java
@@ -49,7 +49,7 @@ public interface IValue extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public String getReferenceTypeName() throws DebugException;
+ String getReferenceTypeName() throws DebugException;
/**
* Returns this value as a String
.
@@ -60,7 +60,7 @@ public interface IValue extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public String getValueString() throws DebugException;
+ String getValueString() throws DebugException;
/**
* Returns whether this value is currently allocated.
@@ -74,7 +74,7 @@ public interface IValue extends IDebugElement {
* status code contains the underlying exception responsible for
* the failure.
*/
- public boolean isAllocated() throws DebugException;
+ boolean isAllocated() throws DebugException;
/**
* Returns the visible variables in this value. An empty
* collection is returned if there are no visible variables.
@@ -87,7 +87,7 @@ public interface IValue extends IDebugElement {
*
* @since 2.0
*/
- public IVariable[] getVariables() throws DebugException;
+ IVariable[] getVariables() throws DebugException;
/**
* Returns whether this value currently contains any visible variables.
@@ -100,5 +100,5 @@ public interface IValue extends IDebugElement {
*
* @since 2.0
*/
- public boolean hasVariables() throws DebugException;
+ boolean hasVariables() throws DebugException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValueModification.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValueModification.java
index d67e7c0b5..9ab3c0d87 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValueModification.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IValueModification.java
@@ -33,7 +33,7 @@ public interface IValueModification {
* null
if none.
* If the given context is valid for this expression, this expression may
@@ -57,7 +57,7 @@ public interface IWatchExpression extends IErrorReportingExpression {
* @param context context in which to update this expression's value, or
* null
if none
*/
- public void setExpressionContext(IDebugElement context);
+ void setExpressionContext(IDebugElement context);
/**
* Sets this watch expression's snippet of code. This method
* causes the new snippet to be evaluated immediately in
@@ -65,7 +65,7 @@ public interface IWatchExpression extends IErrorReportingExpression {
*
* @param expressionText the snippet which will be evaluated
*/
- public void setExpressionText(String expressionText);
+ void setExpressionText(String expressionText);
/**
* Returns whether the result of this watch expression is pending.
* An expression is pending if an evaluation has been requested, but
@@ -73,14 +73,14 @@ public interface IWatchExpression extends IErrorReportingExpression {
*
* @return whether this expression's result is pending
*/
- public boolean isPending();
+ boolean isPending();
/**
* Returns whether this expression is enabled. An enabled expression will
* update its value. A disabled expression will not.
*
* @return whether this expression is enabled
*/
- public boolean isEnabled();
+ boolean isEnabled();
/**
* Sets this expression's enabled state. This method
* causes the new snippet to be evaluated immediately in
@@ -88,6 +88,6 @@ public interface IWatchExpression extends IErrorReportingExpression {
*
* @param enabled whether this expression should be enabled
*/
- public void setEnabled(boolean enabled);
+ void setEnabled(boolean enabled);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java
index 0757ee95a..17c6223a4 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionDelegate.java
@@ -46,6 +46,6 @@ public interface IWatchExpressionDelegate {
* @param context the context for the evaluation
* @param listener the listener to notify when the evaluation completes
*/
- public void evaluateExpression(String expression, IDebugElement context, IWatchExpressionListener listener);
+ void evaluateExpression(String expression, IDebugElement context, IWatchExpressionListener listener);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionListener.java
index 2edb5697d..d317f19f5 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionListener.java
@@ -26,6 +26,6 @@ public interface IWatchExpressionListener {
*
* @param result the result of the evaluation
*/
- public void watchEvaluationFinished(IWatchExpressionResult result);
+ void watchEvaluationFinished(IWatchExpressionResult result);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionResult.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionResult.java
index cd57189ff..11641b221 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionResult.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpressionResult.java
@@ -34,7 +34,7 @@ public interface IWatchExpressionResult {
* @return the resulting value, possibly
* null
*/
- public IValue getValue();
+ IValue getValue();
/**
* Returns whether the evaluation had any problems
@@ -45,7 +45,7 @@ public interface IWatchExpressionResult {
* @see #getErrorMessages()
* @see #getException()
*/
- public boolean hasErrors();
+ boolean hasErrors();
/**
* Returns an array of problem messages. Each message describes a problem that
@@ -53,14 +53,14 @@ public interface IWatchExpressionResult {
*
* @return evaluation error messages, or an empty array if no errors occurred
*/
- public String[] getErrorMessages();
+ String[] getErrorMessages();
/**
* Returns the expression that was evaluated.
*
* @return The string expression.
*/
- public String getExpressionText();
+ String getExpressionText();
/**
* Returns any exception that occurred while performing the evaluation
@@ -72,5 +72,5 @@ public interface IWatchExpressionResult {
* @return The exception that occurred during the evaluation
* @see org.eclipse.debug.core.DebugException
*/
- public DebugException getException();
+ DebugException getException();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchpoint.java
index 8a1a244a1..6a81b8e14 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchpoint.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchpoint.java
@@ -34,7 +34,7 @@ public interface IWatchpoint extends IBreakpoint {
* @exception CoreException if unable to access the property
* on this breakpoint's underlying marker
*/
- public boolean isAccess() throws CoreException;
+ boolean isAccess() throws CoreException;
/**
* Sets whether this breakpoint will suspend execution when its associated
* variable is accessed.
@@ -43,7 +43,7 @@ public interface IWatchpoint extends IBreakpoint {
* @exception CoreException if unable to set the property on this breakpoint's
* underlying marker or if the capability is not supported
*/
- public void setAccess(boolean access) throws CoreException;
+ void setAccess(boolean access) throws CoreException;
/**
* Returns whether this watchpoint will suspend execution when its associated
* variable is written.
@@ -52,7 +52,7 @@ public interface IWatchpoint extends IBreakpoint {
* @exception CoreException if unable to access the property
* on this breakpoint's underlying marker
*/
- public boolean isModification() throws CoreException;
+ boolean isModification() throws CoreException;
/**
* Sets whether this breakpoint will suspend execution when its associated
* variable is modified.
@@ -61,7 +61,7 @@ public interface IWatchpoint extends IBreakpoint {
* @exception CoreException if unable to set the property on
* this breakpoint's underlying marker or if the capability is not supported
*/
- public void setModification(boolean modification) throws CoreException;
+ void setModification(boolean modification) throws CoreException;
/**
* Returns whether this breakpoints supports the capability to suspend
* when an associated variable is read.
@@ -69,7 +69,7 @@ public interface IWatchpoint extends IBreakpoint {
* @return whether this breakpoints supports the capability to suspend
* when an associated variable is read
*/
- public boolean supportsAccess();
+ boolean supportsAccess();
/**
* Returns whether this breakpoints supports the ability to suspend
* when an associated variable is written.
@@ -77,7 +77,7 @@ public interface IWatchpoint extends IBreakpoint {
* @return whether this breakpoints supports the ability to suspend
* when an associated variable is written
*/
- public boolean supportsModification();
+ boolean supportsModification();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/IPersistableSourceLocator2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/IPersistableSourceLocator2.java
index e314c9047..9bf6bc482 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/IPersistableSourceLocator2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/IPersistableSourceLocator2.java
@@ -38,11 +38,11 @@ public interface IPersistableSourceLocator2 extends IPersistableSourceLocator {
* being created for
* @exception CoreException on failure to initialize
*/
- public void initializeFromMemento(String memento, ILaunchConfiguration configuration) throws CoreException;
+ void initializeFromMemento(String memento, ILaunchConfiguration configuration) throws CoreException;
/**
* Disposes this source locator. This method is called when a source
* locator's associated launch is removed from the launch manager.
*/
- public void dispose();
+ void dispose();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainer.java
index 10fa07111..d72136649 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainer.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainer.java
@@ -40,7 +40,7 @@ public interface ISourceContainer extends IAdaptable {
*
* @param director the director this container has been added to
*/
- public void init(ISourceLookupDirector director);
+ void init(ISourceLookupDirector director);
/**
* Returns a collection of source elements in this container corresponding to the
@@ -61,7 +61,7 @@ public interface ISourceContainer extends IAdaptable {
* @return a collection of source elements corresponding to the given name
* @exception CoreException if an exception occurs while searching for source elements
*/
- public Object[] findSourceElements(String name) throws CoreException;
+ Object[] findSourceElements(String name) throws CoreException;
/**
* The name of this source container that can be used for presentation purposes.
@@ -69,7 +69,7 @@ public interface ISourceContainer extends IAdaptable {
*
* @return the name of this source container
*/
- public String getName();
+ String getName();
/**
* Returns the source containers this container is composed of. An empty
@@ -81,7 +81,7 @@ public interface ISourceContainer extends IAdaptable {
* an empty collection
* @exception CoreException if unable to retrieve source containers
*/
- public ISourceContainer[] getSourceContainers() throws CoreException;
+ ISourceContainer[] getSourceContainers() throws CoreException;
/**
* Returns whether this container is a composite container. A composite
@@ -90,19 +90,19 @@ public interface ISourceContainer extends IAdaptable {
*
* @return whether this container is a composite container
*/
- public boolean isComposite();
+ boolean isComposite();
/**
* Returns this container's type.
*
* @return this container's type
*/
- public ISourceContainerType getType();
+ ISourceContainerType getType();
/**
* Disposes this source container. This method is called when the source
* director associated with this source container is disposed.
*/
- public void dispose();
+ void dispose();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerType.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerType.java
index 548dcd988..3bfd843d7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerType.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerType.java
@@ -53,7 +53,7 @@ public interface ISourceContainerType extends ISourceContainerTypeDelegate {
*
* @return the name of this source container type
*/
- public String getName();
+ String getName();
/**
* Returns the unique identifier associated with this source container type.
@@ -62,7 +62,7 @@ public interface ISourceContainerType extends ISourceContainerTypeDelegate {
*
* @return the unique identifier associated with this source container type
*/
- public String getId();
+ String getId();
/**
* Returns a short description of this source container type that can be used
@@ -70,6 +70,6 @@ public interface ISourceContainerType extends ISourceContainerTypeDelegate {
*
* @return a short description of this source container type, or null
*/
- public String getDescription();
+ String getDescription();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerTypeDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerTypeDelegate.java
index 7b8a16648..e6bc80223 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerTypeDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceContainerTypeDelegate.java
@@ -39,7 +39,7 @@ public interface ISourceContainerTypeDelegate {
* @exception CoreException if unable to construct a source container based
* on the given memento
*/
- public ISourceContainer createSourceContainer(String memento) throws CoreException;
+ ISourceContainer createSourceContainer(String memento) throws CoreException;
/**
* Constructs and returns a memento for the given source container. A memento
@@ -50,6 +50,6 @@ public interface ISourceContainerTypeDelegate {
* @return a memento for the source container
* @exception CoreException if unable to create a memento
*/
- public String getMemento(ISourceContainer container) throws CoreException;
+ String getMemento(ISourceContainer container) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupDirector.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupDirector.java
index 2cee49968..0acafdc6c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupDirector.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupDirector.java
@@ -32,7 +32,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return the launch configuration associated with this source
* lookup director, or null
if none
*/
- public ILaunchConfiguration getLaunchConfiguration();
+ ILaunchConfiguration getLaunchConfiguration();
/**
* Returns the source lookup participants currently registered with
@@ -41,7 +41,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return the source lookup participants currently registered with
* this director, possibly an empty collection
*/
- public ISourceLookupParticipant[] getParticipants();
+ ISourceLookupParticipant[] getParticipants();
/**
* Returns the source containers currently registered with this
@@ -50,7 +50,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return the source containers currently registered with this
* director, possibly an empty collection
*/
- public ISourceContainer[] getSourceContainers();
+ ISourceContainer[] getSourceContainers();
/**
* Sets the source containers this source lookup director
@@ -59,7 +59,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @param containers the source containers this source lookup director
* should search when looking for source, possibly an empty collection
*/
- public void setSourceContainers(ISourceContainer[] containers);
+ void setSourceContainers(ISourceContainer[] containers);
/**
* Returns whether to search exhaustively for all source elements
@@ -70,7 +70,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return whether to search exhaustively for all source elements
* with the same name
*/
- public boolean isFindDuplicates();
+ boolean isFindDuplicates();
/**
* Sets whether to search exhaustively for all source elements
@@ -81,13 +81,13 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @param findDuplicates whether to search exhaustively for all source elements
* with the same name
*/
- public void setFindDuplicates(boolean findDuplicates);
+ void setFindDuplicates(boolean findDuplicates);
/**
* Notifies this source lookup director that it should initialize
* its set of source lookup participants.
*/
- public void initializeParticipants();
+ void initializeParticipants();
/**
* Returns whether this source director supports the given type
@@ -97,7 +97,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return whether this source director supports the given type
* of source location
*/
- public boolean supportsSourceContainerType(ISourceContainerType type);
+ boolean supportsSourceContainerType(ISourceContainerType type);
/**
* Clears any source lookup results associated with the given
@@ -106,28 +106,28 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
*
* @param element debug artifact to clear source lookup results for
*/
- public void clearSourceElements(Object element);
+ void clearSourceElements(Object element);
/**
* Adds the given source lookup participants to this director.
*
* @param participants participants to add
*/
- public void addParticipants(ISourceLookupParticipant[] participants);
+ void addParticipants(ISourceLookupParticipant[] participants);
/**
* Removes the given source lookup participants from this director.
*
* @param participants participants to remove
*/
- public void removeParticipants(ISourceLookupParticipant[] participants);
+ void removeParticipants(ISourceLookupParticipant[] participants);
/**
* Returns the identifier of this type of source locator.
*
* @return the identifier of this type of source locator
*/
- public String getId();
+ String getId();
/**
* Returns the source path computer to use with this source lookup
@@ -139,7 +139,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @return the source path computer to use with this source lookup
* director, possibly null
*/
- public ISourcePathComputer getSourcePathComputer();
+ ISourcePathComputer getSourcePathComputer();
/**
* Sets the source path computer for this source lookup director.
@@ -150,7 +150,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
*
* @param computer source path computer or null
*/
- public void setSourcePathComputer(ISourcePathComputer computer);
+ void setSourcePathComputer(ISourcePathComputer computer);
/**
* Returns a collection of source elements corresponding to the given debug
@@ -166,7 +166,7 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* debug artifact, possibly empty
* @exception CoreException if an exception occurs while searching for source
*/
- public Object[] findSourceElements(Object object) throws CoreException;
+ Object[] findSourceElements(Object object) throws CoreException;
/**
* Returns a source element that corresponds to the given debug artifact, or
@@ -177,6 +177,6 @@ public interface ISourceLookupDirector extends IPersistableSourceLocator2 {
* @param element the debug artifact for which to locate source
* @return an object representing a source element.
*/
- public Object getSourceElement(Object element);
+ Object getSourceElement(Object element);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupParticipant.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupParticipant.java
index 091b69a9e..ca2474ef7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupParticipant.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourceLookupParticipant.java
@@ -38,7 +38,7 @@ public interface ISourceLookupParticipant {
* @param director the source lookup director that this participant
* has been added to
*/
- public void init(ISourceLookupDirector director);
+ void init(ISourceLookupDirector director);
/**
* Returns a collection of source elements corresponding to the given debug
@@ -59,7 +59,7 @@ public interface ISourceLookupParticipant {
* debug artifact, possibly empty
* @exception CoreException if an exception occurs while searching for source
*/
- public Object[] findSourceElements(Object object) throws CoreException;
+ Object[] findSourceElements(Object object) throws CoreException;
/**
* Returns the source file name associated with the given debug artifact that
@@ -70,14 +70,14 @@ public interface ISourceLookupParticipant {
* or null
if none.
* @throws CoreException if unable to determine a source file name
*/
- public String getSourceName(Object object) throws CoreException;
+ String getSourceName(Object object) throws CoreException;
/**
* Disposes this source lookup participant. This method is called when
* the source lookup director associated with this participant is
* disposed.
*/
- public void dispose();
+ void dispose();
/**
* Notification that the source lookup containers in the given source
@@ -86,5 +86,5 @@ public interface ISourceLookupParticipant {
* @param director source lookup director that is directing this
* participant
*/
- public void sourceContainersChanged(ISourceLookupDirector director);
+ void sourceContainersChanged(ISourceLookupDirector director);
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputer.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputer.java
index 59aa3a404..1e642051a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputer.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputer.java
@@ -53,13 +53,13 @@ public interface ISourcePathComputer extends ISourcePathComputerDelegate {
* default source path computer should be used. A default source path computer
* can be associated with a launch configuration type.
*/
- public static final String ATTR_SOURCE_PATH_COMPUTER_ID = DebugPlugin.getUniqueIdentifier() + ".SOURCE_PATH_COMPUTER_ID"; //$NON-NLS-1$
+ String ATTR_SOURCE_PATH_COMPUTER_ID = DebugPlugin.getUniqueIdentifier() + ".SOURCE_PATH_COMPUTER_ID"; //$NON-NLS-1$
/**
* Returns the unique identifier for this source path computer.
*
* @return the unique identifier for this source path computer
*/
- public String getId();
+ String getId();
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputerDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputerDelegate.java
index 51b17f6b6..5df6ba41d 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputerDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/sourcelookup/ISourcePathComputerDelegate.java
@@ -44,6 +44,6 @@ public interface ISourcePathComputerDelegate {
* given launch configuration
* @exception CoreException if unable to compute a default source lookup path
*/
- public ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException;
+ ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException;
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
index 1948399de..3118f260a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
@@ -21,43 +21,43 @@ public interface IConfigurationElementConstants {
* The id node name for a configuration element.
* Equal to the word: id
Equal to the word: name
Equal to the word: category
Equal to the word: local
Equal to the word: shortcutID
Equal to the word: launchPerspectives
Equal to the word: launchPerspective
Equal to the word: launchConfiguration
Equal to the word: launchMode
Equal to the word: lastLaunch
Equal to the word: launch
Equal to the word: launchHistory
Equal to the word: launchGroup
Equal to the word: mruHistory
Equal to the word: favorites
Equal to the word: after
Equal to the word: path
Equal to the word: placement
Equal to the word: associatedDelegate
Equal to the word: label
Equal to the word: description
Equal to the word: helpContextId
Equal to the word: icon
Equal to the word: public
Equal to the word: perspective
Equal to the word: preferredDelegates
Equal to the word: modes
Equal to the word: modeCombination
Equal to the word: mode
Equal to the word: type
Equal to the word: typeid
Equal to the word: options
Equal to the word: delegate
Equal to the word: participant
Equal to the word: defaultShortcut
Equal to the word: delegateName
Equal to the word: group
Equal to the word: class
Equal to the word: configurationType
Equal to the word: contextLabel
Equal to the word: contextualLaunch
Equal to the word: sourcePathComputerId
Equal to the word: delegateDescription
Equal to the word: sourceLocatorId
Equal to the word: migrationDelegate
Equal to the word: memento
Equal to the word: selection
Equal to the word: debugContext
Equal to the word: editorInput