Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1894,6 +1894,7 @@ public boolean canToggleBreakpointsWithEvent(IWorkbenchPart part, ISelection sel
* @return the type root or <code>null</code> if one cannot be derived
* @since 3.8
*/
@SuppressWarnings("deprecation")
private static String getCodeTemplate(ITextSelection textSelection, JavaEditor part) {
ITextViewer viewer = part.getViewer();
if (viewer == null) {
Expand All @@ -1905,6 +1906,7 @@ private static String getCodeTemplate(ITextSelection textSelection, JavaEditor p
return templateBuffer.get();
}

@SuppressWarnings("deprecation")
private static void doGetCodeTemplate(ITextSelection textSelection, JavaEditor part, ITextViewer viewer, TemplateContextType contextType, AtomicReference<String> templateBuffer) {
ITextEditor editor = getTextEditor(part);
if (editor == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public class JavaDebugContentAssistProcessor implements IContentAssistProcessor
private final IJavaDebugContentAssistContext fContext;
private ContentAssistant fAssistant;

@SuppressWarnings("deprecation")
public JavaDebugContentAssistProcessor(IJavaDebugContentAssistContext context) {
fContext = context;
TemplateContextType contextType= JavaPlugin.getDefault().getTemplateContextRegistry().getContextType(JavaContextType.ID_ALL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class JavaSnippetCompletionProcessor implements IContentAssistProcessor {
private char[] fProposalAutoActivationSet;
private ContentAssistant fAssistant;

@SuppressWarnings("deprecation")
public JavaSnippetCompletionProcessor(JavaSnippetEditor editor) {
fEditor= editor;
TemplateContextType contextType= JavaPlugin.getDefault().getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,7 @@ public boolean canStepWithFilters() {
/**
* @see org.eclipse.debug.core.model.IFilteredStep#stepWithFilters()
*/
@SuppressWarnings("deprecation")
@Override
public void stepWithFilters() throws DebugException {
((IJavaThread) getThread()).stepWithFilters();
Expand Down
Loading