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 --- .../eclipse/debug/core/IBreakpointListener.java | 6 +- .../org/eclipse/debug/core/IBreakpointManager.java | 54 +++++------ .../debug/core/IBreakpointManagerListener.java | 4 +- .../eclipse/debug/core/IBreakpointsListener.java | 6 +- .../org/eclipse/debug/core/IDebugEventFilter.java | 2 +- .../eclipse/debug/core/IDebugEventSetListener.java | 2 +- .../eclipse/debug/core/IExpressionListener.java | 6 +- .../org/eclipse/debug/core/IExpressionManager.java | 28 +++--- .../eclipse/debug/core/IExpressionsListener.java | 6 +- .../core/org/eclipse/debug/core/ILaunch.java | 30 +++--- .../eclipse/debug/core/ILaunchConfiguration.java | 95 +++++++++--------- .../debug/core/ILaunchConfigurationListener.java | 6 +- .../ILaunchConfigurationMigrationDelegate.java | 4 +- .../debug/core/ILaunchConfigurationType.java | 47 +++++---- .../core/ILaunchConfigurationWorkingCopy.java | 46 ++++----- .../org/eclipse/debug/core/ILaunchDelegate.java | 16 +-- .../org/eclipse/debug/core/ILaunchListener.java | 6 +- .../org/eclipse/debug/core/ILaunchManager.java | 93 +++++++++--------- .../core/org/eclipse/debug/core/ILaunchMode.java | 6 +- .../org/eclipse/debug/core/ILaunchesListener.java | 6 +- .../org/eclipse/debug/core/ILaunchesListener2.java | 2 +- .../debug/core/ILogicalStructureProvider.java | 2 +- .../eclipse/debug/core/ILogicalStructureType.java | 4 +- .../eclipse/debug/core/IMemoryBlockManager.java | 14 +-- .../org/eclipse/debug/core/IProcessFactory.java | 2 +- .../core/IPrototypeAttributesLabelProvider.java | 2 +- .../core/org/eclipse/debug/core/IRequest.java | 10 +- .../org/eclipse/debug/core/IStatusHandler.java | 2 +- .../org/eclipse/debug/core/IStreamListener.java | 2 +- .../debug/core/commands/IDebugCommandHandler.java | 4 +- .../debug/core/commands/IDebugCommandRequest.java | 2 +- .../debug/core/commands/IEnabledStateRequest.java | 2 +- .../org/eclipse/debug/core/model/IBreakpoint.java | 32 +++--- .../core/model/IBreakpointImportParticipant.java | 4 +- .../eclipse/debug/core/model/IDebugElement.java | 6 +- .../debug/core/model/IDebugModelProvider.java | 2 +- .../org/eclipse/debug/core/model/IDebugTarget.java | 10 +- .../org/eclipse/debug/core/model/IDisconnect.java | 6 +- .../org/eclipse/debug/core/model/IDropToFrame.java | 4 +- .../core/model/IErrorReportingExpression.java | 4 +- .../org/eclipse/debug/core/model/IExpression.java | 9 +- .../eclipse/debug/core/model/IFilteredStep.java | 4 +- .../debug/core/model/IFlushableStreamMonitor.java | 6 +- .../eclipse/debug/core/model/IIndexedValue.java | 8 +- .../core/model/ILaunchConfigurationDelegate.java | 2 +- .../core/model/ILaunchConfigurationDelegate2.java | 8 +- .../eclipse/debug/core/model/ILineBreakpoint.java | 6 +- .../core/model/ILogicalStructureTypeDelegate.java | 4 +- .../core/model/ILogicalStructureTypeDelegate2.java | 2 +- .../org/eclipse/debug/core/model/IMemoryBlock.java | 10 +- .../debug/core/model/IMemoryBlockExtension.java | 36 +++---- .../debug/core/model/IMemoryBlockRetrieval.java | 4 +- .../core/model/IMemoryBlockRetrievalExtension.java | 2 +- .../core/model/IPersistableSourceLocator.java | 6 +- .../org/eclipse/debug/core/model/IProcess.java | 18 ++-- .../org/eclipse/debug/core/model/IRegister.java | 2 +- .../eclipse/debug/core/model/IRegisterGroup.java | 6 +- .../eclipse/debug/core/model/ISourceLocator.java | 2 +- .../org/eclipse/debug/core/model/IStackFrame.java | 18 ++-- .../core/org/eclipse/debug/core/model/IStep.java | 14 +-- .../org/eclipse/debug/core/model/IStepFilter.java | 2 +- .../org/eclipse/debug/core/model/IStepFilters.java | 6 +- .../eclipse/debug/core/model/IStreamMonitor.java | 6 +- .../eclipse/debug/core/model/IStreamsProxy.java | 6 +- .../eclipse/debug/core/model/IStreamsProxy2.java | 2 +- .../eclipse/debug/core/model/ISuspendResume.java | 10 +- .../org/eclipse/debug/core/model/ITerminate.java | 6 +- .../core/org/eclipse/debug/core/model/IThread.java | 12 +-- .../eclipse/debug/core/model/ITriggerPoint.java | 6 +- .../core/org/eclipse/debug/core/model/IValue.java | 10 +- .../debug/core/model/IValueModification.java | 10 +- .../org/eclipse/debug/core/model/IVariable.java | 8 +- .../eclipse/debug/core/model/IWatchExpression.java | 12 +-- .../debug/core/model/IWatchExpressionDelegate.java | 2 +- .../debug/core/model/IWatchExpressionListener.java | 2 +- .../debug/core/model/IWatchExpressionResult.java | 10 +- .../org/eclipse/debug/core/model/IWatchpoint.java | 12 +-- .../sourcelookup/IPersistableSourceLocator2.java | 4 +- .../debug/core/sourcelookup/ISourceContainer.java | 14 +-- .../core/sourcelookup/ISourceContainerType.java | 6 +- .../sourcelookup/ISourceContainerTypeDelegate.java | 4 +- .../core/sourcelookup/ISourceLookupDirector.java | 32 +++--- .../sourcelookup/ISourceLookupParticipant.java | 10 +- .../core/sourcelookup/ISourcePathComputer.java | 4 +- .../sourcelookup/ISourcePathComputerDelegate.java | 2 +- .../core/IConfigurationElementConstants.java | 108 ++++++++++----------- .../debug/internal/core/IExpressionsListener2.java | 4 +- .../internal/core/IInternalDebugCoreConstants.java | 6 +- .../debug/internal/core/IMementoConstants.java | 16 +-- 89 files changed, 539 insertions(+), 545 deletions(-) diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java index 159e063cd..ad1ba4959 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java @@ -34,7 +34,7 @@ public interface IBreakpointListener { * @param breakpoint the added breakpoint * @since 2.0 */ - public void breakpointAdded(IBreakpoint breakpoint); + void breakpointAdded(IBreakpoint breakpoint); /** * Notifies this listener that the given breakpoint has been removed * from the breakpoint manager. @@ -49,7 +49,7 @@ public interface IBreakpointListener { * @see org.eclipse.core.resources.IMarkerDelta * @since 2.0 */ - public void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta); + void breakpointRemoved(IBreakpoint breakpoint, IMarkerDelta delta); /** * Notifies this listener that an attribute of the given breakpoint has @@ -64,6 +64,6 @@ public interface IBreakpointListener { * @see org.eclipse.core.resources.IMarkerDelta * @since 2.0 */ - public void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta); + void breakpointChanged(IBreakpoint breakpoint, IMarkerDelta delta); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManager.java index bd3dc94d4..3e8480657 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManager.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointManager.java @@ -49,7 +49,7 @@ public interface IBreakpointManager { * * @since 2.0 */ - public void addBreakpoint(IBreakpoint breakpoint) throws CoreException; + void addBreakpoint(IBreakpoint breakpoint) throws CoreException; /** * Adds the given breakpoints to the collection of registered breakpoints @@ -66,7 +66,7 @@ public interface IBreakpointManager { * * @since 2.1 */ - public void addBreakpoints(IBreakpoint[] breakpoints) throws CoreException; + void addBreakpoints(IBreakpoint[] breakpoints) throws CoreException; /** * Returns the breakpoint associated with the given marker or @@ -77,7 +77,7 @@ public interface IBreakpointManager { * 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: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 List getAttribute(String attributeName, List defaultValue) throws CoreException; + List getAttribute(String attributeName, List defaultValue) throws CoreException; /** * Returns the java.util.Set-valued attribute with the given name. @@ -273,7 +273,7 @@ public interface ILaunchConfiguration extends IAdaptable { * * @since 3.3 */ - public Set getAttribute(String attributeName, Set defaultValue) throws CoreException; + Set getAttribute(String attributeName, Set defaultValue) throws CoreException; /** * Returns the java.util.Map-valued attribute with the given name. @@ -290,7 +290,7 @@ public interface ILaunchConfiguration extends IAdaptable { * have a Map value * */ - public Map getAttribute(String attributeName, Map defaultValue) throws CoreException; + Map getAttribute(String attributeName, Map defaultValue) throws CoreException; /** * Returns the string-valued attribute with the given name. @@ -307,7 +307,7 @@ public interface ILaunchConfiguration extends IAdaptable { * have a String value * */ - public String getAttribute(String attributeName, String defaultValue) throws CoreException; + String getAttribute(String attributeName, String defaultValue) throws CoreException; /** * Returns a map containing the attributes in this launch configuration. @@ -322,7 +322,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @exception CoreException unable to generate/retrieve an attribute map * @since 2.1 */ - public Map getAttributes() throws CoreException; + Map getAttributes() throws CoreException; /** * Returns this launch configuration's type's category, or null @@ -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 Set getModes() throws CoreException; + Set getModes() throws CoreException; /** * Returns the preferred launch delegate that has been set on this @@ -425,7 +424,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @exception CoreException if an exception occurs retrieving preferred delegate * @since 3.3 */ - public ILaunchDelegate getPreferredDelegate(Set modes) throws CoreException; + ILaunchDelegate getPreferredDelegate(Set modes) throws CoreException; /** * Returns the type of this launch configuration. This is a @@ -438,7 +437,7 @@ public interface ILaunchConfiguration extends IAdaptable { * * @see ILaunchConfigurationType */ - public ILaunchConfigurationType getType() throws CoreException; + ILaunchConfigurationType getType() throws CoreException; /** * Returns a working copy of this launch configuration. @@ -465,7 +464,7 @@ public interface ILaunchConfiguration extends IAdaptable { * * @see ILaunchConfigurationWorkingCopy#getOriginal() */ - public ILaunchConfigurationWorkingCopy getWorkingCopy() throws CoreException; + ILaunchConfigurationWorkingCopy getWorkingCopy() throws CoreException; /** * Returns whether this configuration contains an attribute with the given name. @@ -476,7 +475,7 @@ public interface ILaunchConfiguration extends IAdaptable { * * @since 3.4 */ - public boolean hasAttribute(String attributeName) throws CoreException; + boolean hasAttribute(String attributeName) throws CoreException; /** * Returns whether this launch configuration is stored @@ -485,7 +484,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @return whether this launch configuration is stored * locally with the workspace */ - public boolean isLocal(); + boolean isLocal(); /** * Returns whether this launch configuration is a candidate for migration. @@ -495,7 +494,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @see ILaunchConfigurationMigrationDelegate * @since 3.2 */ - public boolean isMigrationCandidate() throws CoreException ; + boolean isMigrationCandidate() throws CoreException ; /** * Returns whether this launch configuration is a working @@ -507,7 +506,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @return whether this launch configuration is a working * copy */ - public boolean isWorkingCopy(); + boolean isWorkingCopy(); /** * Launches this configuration in the specified mode by delegating to @@ -530,7 +529,7 @@ public interface ILaunchConfiguration extends IAdaptable { *
  • the launch fails (in the delegate) * */ - 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 { *
  • Unable to retrieve this launch configuration's type.
  • * */ - public boolean supportsMode(String mode) throws CoreException; + boolean supportsMode(String mode) throws CoreException; /** * Returns whether this launch configuration is read-only. @@ -659,7 +658,7 @@ public interface ILaunchConfiguration extends IAdaptable { * * @since 3.3 */ - public boolean isReadOnly(); + boolean isReadOnly(); /** * Returns the prototype this launch configuration was created from or @@ -671,7 +670,7 @@ public interface ILaunchConfiguration extends IAdaptable { * longer exists * @since 3.12 */ - public ILaunchConfiguration getPrototype() throws CoreException; + ILaunchConfiguration getPrototype() throws CoreException; /** * Check if the given attribute has the same value than the one from its prototype. @@ -680,7 +679,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @throws CoreException if an exception occurs while checking * @since 3.12 */ - public boolean isAttributeModified(String attribute) throws CoreException; + boolean isAttributeModified(String attribute) throws CoreException; /** * Returns whether this configuration is a prototype. @@ -688,7 +687,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @return whether this configuration is a prototype * @since 3.12 */ - public boolean isPrototype(); + boolean isPrototype(); /** * Returns all configurations made from this prototype, possibly an empty @@ -698,7 +697,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @throws CoreException if unable to retrieve this prototype's children * @since 3.12 */ - public Collection getPrototypeChildren() throws CoreException; + Collection getPrototypeChildren() throws CoreException; /** * Returns this configuration's kind. One of CONFIGURATION or PROTOTYPE. @@ -710,7 +709,7 @@ public interface ILaunchConfiguration extends IAdaptable { * @throws CoreException if unable to retrieve this configuration's kind * @since 3.12 */ - public int getKind() throws CoreException; + int getKind() throws CoreException; /** * Get the visible attributes of this prototype (return null if @@ -723,7 +722,7 @@ public interface ILaunchConfiguration extends IAdaptable { * attribute set. * @since 3.12 */ - public Set getPrototypeVisibleAttributes() throws CoreException; + Set getPrototypeVisibleAttributes() throws CoreException; /** * Set the visibility of the given prototype's attribute. @@ -734,5 +733,5 @@ public interface ILaunchConfiguration extends IAdaptable { * visibility * @since 3.12 */ - public void setPrototypeAttributeVisibility(String attribute, boolean visible) throws CoreException; + void setPrototypeAttributeVisibility(String attribute, boolean visible) throws CoreException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationListener.java index e1a59f933..39ea07166 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationListener.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationListener.java @@ -26,7 +26,7 @@ public interface ILaunchConfigurationListener { * * @param configuration the newly created launch configuration */ - public void launchConfigurationAdded(ILaunchConfiguration configuration); + void launchConfigurationAdded(ILaunchConfiguration configuration); /** * The given launch configuration has changed in some way. @@ -35,7 +35,7 @@ public interface ILaunchConfigurationListener { * @param configuration the launch configuration that has * changed */ - public void launchConfigurationChanged(ILaunchConfiguration configuration); + void launchConfigurationChanged(ILaunchConfiguration configuration); /** * The given launch configuration has been deleted. @@ -48,6 +48,6 @@ public interface ILaunchConfigurationListener { * * @param configuration the deleted launch configuration */ - public void launchConfigurationRemoved(ILaunchConfiguration configuration); + void launchConfigurationRemoved(ILaunchConfiguration configuration); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationMigrationDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationMigrationDelegate.java index 328c722fc..2ed55b5d4 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationMigrationDelegate.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationMigrationDelegate.java @@ -38,7 +38,7 @@ public interface ILaunchConfigurationMigrationDelegate { * @throws CoreException if an exception occurs determining the status of the * given configuration */ - public boolean isCandidate(ILaunchConfiguration candidate) throws CoreException; + boolean isCandidate(ILaunchConfiguration candidate) throws CoreException; /** * Migrates the given launch configuration to be compatible with the current tooling. @@ -47,6 +47,6 @@ public interface ILaunchConfigurationMigrationDelegate { * or working copy * @throws CoreException if an exception occurs during migration */ - public void migrate(ILaunchConfiguration candidate) throws CoreException; + void migrate(ILaunchConfiguration candidate) throws CoreException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationType.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationType.java index fbcb08a1e..2f1ad9301 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationType.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationType.java @@ -92,7 +92,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return the specified extension attribute, or null * @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(Set modes) throws CoreException; + ILaunchDelegate[] getDelegates(Set modes) throws CoreException; /** * Returns the preferred launch delegate for this type in the specified mode combination @@ -158,7 +156,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * * @since 3.3 */ - public ILaunchDelegate getPreferredDelegate(Set modes) throws CoreException; + ILaunchDelegate getPreferredDelegate(Set modes) throws CoreException; /** * Sets the preferred launch delegate for this type in the specified mode combination. @@ -171,7 +169,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * * @since 3.3 */ - public void setPreferredDelegate(Set modes, ILaunchDelegate delegate) throws CoreException; + void setPreferredDelegate(Set modes, ILaunchDelegate delegate) throws CoreException; /** * Returns whether this launch configuration supports the specified launch @@ -181,21 +179,21 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return whether the launch mode combination is supported * @since 3.3 */ - public boolean supportsModeCombination(Set modes); + boolean supportsModeCombination(Set modes); /** * Returns the unique identifier for this type of launch configuration * * @return the unique identifier for this type of launch configuration */ - public String getIdentifier(); + String getIdentifier(); /** * Returns the name of this type of launch configuration. * * @return the name of this type of launch configuration */ - public String getName(); + String getName(); /** * Returns the identifier of the plug-in that contributes this launch configuration type. @@ -203,7 +201,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return the identifier of the plug-in that contributes this launch configuration type * @since 3.0 */ - public String getPluginIdentifier(); + String getPluginIdentifier(); /** * Returns the identifier of the persistable source locator registered with @@ -218,7 +216,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * this launch configurations type, or null 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 Set getSupportedModes(); + @Deprecated Set getSupportedModes(); /** * Returns a java.util.Set of java.util.Sets containing all of the @@ -261,7 +258,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * * @since 3.3 */ - public Set> getSupportedModeCombinations(); + Set> getSupportedModeCombinations(); /** * Returns whether this launch configuration type is public. Public configuration @@ -272,7 +269,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * * @return whether this launch configuration type is public. */ - public boolean isPublic(); + boolean isPublic(); /** * Returns a new launch configuration working copy of this type, @@ -294,7 +291,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * of launch configuration could not be created for any * reason */ - public ILaunchConfigurationWorkingCopy newInstance(IContainer container, String name) throws CoreException; + ILaunchConfigurationWorkingCopy newInstance(IContainer container, String name) throws CoreException; /** * Returns whether this type of launch configuration supports @@ -306,7 +303,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return whether this kind of launch configuration supports the * specified mode */ - public boolean supportsMode(String mode); + boolean supportsMode(String mode); /** * Returns the name of the plug-in that contributed this launch configuration type. @@ -314,7 +311,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return name of contributing plug-in * @since 3.3 */ - public String getContributorName(); + String getContributorName(); /** * Returns all launch configuration prototypes of the this type, possibly @@ -324,7 +321,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * @throws CoreException if unable to retrieve the prototypes * @since 3.12 */ - public ILaunchConfiguration[] getPrototypes() throws CoreException; + ILaunchConfiguration[] getPrototypes() throws CoreException; /** * Returns a new launch configuration working copy of this type, that @@ -348,7 +345,7 @@ public interface ILaunchConfigurationType extends IAdaptable { * configuration could not be created for any reason * @since 3.12 */ - public ILaunchConfigurationWorkingCopy newPrototypeInstance(IContainer container, String name) throws CoreException; + ILaunchConfigurationWorkingCopy newPrototypeInstance(IContainer container, String name) throws CoreException; /** * Returns whether this type of launch configuration supports prototypes. @@ -356,5 +353,5 @@ public interface ILaunchConfigurationType extends IAdaptable { * @return whether this kind of launch configuration supports the prototypes * @since 3.12 */ - public boolean supportsPrototypes(); + boolean supportsPrototypes(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationWorkingCopy.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationWorkingCopy.java index 7b2b5326f..c7d1b768c 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationWorkingCopy.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfigurationWorkingCopy.java @@ -53,7 +53,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * @return whether this configuration has been modified * since it was last saved or created */ - public boolean isDirty(); + boolean isDirty(); /** * Saves this working copy to its underlying file and returns @@ -73,7 +73,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * writing this configuration to its underlying file. * @see #doSave(int) */ - public ILaunchConfiguration doSave() throws CoreException; + ILaunchConfiguration doSave() throws CoreException; /** * Saves this working copy to its underlying file and returns a handle to @@ -97,7 +97,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * underlying storage * @since 3.12 */ - public ILaunchConfiguration doSave(int flag) throws CoreException; + ILaunchConfiguration doSave(int flag) throws CoreException; /** * Sets the integer-valued attribute with the given name. @@ -105,7 +105,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * @param attributeName the name of the attribute, cannot be null * @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, List value); + void setAttribute(String attributeName, List value); /** * Sets the java.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, Map value); + void setAttribute(String attributeName, Map value); /** * Sets the java.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, Set value); + void setAttribute(String attributeName, Set value); /** * Sets the boolean-valued attribute with the given name. @@ -157,7 +157,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * @param attributeName the name of the attribute, cannot be null * @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(Map attributes); + void setAttributes(Map attributes); /** * Sets the resources associated with this launch configuration, possibly null. @@ -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(Set modes); + void setModes(Set modes); /** * Set the preferred launch delegates' id for the given mode set. Passing in null as a delegate @@ -264,7 +264,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * * @since 3.3 */ - public void setPreferredLaunchDelegate(Set modes, String delegateId); + void setPreferredLaunchDelegate(Set modes, String delegateId); /** * Adds the specified launch modes to this configuration's settings. @@ -277,7 +277,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * * @since 3.3 */ - public void addModes(Set modes); + void addModes(Set modes); /** * Removes the specified launch modes from this configuration's settings. @@ -290,7 +290,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * * @since 3.3 */ - public void removeModes(Set modes); + void removeModes(Set modes); /** * Removes the specified attribute from the this configuration and returns @@ -305,7 +305,7 @@ public interface ILaunchConfigurationWorkingCopy extends ILaunchConfiguration, I * * @since 3.4 */ - public Object removeAttribute(String attributeName); + Object removeAttribute(String attributeName); /** * Returns the parent of this working copy or null 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 List> getModes(); + List> getModes(); /** * Returns the id of the plug-in that contributed this launch delegate. * * @return the id of the plug-in that contributed this launch delegate */ - public String getPluginIdentifier(); + String getPluginIdentifier(); /** * Returns the specified perspective id for the given mode set, or null if one is not provided * @param modes the set of modes to get the perspective id * @return the perspective id associated with the given mode set, or null if none provided */ - public String getPerspectiveId(Set modes); + String getPerspectiveId(Set modes); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchListener.java index ca9f041b7..95b3b5599 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchListener.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchListener.java @@ -30,7 +30,7 @@ public interface ILaunchListener { * @param launch the removed launch * @since 2.0 */ - public void launchRemoved(ILaunch launch); + void launchRemoved(ILaunch launch); /** * Notifies this listener that the specified launch * has been added. @@ -38,7 +38,7 @@ public interface ILaunchListener { * @param launch the newly added launch * @since 2.0 */ - public void launchAdded(ILaunch launch); + void launchAdded(ILaunch launch); /** * Notifies this listener that the specified launch * has changed. For example, a process or debug target @@ -47,5 +47,5 @@ public interface ILaunchListener { * @param launch the changed launch * @since 2.0 */ - public void launchChanged(ILaunch launch); + void launchChanged(ILaunch launch); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchManager.java index 41ac5e15f..916c83e99 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchManager.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchManager.java @@ -35,16 +35,16 @@ public interface ILaunchManager { /** * A launch in a normal, non-debug mode(value "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 *

    @@ -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 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 Map getNativeEnvironment(); + Map getNativeEnvironment(); /** * Returns the native system environment variables as a map of @@ -434,7 +433,7 @@ public interface ILaunchManager { * (key type: String; value type: String) * @since 3.1 */ - public Map getNativeEnvironmentCasePreserved(); + Map getNativeEnvironmentCasePreserved(); /** * Returns the collection of processes currently registered with this @@ -442,7 +441,7 @@ public interface ILaunchManager { * * @return an array of processes */ - public IProcess[] getProcesses(); + IProcess[] getProcesses(); /** * Returns the source container type extension registered with the @@ -453,7 +452,7 @@ public interface ILaunchManager { * given unique identifier, or null 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, Map attributes); + IProcess newProcess(ILaunch launch, Process process, String label, Map attributes); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IPrototypeAttributesLabelProvider.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IPrototypeAttributesLabelProvider.java index ab98d0369..9e262beda 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IPrototypeAttributesLabelProvider.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IPrototypeAttributesLabelProvider.java @@ -25,5 +25,5 @@ public interface IPrototypeAttributesLabelProvider { * @param attribute the given attribute. * @return a human readable label of this attribute. */ - public String getAttributeLabel(String attribute); + String getAttributeLabel(String attribute); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IRequest.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IRequest.java index 07a4952a0..2ef6f8782 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IRequest.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IRequest.java @@ -43,7 +43,7 @@ public interface IRequest { * * @param status request status or null */ - 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 { *

    * @return whether this request has been canceled */ - public boolean isCanceled(); + boolean isCanceled(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IStatusHandler.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IStatusHandler.java index 3306fdf62..657015fd3 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IStatusHandler.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IStatusHandler.java @@ -74,5 +74,5 @@ public interface IStatusHandler { * @return an object representing the resolution of the status * @exception CoreException if unable to resolve the status */ - public Object handleStatus(IStatus status, Object source) throws CoreException; + Object handleStatus(IStatus status, Object source) throws CoreException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/IStreamListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/IStreamListener.java index a6c82b7fc..861608303 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/IStreamListener.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/IStreamListener.java @@ -29,5 +29,5 @@ public interface IStreamListener { * @param text the appended text * @param monitor the stream monitor to which text was appended */ - public void streamAppended(String text, IStreamMonitor monitor); + void streamAppended(String text, IStreamMonitor monitor); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandHandler.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandHandler.java index c28f4733f..e34f9e2bc 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandHandler.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandHandler.java @@ -55,7 +55,7 @@ public interface IDebugCommandHandler { *

    * @param request specifies elements to operate on and collects enabled state */ - public void canExecute(IEnabledStateRequest request); + void canExecute(IEnabledStateRequest request); /** * Executes this command on the elements specified in the given request @@ -77,6 +77,6 @@ public interface IDebugCommandHandler { * @param request specifies elements to operate on and collects execution status * @return whether this handler remains enabled while command is executing */ - public boolean execute(IDebugCommandRequest request); + boolean execute(IDebugCommandRequest request); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandRequest.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandRequest.java index c1f30cf17..3784704f9 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandRequest.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IDebugCommandRequest.java @@ -27,5 +27,5 @@ public interface IDebugCommandRequest extends IRequest { * * @return elements to execute a command on */ - public Object[] getElements(); + Object[] getElements(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IEnabledStateRequest.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IEnabledStateRequest.java index 428323b86..39a8e3cfc 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IEnabledStateRequest.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IEnabledStateRequest.java @@ -28,5 +28,5 @@ public interface IEnabledStateRequest extends IDebugCommandRequest { * * @param result whether enabled */ - public void setEnabled(boolean result); + void setEnabled(boolean result); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpoint.java index 332680e29..656a54b96 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpoint.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpoint.java @@ -73,13 +73,13 @@ public interface IBreakpoint extends IAdaptable { * Root breakpoint marker type * (value "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(Map attributes, IBreakpoint breakpoint) throws CoreException; + boolean matches(Map attributes, IBreakpoint breakpoint) throws CoreException; /** * Verifies the state of the breakpoint once it has been imported. This method can be used to correct @@ -65,6 +65,6 @@ public interface IBreakpointImportParticipant { * @param breakpoint the breakpoint to be verified * @throws CoreException if an exception occurs */ - public void verify(IBreakpoint breakpoint) throws CoreException; + void verify(IBreakpoint breakpoint) throws CoreException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java index 2401a8bcd..e8ea3d474 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugElement.java @@ -45,19 +45,19 @@ public interface IDebugElement extends IAdaptable { * * @return the plug-in identifier */ - public String getModelIdentifier(); + String getModelIdentifier(); /** * Returns the debug target this element is contained in. * * @return the debug target this element is contained in */ - public IDebugTarget getDebugTarget(); + IDebugTarget getDebugTarget(); /** * Returns the launch this element is contained in. * * @return the launch this element is contained in */ - public ILaunch getLaunch(); + ILaunch getLaunch(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugModelProvider.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugModelProvider.java index 92703d4a3..d07918141 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugModelProvider.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugModelProvider.java @@ -30,6 +30,6 @@ public interface IDebugModelProvider { * * @return a collection of debug model identifiers */ - public String[] getModelIdentifiers(); + String[] getModelIdentifiers(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java index 040586642..9b769c8a1 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDebugTarget.java @@ -45,7 +45,7 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, * * @return the system process associated with this debug target */ - public IProcess getProcess(); + IProcess getProcess(); /** * Returns the threads contained in this debug target. An * empty collection is returned if this debug target contains @@ -58,7 +58,7 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, * the failure. * @since 2.0 */ - public IThread[] getThreads() throws DebugException; + IThread[] getThreads() throws DebugException; /** * Returns whether this debug target currently contains any threads. @@ -70,7 +70,7 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, * the failure. * @since 2.0 */ - public boolean hasThreads() throws DebugException; + boolean hasThreads() throws DebugException; /** * Returns the name of this debug target. Name format is debug model @@ -82,7 +82,7 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, * status code contains the underlying exception responsible for * the failure. */ - public String getName() throws DebugException; + String getName() throws DebugException; /** * Returns whether this target can install the given breakpoint. @@ -90,7 +90,7 @@ public interface IDebugTarget extends IDebugElement, ITerminate, ISuspendResume, * @param breakpoint breakpoint to consider * @return whether this target can install the given breakpoint */ - public boolean supportsBreakpoint(IBreakpoint breakpoint); + boolean supportsBreakpoint(IBreakpoint breakpoint); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDisconnect.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDisconnect.java index aa3c6975d..b5bdf82f1 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDisconnect.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDisconnect.java @@ -27,7 +27,7 @@ public interface IDisconnect { * * @return whether this element can currently disconnect */ - public boolean canDisconnect(); + boolean canDisconnect(); /** * Disconnects this element from its target. Generally, disconnecting * ends a debug session with a debug target, but allows the target @@ -38,13 +38,13 @@ public interface IDisconnect { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public void disconnect() throws DebugException; + void disconnect() throws DebugException; /** * Returns whether this element is disconnected. * * @return whether this element is disconnected */ - public boolean isDisconnected(); + boolean isDisconnected(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDropToFrame.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDropToFrame.java index 2fed49938..b0e3a3ff7 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDropToFrame.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IDropToFrame.java @@ -25,7 +25,7 @@ public interface IDropToFrame { * Returns whether this element can currently perform a drop to frame. * @return whether this element can currently perform a drop to frame */ - public boolean canDropToFrame(); + boolean canDropToFrame(); /** * Performs a drop to frame on this element. Implementations must generate @@ -39,5 +39,5 @@ public interface IDropToFrame { *
  • NOT_SUPPORTED - The capability is not supported by the target
  • * */ - public void dropToFrame() throws DebugException; + void dropToFrame() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IErrorReportingExpression.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IErrorReportingExpression.java index 9d715c733..b7c3ce341 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IErrorReportingExpression.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IErrorReportingExpression.java @@ -24,7 +24,7 @@ public interface IErrorReportingExpression extends IExpression { * * @return whether this expression's result has errors */ - public boolean hasErrors(); + boolean hasErrors(); /** * Returns this expression's error messages, if any. An expression can * have errors if errors were generated the last time its value was @@ -32,5 +32,5 @@ public interface IErrorReportingExpression extends IExpression { * * @return this expression's error messages */ - public String[] getErrorMessages(); + String[] getErrorMessages(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IExpression.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IExpression.java index 5509a78a9..e0cd22652 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IExpression.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IExpression.java @@ -36,7 +36,7 @@ public interface IExpression extends IDebugElement { * * @return the expression */ - public abstract String getExpressionText(); + String getExpressionText(); /** * Returns the current value of this expression or @@ -45,7 +45,7 @@ public interface IExpression extends IDebugElement { * * @return value or null */ - 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 { *
  • NOT_SUPPORTED - The capability is not supported by the target
  • * */ - public void stepWithFilters() throws DebugException; + void stepWithFilters() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFlushableStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFlushableStreamMonitor.java index ef4c4e14d..d85db0fbd 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFlushableStreamMonitor.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IFlushableStreamMonitor.java @@ -25,7 +25,7 @@ public interface IFlushableStreamMonitor extends IStreamMonitor { /** * Empties the contents of this stream monitor's underlying buffer. */ - public void flushContents(); + void flushContents(); /** * Sets whether the contents of this monitor's underlying stream should be @@ -37,7 +37,7 @@ public interface IFlushableStreamMonitor extends IStreamMonitor { * @param buffer whether the contents of this monitor's underlying stream * should be buffered */ - public void setBuffered(boolean buffer); + void setBuffered(boolean buffer); /** * Returns whether the contents of this monitor's underlying stream is @@ -46,5 +46,5 @@ public interface IFlushableStreamMonitor extends IStreamMonitor { * @return whether the contents of this monitor's underlying stream is * buffered */ - public boolean isBuffered(); + boolean isBuffered(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IIndexedValue.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IIndexedValue.java index 106f4839c..f679485c9 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IIndexedValue.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IIndexedValue.java @@ -37,7 +37,7 @@ public interface IIndexedValue extends IValue { * @throws DebugException if unable to retrieve the variable at the * given offset */ - public IVariable getVariable(int offset) throws DebugException; + IVariable getVariable(int offset) throws DebugException; /** * Returns a subset of the elements in this collection of variables as @@ -49,7 +49,7 @@ public interface IIndexedValue extends IValue { * specified by the given offset and length * @throws DebugException if unable to retrieve the variables */ - public IVariable[] getVariables(int offset, int length) throws DebugException; + IVariable[] getVariables(int offset, int length) throws DebugException; /** * Returns the number of entries in this indexed collection. @@ -58,7 +58,7 @@ public interface IIndexedValue extends IValue { * @throws DebugException if unable to determine the number * of entries in this collection */ - public int getSize() throws DebugException; + int getSize() throws DebugException; /** * Returns the index of the first variable contained in this value. @@ -67,5 +67,5 @@ public interface IIndexedValue extends IValue { * * @return the index of the first variable contained in this value */ - public int getInitialOffset(); + int getInitialOffset(); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate.java index 376fbe61d..cdf215c22 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate.java @@ -49,6 +49,6 @@ public interface ILaunchConfigurationDelegate { * targets to * @exception CoreException if launching fails */ - public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException; + void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java index 67c9df8af..3a4e410de 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ILaunchConfigurationDelegate2.java @@ -40,7 +40,7 @@ public interface ILaunchConfigurationDelegate2 extends ILaunchConfigurationDeleg * @return a launch object or 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 { *

  • NOT_SUPPORTED - The capability is not supported by the target
  • * */ - public void stepInto() throws DebugException; + void stepInto() throws DebugException; /** * Steps over the current statement, generating RESUME * and SUSPEND events for the associated thread. Can only be called @@ -80,7 +80,7 @@ public interface IStep { *
  • NOT_SUPPORTED - The capability is not supported by the target
  • * */ - public void stepOver() throws DebugException; + void stepOver() throws DebugException; /** * Steps to the next return statement in the current scope, * generating RESUME and SUSPEND events for @@ -92,5 +92,5 @@ public interface IStep { *
  • NOT_SUPPORTED - The capability is not supported by the target
  • * */ - public void stepReturn() throws DebugException; + void stepReturn() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilter.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilter.java index 38a3fb959..8c8c6d092 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilter.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilter.java @@ -43,6 +43,6 @@ public interface IStepFilter { * @param object the object to filter * @return whether the step for the given object should be filtered. */ - public boolean isFiltered(Object object); + boolean isFiltered(Object object); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilters.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilters.java index 1c58584fd..7be26e164 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilters.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStepFilters.java @@ -44,7 +44,7 @@ public interface IStepFilters { * * @return whether this debug target supports step filters */ - public boolean supportsStepFilters(); + boolean supportsStepFilters(); /** * Returns whether step filters are currently enabled in this @@ -53,12 +53,12 @@ public interface IStepFilters { * @return whether step filters are currently enabled in this * debug target */ - public boolean isStepFiltersEnabled(); + boolean isStepFiltersEnabled(); /** * Sets whether step filters are enabled in this debug target. * * @param enabled whether step filters are enabled in this debug target */ - public void setStepFiltersEnabled(boolean enabled); + void setStepFiltersEnabled(boolean enabled); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamMonitor.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamMonitor.java index e6da88b72..f23128cfa 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamMonitor.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IStreamMonitor.java @@ -32,19 +32,19 @@ public interface IStreamMonitor { * * @param listener the listener to add */ - public void addListener(IStreamListener listener); + void addListener(IStreamListener listener); /** * Returns the entire current contents of the stream. An empty * String is returned if the stream is empty. * * @return the stream contents as a 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 { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public void resume() throws DebugException; + void resume() throws DebugException; /** * Causes this element to suspend its execution, generating a SUSPEND event. * Has no effect on an already suspended element. @@ -59,5 +59,5 @@ public interface ISuspendResume { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public void suspend() throws DebugException; + void suspend() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITerminate.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITerminate.java index fbf6e8491..b2bf5f7ef 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITerminate.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/ITerminate.java @@ -26,13 +26,13 @@ public interface ITerminate { * * @return whether this element can be terminated */ - public boolean canTerminate(); + boolean canTerminate(); /** * Returns whether this element is terminated. * * @return whether this element is terminated */ - public boolean isTerminated(); + boolean isTerminated(); /** * Causes this element to terminate, generating a TERMINATE event. * Implementations may be blocking or non-blocking. @@ -42,5 +42,5 @@ public interface ITerminate { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public void terminate() throws DebugException; + void terminate() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java index 16766e85c..e96ebc534 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IThread.java @@ -47,7 +47,7 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat * * @since 2.0 */ - public IStackFrame[] getStackFrames() throws DebugException; + IStackFrame[] getStackFrames() throws DebugException; /** * Returns whether this thread currently contains any stack @@ -61,7 +61,7 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat * * @since 2.0 */ - public boolean hasStackFrames() throws DebugException; + boolean hasStackFrames() throws DebugException; /** * Returns the priority of this thread. The meaning of this @@ -73,7 +73,7 @@ public interface IThread extends IDebugElement, ISuspendResume, IStep, ITerminat * status code contains the underlying exception responsible for * the failure.
  • */ - public int getPriority() throws DebugException; + int getPriority() throws DebugException; /** * Returns the top stack frame or 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 { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public void setValue(String expression) throws DebugException; + void setValue(String expression) throws DebugException; /** * Sets the value of this variable to the given value. @@ -45,14 +45,14 @@ public interface IValueModification { * * @since 2.0 */ - public void setValue(IValue value) throws DebugException; + void setValue(IValue value) throws DebugException; /** * Returns whether this variable supports value modification. * * @return whether this variable supports value modification */ - public boolean supportsValueModification(); + boolean supportsValueModification(); /** * Returns whether the given expression is valid to be used in @@ -65,7 +65,7 @@ public interface IValueModification { *
  • NOT_SUPPORTED - The capability is not supported by the target * */ - public boolean verifyValue(String expression) throws DebugException; + boolean verifyValue(String expression) throws DebugException; /** * Returns whether the given value can be used as @@ -79,7 +79,7 @@ public interface IValueModification { * * @since 2.0 */ - public boolean verifyValue(IValue value) throws DebugException; + boolean verifyValue(IValue value) throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IVariable.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IVariable.java index d9e98b9b1..7e16366e5 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IVariable.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IVariable.java @@ -49,7 +49,7 @@ public interface IVariable extends IDebugElement, IValueModification { * status code contains the underlying exception responsible for * the failure.
  • */ - public IValue getValue() throws DebugException; + IValue getValue() throws DebugException; /** * Returns the name of this variable. Name format is debug model * specific, and should be specified by a debug model. @@ -60,7 +60,7 @@ public interface IVariable extends IDebugElement, IValueModification { * status code contains the underlying exception responsible for * the failure. */ - public String getName() throws DebugException; + String getName() throws DebugException; /** * Returns a description of the type of data this variable is * declared to reference. Note that the declared type of a @@ -73,7 +73,7 @@ public interface IVariable extends IDebugElement, IValueModification { * status code contains the underlying exception responsible for * the failure. */ - public String getReferenceTypeName() throws DebugException; + String getReferenceTypeName() throws DebugException; /** * Returns whether this variable's value has changed since the last suspend event. @@ -89,7 +89,7 @@ public interface IVariable extends IDebugElement, IValueModification { * @exception DebugException if an exception occurs determining if this variable's * value has changed since the last suspend event */ - public boolean hasValueChanged() throws DebugException; + boolean hasValueChanged() throws DebugException; } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpression.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpression.java index fd5997861..7256fa9ff 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpression.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IWatchExpression.java @@ -38,7 +38,7 @@ public interface IWatchExpression extends IErrorReportingExpression { * evaluate even when it is disabled. Note that implementations should * generally be asynchronous to avoid blocking the calling thread. */ - public void evaluate(); + void evaluate(); /** * Sets the context for this watch expression, or 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

    */ - public static final String ID = "id"; //$NON-NLS-1$ + String ID = "id"; //$NON-NLS-1$ /** * The name node name for a configuration element. *

    Equal to the word: name

    */ - public static final String NAME = "name"; //$NON-NLS-1$ + String NAME = "name"; //$NON-NLS-1$ /** * The category node name for a configuration element. *

    Equal to the word: category

    */ - public static final String CATEGORY = "category"; //$NON-NLS-1$ + String CATEGORY = "category"; //$NON-NLS-1$ /** * The local node name for a configuration element. *

    Equal to the word: local

    */ - public static final String LOCAL = "local"; //$NON-NLS-1$ + String LOCAL = "local"; //$NON-NLS-1$ /** * The shortcutId node name for a configuration element. *

    Equal to the word: shortcutID

    */ - public static final String LAUNCH_SHORTCUT_ID = "shortcutID"; //$NON-NLS-1$ + String LAUNCH_SHORTCUT_ID = "shortcutID"; //$NON-NLS-1$ /** * The launchPerspectives node name for a configuration element. *

    Equal to the word: launchPerspectives

    */ - public static final String LAUNCH_PERSPECTIVES = "launchPerspectives"; //$NON-NLS-1$ + String LAUNCH_PERSPECTIVES = "launchPerspectives"; //$NON-NLS-1$ /** * The launchPerspective node name for a configuration element. *

    Equal to the word: launchPerspective

    */ - public static final String LAUNCH_PERSPECTIVE = "launchPerspective"; //$NON-NLS-1$ + String LAUNCH_PERSPECTIVE = "launchPerspective"; //$NON-NLS-1$ /** * The markerType node name for a configuration element. @@ -65,7 +65,7 @@ public interface IConfigurationElementConstants { * * @since 3.4 */ - public static final String MARKER_TYPE = "markerType"; //$NON-NLS-1$ + String MARKER_TYPE = "markerType"; //$NON-NLS-1$ /** * The delegateClass node name for a configuration element. @@ -73,31 +73,31 @@ public interface IConfigurationElementConstants { * * @since 3.4 */ - public static final String DELEGATE_CLASS = "delegateClass"; //$NON-NLS-1$ + String DELEGATE_CLASS = "delegateClass"; //$NON-NLS-1$ /** * The launchConfiguration node name for a configuration element. *

    Equal to the word: launchConfiguration

    */ - public static final String LAUNCH_CONFIGURATION = "launchConfiguration"; //$NON-NLS-1$ + String LAUNCH_CONFIGURATION = "launchConfiguration"; //$NON-NLS-1$ /** * The launchMode node name for a configuration element. *

    Equal to the word: launchMode

    */ - public static final String LAUNCH_MODE = "launchMode"; //$NON-NLS-1$ + String LAUNCH_MODE = "launchMode"; //$NON-NLS-1$ /** * The lastLaunch node name for a configuration element. *

    Equal to the word: lastLaunch

    */ - public static final String LAST_LAUNCH = "lastLaunch"; //$NON-NLS-1$ + String LAST_LAUNCH = "lastLaunch"; //$NON-NLS-1$ /** * The launch node name for a configuration element. *

    Equal to the word: launch

    */ - public static final String LAUNCH = "launch"; //$NON-NLS-1$ + String LAUNCH = "launch"; //$NON-NLS-1$ /** * The launch as label node name for a configuration element. @@ -105,169 +105,169 @@ public interface IConfigurationElementConstants { * * @since 3.4 */ - public static final String LAUNCH_AS_LABEL = "launchAsLabel"; //$NON-NLS-1$ + String LAUNCH_AS_LABEL = "launchAsLabel"; //$NON-NLS-1$ /** * The launchHistory node name for a configuration element. *

    Equal to the word: launchHistory

    */ - public static final String LAUNCH_HISTORY = "launchHistory"; //$NON-NLS-1$ + String LAUNCH_HISTORY = "launchHistory"; //$NON-NLS-1$ /** * The node name for a launch group configuration element. *

    Equal to the word: launchGroup

    */ - public static final String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$ + String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$ /** * The node name for a launch history MRU list configuration element. *

    Equal to the word: mruHistory

    */ - public static final String MRU_HISTORY = "mruHistory"; //$NON-NLS-1$ + String MRU_HISTORY = "mruHistory"; //$NON-NLS-1$ /** * The node name for a launch favorites list configuration element. *

    Equal to the word: favorites

    */ - public static final String FAVORITES = "favorites"; //$NON-NLS-1$ + String FAVORITES = "favorites"; //$NON-NLS-1$ /** * The after node name for a configuration element. *

    Equal to the word: after

    */ - public static final String AFTER = "after"; //$NON-NLS-1$ + String AFTER = "after"; //$NON-NLS-1$ /** * The path node name for a configuration element. *

    Equal to the word: path

    */ - public static final String PATH = "path"; //$NON-NLS-1$ + String PATH = "path"; //$NON-NLS-1$ /** * The placement node name for a configuration element. *

    Equal to the word: placement

    */ - public static final String PLACEMENT = "placement"; //$NON-NLS-1$ + String PLACEMENT = "placement"; //$NON-NLS-1$ /** * The associated launch delegate node name for a configuration element *

    Equal to the word: associatedDelegate

    */ - public static final String ASSOCIATED_DELEGATE = "associatedDelegate"; //$NON-NLS-1$ + String ASSOCIATED_DELEGATE = "associatedDelegate"; //$NON-NLS-1$ /** * The label node name for a configuration element. *

    Equal to the word: label

    */ - public static final String LABEL = "label"; //$NON-NLS-1$ + String LABEL = "label"; //$NON-NLS-1$ /** * The description node name for a configuration element. *

    Equal to the word: description

    */ - public static final String DESCRIPTION = "description"; //$NON-NLS-1$ + String DESCRIPTION = "description"; //$NON-NLS-1$ /** * The helpContextId node name for a configuration element. *

    Equal to the word: helpContextId

    */ - public static final String HELP_CONTEXT_ID = "helpContextId"; //$NON-NLS-1$ + String HELP_CONTEXT_ID = "helpContextId"; //$NON-NLS-1$ /** * The icon node name for a configuration element. *

    Equal to the word: icon

    */ - public static final String ICON = "icon"; //$NON-NLS-1$ + String ICON = "icon"; //$NON-NLS-1$ /** * The public node name for a configuration element *

    Equal to the word: public

    */ - public static final String PUBLIC = "public"; //$NON-NLS-1$ + String PUBLIC = "public"; //$NON-NLS-1$ /** * The perspective node name for a configuration element. *

    Equal to the word: perspective

    */ - public static final String PERSPECTIVE = "perspective"; //$NON-NLS-1$ + String PERSPECTIVE = "perspective"; //$NON-NLS-1$ /** * The preferredDelegates node name for a configuration element. *

    Equal to the word: preferredDelegates

    */ - public static final String PREFERRED_DELEGATES = "preferredDelegates"; //$NON-NLS-1$ + String PREFERRED_DELEGATES = "preferredDelegates"; //$NON-NLS-1$ /** * The modes node name for a configuration element. *

    Equal to the word: modes

    */ - public static final String MODES = "modes"; //$NON-NLS-1$ + String MODES = "modes"; //$NON-NLS-1$ /** * The modesCombination node name for a configuration element. *

    Equal to the word: modeCombination

    */ - public static final String MODE_COMBINATION = "modeCombination"; //$NON-NLS-1$ + String MODE_COMBINATION = "modeCombination"; //$NON-NLS-1$ /** * The mode node name for a configuration element. *

    Equal to the word: mode

    */ - public static final String MODE = "mode"; //$NON-NLS-1$ + String MODE = "mode"; //$NON-NLS-1$ /** * The type node name for a configuration element. *

    Equal to the word: type

    */ - public static final String TYPE = "type"; //$NON-NLS-1$ + String TYPE = "type"; //$NON-NLS-1$ /** * The typeid node name for a configuration element. *

    Equal to the word: typeid

    */ - public static final String TYPE_ID = "typeid"; //$NON-NLS-1$ + String TYPE_ID = "typeid"; //$NON-NLS-1$ /** * The option node name for a configuration element. *

    Equal to the word: options

    */ - public static final String OPTIONS = "options"; //$NON-NLS-1$ + String OPTIONS = "options"; //$NON-NLS-1$ /** * The delegate node name for a configuration element. *

    Equal to the word: delegate

    */ - public static final String DELEGATE = "delegate"; //$NON-NLS-1$ + String DELEGATE = "delegate"; //$NON-NLS-1$ /** * The participant node name for a configuration element. *

    Equal to the word: participant

    */ - public static final String PARTICIPANT = "participant"; //$NON-NLS-1$ + String PARTICIPANT = "participant"; //$NON-NLS-1$ /** * The defaultShortcut node name for a configuration element. *

    Equal to the word: defaultShortcut

    */ - public static final String DEFAULT_LAUNCH_SHORTCUT = "defaultShortcut"; //$NON-NLS-1$ + String DEFAULT_LAUNCH_SHORTCUT = "defaultShortcut"; //$NON-NLS-1$ /** * The delegateName node name for a configuration element. *

    Equal to the word: delegateName

    */ - public static final String DELEGATE_NAME = "delegateName"; //$NON-NLS-1$ + String DELEGATE_NAME = "delegateName"; //$NON-NLS-1$ /** * The group node name for a configuration element. *

    Equal to the word: group

    */ - public static final String GROUP = "group"; //$NON-NLS-1$ + String GROUP = "group"; //$NON-NLS-1$ /** * The class node name for a configuration element. *

    Equal to the word: class

    */ - public static final String CLASS = "class"; //$NON-NLS-1$ + String CLASS = "class"; //$NON-NLS-1$ /** * The modelIdentifier node name for a configuration element. @@ -275,73 +275,73 @@ public interface IConfigurationElementConstants { * * @since 3.4 */ - public static final String MODEL_IDENTIFIER = "modelIdentifier"; //$NON-NLS-1$ + String MODEL_IDENTIFIER = "modelIdentifier"; //$NON-NLS-1$ /** * The configurationTypes node name for a configuration element. *

    Equal to the word: configurationType

    */ - public static final String CONFIGURATION_TYPES = "configurationType"; //$NON-NLS-1$ + String CONFIGURATION_TYPES = "configurationType"; //$NON-NLS-1$ /** * The contextLabel node name for a configuration element. *

    Equal to the word: contextLabel

    */ - public static final String CONTEXT_LABEL = "contextLabel"; //$NON-NLS-1$ + String CONTEXT_LABEL = "contextLabel"; //$NON-NLS-1$ /** * The contextualLaunch node name for a configuration element. *

    Equal to the word: contextualLaunch

    */ - public static final String CONTEXTUAL_LAUNCH = "contextualLaunch"; //$NON-NLS-1$ + String CONTEXTUAL_LAUNCH = "contextualLaunch"; //$NON-NLS-1$ /** * The sourcePathComputerId node name for a configuration element. *

    Equal to the word: sourcePathComputerId

    */ - public static final String SOURCE_PATH_COMPUTER = "sourcePathComputerId"; //$NON-NLS-1$ + String SOURCE_PATH_COMPUTER = "sourcePathComputerId"; //$NON-NLS-1$ /** * The delegateDescription node name for a configuration element. *

    Equal to the word: delegateDescription

    */ - public static final String DELEGATE_DESCRIPTION = "delegateDescription"; //$NON-NLS-1$ + String DELEGATE_DESCRIPTION = "delegateDescription"; //$NON-NLS-1$ /** * The sourceLocatorId node name for a configuration element. *

    Equal to the word: sourceLocatorId

    */ - public static final String SOURCE_LOCATOR = "sourceLocatorId"; //$NON-NLS-1$ + String SOURCE_LOCATOR = "sourceLocatorId"; //$NON-NLS-1$ /** * The migrationDelegate node name for a configuration element. *

    Equal to the word: migrationDelegate

    */ - public static final String MIGRATION_DELEGATE = "migrationDelegate"; //$NON-NLS-1$ + String MIGRATION_DELEGATE = "migrationDelegate"; //$NON-NLS-1$ /** * The memento node name for a configuration element. *

    Equal to the word: memento

    */ - public static final String MEMENTO = "memento"; //$NON-NLS-1$ + String MEMENTO = "memento"; //$NON-NLS-1$ /** * The selection node name for a configuration element. *

    Equal to the word: selection

    */ - public static final String SELECTION = "selection"; //$NON-NLS-1$ + String SELECTION = "selection"; //$NON-NLS-1$ /** * The debugContext node name for a configuration element. *

    Equal to the word: debugContext

    */ - public static final String DEBUG_CONTEXT = "debugContext"; //$NON-NLS-1$ + String DEBUG_CONTEXT = "debugContext"; //$NON-NLS-1$ /** * The editorInput node name for a configuration element. *

    Equal to the word: editorInput

    */ - public static final String EDITOR_INPUT = "editorInput"; //$NON-NLS-1$ + String EDITOR_INPUT = "editorInput"; //$NON-NLS-1$ /** * The allowPrototypes node name for a configuration element @@ -351,5 +351,5 @@ public interface IConfigurationElementConstants { * * @since 3.12 */ - public static final String ALLOW_PROTOTYPES = "allowPrototypes"; //$NON-NLS-1$ + String ALLOW_PROTOTYPES = "allowPrototypes"; //$NON-NLS-1$ } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java index 11c359de7..92b012d0d 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java @@ -30,7 +30,7 @@ public interface IExpressionsListener2 extends IExpressionsListener { * @param expressions array of expressions to be moved * @param index the index the expressions will be added to, adjusted for moved expressions */ - public void expressionsMoved(IExpression[] expressions, int index); + void expressionsMoved(IExpression[] expressions, int index); /** * Fires the model delta necessary to update the viewer after one or more @@ -40,6 +40,6 @@ public interface IExpressionsListener2 extends IExpressionsListener { * @param expressions array of expressions to be moved * @param index the index the expressions will be added to */ - public void expressionsInserted(IExpression[] expressions, int index); + void expressionsInserted(IExpression[] expressions, int index); } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java index 16239c423..4c1ee042d 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java @@ -23,7 +23,7 @@ public interface IInternalDebugCoreConstants { /** * Represents the empty string */ - public static final String EMPTY_STRING = ""; //$NON-NLS-1$ + String EMPTY_STRING = ""; //$NON-NLS-1$ /** * Boolean preference controlling whether status handler extensions @@ -32,13 +32,13 @@ public interface IInternalDebugCoreConstants { * * @since 3.4.2 */ - public static final String PREF_ENABLE_STATUS_HANDLERS = DebugPlugin.getUniqueIdentifier() + ".PREF_ENABLE_STATUS_HANDLERS"; //$NON-NLS-1$ + String PREF_ENABLE_STATUS_HANDLERS = DebugPlugin.getUniqueIdentifier() + ".PREF_ENABLE_STATUS_HANDLERS"; //$NON-NLS-1$ /** * Persistence of breakpoint manager enabled state. * * @since 3.6 */ - public static final String PREF_BREAKPOINT_MANAGER_ENABLED_STATE = DebugPlugin.getUniqueIdentifier() + ".PREF_BREAKPOINT_MANAGER_ENABLED_STATE"; //$NON-NLS-1$ + String PREF_BREAKPOINT_MANAGER_ENABLED_STATE = DebugPlugin.getUniqueIdentifier() + ".PREF_BREAKPOINT_MANAGER_ENABLED_STATE"; //$NON-NLS-1$ } diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java index e0dfab43c..44cae6b07 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java @@ -13,20 +13,20 @@ package org.eclipse.debug.internal.core; public interface IMementoConstants { // These persistence constant is stored in XML. Do not // change it. - public static final String TAG_FACTORY_ID = "factoryID"; //$NON-NLS-1$ + String TAG_FACTORY_ID = "factoryID"; //$NON-NLS-1$ - public static final String TAG_EDITOR_STATE = "editorState"; //$NON-NLS-1$ + String TAG_EDITOR_STATE = "editorState"; //$NON-NLS-1$ - public static final String MEMENTO_ITEM = "item"; //$NON-NLS-1$ + String MEMENTO_ITEM = "item"; //$NON-NLS-1$ - public static final String TAG_EDIT_PAGE_ID = "editPageId"; //$NON-NLS-1$ + String TAG_EDIT_PAGE_ID = "editPageId"; //$NON-NLS-1$ - public static final String TAG_NAME = "name"; //$NON-NLS-1$ + String TAG_NAME = "name"; //$NON-NLS-1$ - public static final String TAG_LABEL = "label"; //$NON-NLS-1$ + String TAG_LABEL = "label"; //$NON-NLS-1$ - public static final String TAG_ID = "id"; //$NON-NLS-1$ + String TAG_ID = "id"; //$NON-NLS-1$ - public static final String TAG_LAUNCH_CONFIGURATION_WORKING_SET = "launchConfigurationWorkingSet"; //$NON-NLS-1$ + String TAG_LAUNCH_CONFIGURATION_WORKING_SET = "launchConfigurationWorkingSet"; //$NON-NLS-1$ } -- cgit v1.2.3