Compiler log for org.eclipse.ui.examples.job_3.0.0 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 7

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

/src/org/eclipse/ui/examples/jobs/actions/DebugJobManagerAction.java : 3 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/ui/examples/jobs/actions/DebugJobManagerAction.java
 (at line 13)
import org.eclipse.core.internal.jobs.JobManager;
Discouraged access: The type 'JobManager' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.jobs/target/classes')
2. WARNING in /src/org/eclipse/ui/examples/jobs/actions/DebugJobManagerAction.java
 (at line 45)
System.out.println("" + jobs[i].getClass().getName() + " state: " + JobManager.printState(jobs[i].getState())); //$NON-NLS-1$ //$NON-NLS-2$
Discouraged access: The type 'JobManager' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.jobs/target/classes')
3. WARNING in /src/org/eclipse/ui/examples/jobs/actions/DebugJobManagerAction.java
 (at line 45)
System.out.println("" + jobs[i].getClass().getName() + " state: " + JobManager.printState(jobs[i].getState())); //$NON-NLS-1$ //$NON-NLS-2$
Discouraged access: The method 'JobManager.printState(int)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.runtime/bundles/org.eclipse.core.jobs/target/classes')

/src/org/eclipse/ui/examples/jobs/BusyShowWhileDialog.java : 4 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/ui/examples/jobs/BusyShowWhileDialog.java
 (at line 24)
import org.eclipse.ui.internal.progress.ProgressManager;
Discouraged access: The type 'ProgressManager' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/target/classes')
2. WARNING in /src/org/eclipse/ui/examples/jobs/BusyShowWhileDialog.java
 (at line 49)
ProgressManager.getInstance().busyCursorWhile(new IRunnableWithProgress() {
Discouraged access: The type 'ProgressManager' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/target/classes')
3. WARNING in /src/org/eclipse/ui/examples/jobs/BusyShowWhileDialog.java
 (at line 49)
ProgressManager.getInstance().busyCursorWhile(new IRunnableWithProgress() {
Discouraged access: The method 'ProgressManager.getInstance()' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/target/classes')
4. WARNING in /src/org/eclipse/ui/examples/jobs/BusyShowWhileDialog.java
 (at line 49)
ProgressManager.getInstance().busyCursorWhile(new IRunnableWithProgress() { @Override public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { long time = System.currentTimeMillis(); long delay = PlatformUI.getWorkbench().getProgressService().getLongOperationTime(); long end = time + delay + delay; while (end > System.currentTimeMillis()) { final Shell myShell = BusyShowWhileDialog.this.getShell(); myShell.getDisplay().asyncExec(new Runnable() { @Override public void run() { if(myShell.isDisposed()) return; myShell.getDisplay().sleep(); myShell.setText(String.valueOf(System.currentTimeMillis())); } }); } } });
Discouraged access: The method 'ProgressManager.busyCursorWhile(IRunnableWithProgress)' is not API (restriction on classpath entry '/opt/public/eclipse/builds/4I/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/target/classes')