Skip to content

Commit 1895fa0

Browse files
committed
Mark deprecated methods and constants for removal
This commit marks unused deprecated methods and constants for removal.
1 parent 11a1333 commit 1895fa0

File tree

10 files changed

+22
-15
lines changed

10 files changed

+22
-15
lines changed

debug/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/InputStreamMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public InputStreamMonitor(OutputStream stream, Charset charset) {
9595
* @deprecated use {@link #InputStreamMonitor(OutputStream, Charset)}
9696
* instead
9797
*/
98-
@Deprecated
98+
@Deprecated(forRemoval = true, since = "2025-09")
9999
public InputStreamMonitor(OutputStream stream, String encoding) {
100100
this(stream, Charset.forName(encoding));
101101
}

debug/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/OutputStreamMonitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public OutputStreamMonitor(InputStream stream, Charset charset) {
115115
* @deprecated use {@link #OutputStreamMonitor(InputStream, Charset)}
116116
* instead
117117
*/
118-
@Deprecated
118+
@Deprecated(forRemoval = true, since = "2025-09")
119119
public OutputStreamMonitor(InputStream stream, String encoding) {
120120
this(stream, Charset.forName(encoding));
121121
}

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ public interface IInternalDebugUIConstants {
363363
* @deprecated There is an API equivalent constant that should be used, see
364364
* {@link IDebugUIConstants#BREAKPOINT_WORKINGSET_ID}
365365
*/
366-
@Deprecated String ID_BREAKPOINT_WORKINGSET = "org.eclipse.debug.ui.breakpointWorkingSet"; //$NON-NLS-1$
366+
@Deprecated(forRemoval = true, since = "2025-09")
367+
String ID_BREAKPOINT_WORKINGSET = "org.eclipse.debug.ui.breakpointWorkingSet"; //$NON-NLS-1$
367368

368369

369370
/**

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static ContextRunner getDefault() {
8181
* @param group the launch group to launch using
8282
* @deprecated use launch(ILaunchGroup, boolean)
8383
*/
84-
@Deprecated
84+
@Deprecated(forRemoval = true, since = "2025-09")
8585
public void launch(ILaunchGroup group) {
8686
launch(group, false);
8787
}
@@ -108,7 +108,7 @@ public void launch(ILaunchGroup group, boolean isShift) {
108108
* otherwise
109109
* @deprecated use launchLast(ILaunchGroup, boolean)
110110
*/
111-
@Deprecated
111+
@Deprecated(forRemoval = true, since = "2025-09")
112112
protected boolean launchLast(ILaunchGroup group) {
113113
return launchLast(group, false);
114114
}
@@ -144,7 +144,7 @@ protected boolean launchLast(ILaunchGroup group, boolean isShift) {
144144
* @deprecated use selectAndLaunch(IResource, ILaunchGroup,
145145
* IStructuredSelection, boolean)
146146
*/
147-
@Deprecated
147+
@Deprecated(forRemoval = true, since = "2025-09")
148148
protected void selectAndLaunch(IResource resource, ILaunchGroup group, IStructuredSelection selection) {
149149
selectAndLaunch(resource, group, selection, false);
150150
}

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/IDebugPreferenceConstants.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ public interface IDebugPreferenceConstants {
4343
/**
4444
* @deprecated use IDebugUIConstants.PREF_MEMORY_HISTORY_UNKNOWN_COLOR instead
4545
*/
46-
@Deprecated String MEMORY_VIEW_UNBUFFERED_LINE_COLOR = IDebugUIConstants.PLUGIN_ID + ".MemoryViewLineColor"; //$NON-NLS-1$
46+
@Deprecated(forRemoval = true, since = "2025-09")
47+
String MEMORY_VIEW_UNBUFFERED_LINE_COLOR = IDebugUIConstants.PLUGIN_ID + ".MemoryViewLineColor"; //$NON-NLS-1$
4748

4849
/**
4950
* @deprecated use IDebugUIConstants.PREF_MEMORY_HISTORY_KNOWN_COLOR instead
5051
*/
51-
@Deprecated String MEMORY_VIEW_BUFFERED_LINE_COLOR = IDebugUIConstants.PLUGIN_ID + ".MemoryViewBufferedLineColor"; //$NON-NLS-1$
52+
@Deprecated(forRemoval = true, since = "2025-09")
53+
String MEMORY_VIEW_BUFFERED_LINE_COLOR = IDebugUIConstants.PLUGIN_ID + ".MemoryViewBufferedLineColor"; //$NON-NLS-1$
5254

5355
/**
5456
* (boolean) Whether or not the text in the console will wrap
@@ -136,7 +138,8 @@ public interface IDebugPreferenceConstants {
136138
*
137139
* @deprecated no longer supported
138140
*/
139-
@Deprecated String PREF_LAST_LAUNCH_CONFIGURATION_SELECTION = IDebugUIConstants.PLUGIN_ID + ".lastLaunchConfigSelection"; //$NON-NLS-1$
141+
@Deprecated(forRemoval = true, since = "2025-09")
142+
String PREF_LAST_LAUNCH_CONFIGURATION_SELECTION = IDebugUIConstants.PLUGIN_ID + ".lastLaunchConfigSelection"; //$NON-NLS-1$
140143

141144
/**
142145
* The maximum size of the launch history list

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ protected void createContextMenu(Control menuControl) {
572572
*
573573
* @deprecated
574574
*/
575-
@Deprecated
575+
@Deprecated(forRemoval = true, since = "2025-09")
576576
@Override
577577
public IMenuManager getContextMenuManager() {
578578
if (fContextMenuManagers != null) {

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ public static boolean saveAndBuildBeforeLaunch() {
763763
* saving of resources that are only involved in the current launch,
764764
* no longer the entire workspace
765765
*/
766-
@Deprecated
766+
@Deprecated(forRemoval = true, since = "2025-09")
767767
public static boolean saveBeforeLaunch() {
768768
return DebugUIPlugin.preLaunchSave();
769769
}

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ public interface IDebugUIConstants {
199199
* @since 2.0
200200
* @deprecated no longer used
201201
*/
202-
@Deprecated String PREF_SHOW_TYPE_NAMES = PLUGIN_ID + ".show_type_names"; //$NON-NLS-1$
202+
@Deprecated(forRemoval = true, since = "2025-09")
203+
String PREF_SHOW_TYPE_NAMES = PLUGIN_ID + ".show_type_names"; //$NON-NLS-1$
203204

204205
/**
205206
* Boolean preference controlling whether the debugger shows the detail pane
@@ -209,7 +210,8 @@ public interface IDebugUIConstants {
209210
* @since 2.0
210211
* @deprecated no longer used
211212
*/
212-
@Deprecated String PREF_SHOW_DETAIL_PANE = PLUGIN_ID + ".show_detail_pane"; //$NON-NLS-1$
213+
@Deprecated(forRemoval = true, since = "2025-09")
214+
String PREF_SHOW_DETAIL_PANE = PLUGIN_ID + ".show_detail_pane"; //$NON-NLS-1$
213215

214216
/**
215217
* Boolean preference controlling whether the debugger will force activate the active

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public interface ILaunchConfigurationDialog extends IRunnableContext {
3838
* @deprecated the launch dialog no longer supports launching without
3939
* opening - this constant will never be returned by the dialog
4040
*/
41-
@Deprecated int LAUNCHED_BEFORE_OPENING = 2;
41+
@Deprecated(forRemoval = true, since = "2025-09")
42+
int LAUNCHED_BEFORE_OPENING = 2;
4243

4344
/**
4445
* Adjusts the enable state of this dialog's buttons

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public void init(IWorkbenchWindow window) {
530530
* for clients of the debug platform. Instead, use <code>getHistory()</code>,
531531
* <code>getFavorites()</code>, and <code>getLastLaunch()</code>.
532532
*/
533-
@Deprecated
533+
@Deprecated(forRemoval = true, since = "2025-09")
534534
protected LaunchHistory getLaunchHistory() {
535535
return getLaunchConfigurationManager().getLaunchHistory(getLaunchGroupIdentifier());
536536
}

0 commit comments

Comments
 (0)