1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Added @noreference tag to logging methods.

This commit is contained in:
Sergey Prigogin 2013-11-30 22:14:14 -08:00
parent c9909363f9
commit a9f9839cc9

View file

@ -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);
}