From a9f9839cc9c7613a221179ecbad50c4c4bd57bf8 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sat, 30 Nov 2013 22:14:14 -0800 Subject: [PATCH] Added @noreference tag to logging methods. --- .../src/org/eclipse/cdt/ui/CUIPlugin.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java index bde3442859f..e7af7740240 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java @@ -312,14 +312,23 @@ public class CUIPlugin extends AbstractUIPlugin { return fgCPlugin; } + /** + * @noreference This method is not intended to be referenced by clients. + */ public static void log(Throwable e) { log("Error", e); //$NON-NLS-1$ } + /** + * @noreference This method is not intended to be referenced by clients. + */ public static void log(String message, Throwable e) { log(createErrorStatus(message, e)); } + /** + * @noreference This method is not intended to be referenced by clients. + */ public static void log(IStatus status) { getDefault().getLog().log(status); }