Compiler log for org.eclipse.e4.ui.examples.css.rcp_0.9.1.v20101201-1400 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 45

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/e4/ui/examples/css/rcp/Application.java : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 13)
import org.eclipse.e4.ui.css.swt.theme.IThemeEngine;
The import org.eclipse.e4.ui.css.swt.theme.IThemeEngine is never used
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 14)
import org.eclipse.e4.ui.css.swt.theme.IThemeManager;
The import org.eclipse.e4.ui.css.swt.theme.IThemeManager is never used
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 20)
import org.osgi.framework.Bundle;
The import org.osgi.framework.Bundle is never used
4. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 21)
import org.osgi.framework.BundleContext;
The import org.osgi.framework.BundleContext is never used
5. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 22)
import org.osgi.framework.FrameworkUtil;
The import org.osgi.framework.FrameworkUtil is never used
6. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 23)
import org.osgi.framework.ServiceReference;
The import org.osgi.framework.ServiceReference is never used

/src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java : 13 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 13)
import org.eclipse.e4.ui.css.core.engine.CSSEngine;
The import org.eclipse.e4.ui.css.core.engine.CSSEngine is never used
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 52)
ServiceReference serviceRef = context
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 54)
IThemeManager themeManager = (IThemeManager) context .getService(serviceRef);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
4. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 55)
.getService(serviceRef);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>

/src/org/eclipse/e4/ui/examples/css/rcp/MarkAsReadAction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/MarkAsReadAction.java
 (at line 37)
IWorkbenchPart part = window.getActivePage().getActivePart();
The local variable part is never read

/src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 55)
private ArrayList children;
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 58)
children = new ArrayList();
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 61)
children.add(child);
Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 69)
return (TreeObject[]) children.toArray(new TreeObject[children.size()]);
Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized

/src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java : 12 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 27)
ServiceReference ref = context.getServiceReference(IThemeManager.class
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 29)
IThemeManager manager = (IThemeManager) context.getService(ref);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 29)
IThemeManager manager = (IThemeManager) context.getService(ref);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings

/src/org/eclipse/e4/ui/examples/css/rcp/Application.java : 8 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 13)
import org.eclipse.e4.ui.css.swt.theme.IThemeEngine;
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/Application.java
 (at line 14)
import org.eclipse.e4.ui.css.swt.theme.IThemeManager;
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar

/src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java : 13 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 13)
import org.eclipse.e4.ui.css.core.engine.CSSEngine;
Discouraged access: The type CSSEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.core_0.9.0.v20101201-1400.jar
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 14)
import org.eclipse.e4.ui.css.swt.theme.IThemeEngine;
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 15)
import org.eclipse.e4.ui.css.swt.theme.IThemeManager;
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
4. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 53)
.getServiceReference(IThemeManager.class.getName());
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
5. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 54)
IThemeManager themeManager = (IThemeManager) context
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
6. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 54)
IThemeManager themeManager = (IThemeManager) context
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
7. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 57)
final IThemeEngine engine = themeManager.getEngineForDisplay(Display
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
8. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 57)
final IThemeEngine engine = themeManager.getEngineForDisplay(Display .getCurrent());
Discouraged access: The method getEngineForDisplay(Display) from the type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
9. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/ApplicationWorkbenchAdvisor.java
 (at line 59)
engine.setTheme("org.eclipse.e4.ui.examples.css.rcp", true);
Discouraged access: The method setTheme(String, boolean) from the type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar

/src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java : 7 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 15)
import org.eclipse.e4.ui.css.swt.CSSSWTConstants;
Discouraged access: The type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 166)
widget.setData(CSSSWTConstants.CSS_ID_KEY, name);
Discouraged access: The type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/NavigationView.java
 (at line 166)
widget.setData(CSSSWTConstants.CSS_ID_KEY, name);
Discouraged access: The field CSS_ID_KEY from the type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar

/src/org/eclipse/e4/ui/examples/css/rcp/View.java : 3 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/View.java
 (at line 13)
import org.eclipse.e4.ui.css.swt.CSSSWTConstants;
Discouraged access: The type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/View.java
 (at line 117)
widget.setData(CSSSWTConstants.CSS_CLASS_NAME_KEY, name);
Discouraged access: The type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/View.java
 (at line 117)
widget.setData(CSSSWTConstants.CSS_CLASS_NAME_KEY, name);
Discouraged access: The field CSS_CLASS_NAME_KEY from the type CSSSWTConstants is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt_0.9.1.v20101201-1400.jar

/src/org/eclipse/e4/ui/examples/css/rcp/handler/SwitchTheme.java : 1 warning :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/handler/SwitchTheme.java
 (at line 24)
ThemeHelper.getEngine().setTheme(themeId, true);
Discouraged access: The method setTheme(String, boolean) from the type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar

/src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java : 12 warnings :

DISCOURAGED ACCESS WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 4)
import org.eclipse.e4.ui.css.swt.theme.IThemeEngine;
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
2. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 5)
import org.eclipse.e4.ui.css.swt.theme.IThemeManager;
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
3. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 14)
private static IThemeEngine engine = null;
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
4. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 17)
public static IThemeEngine getEngine() {
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
5. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 24)
private static IThemeEngine getThemeEngine() {
Discouraged access: The type IThemeEngine is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
6. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 27)
ServiceReference ref = context.getServiceReference(IThemeManager.class
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
7. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 29)
IThemeManager manager = (IThemeManager) context.getService(ref);
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
8. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 29)
IThemeManager manager = (IThemeManager) context.getService(ref);
Discouraged access: The type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar
9. WARNING in /src/org/eclipse/e4/ui/examples/css/rcp/theme/ThemeHelper.java
 (at line 31)
return manager.getEngineForDisplay(PlatformUI.getWorkbench() .getActiveWorkbenchWindow() == null ? Display.getCurrent() : PlatformUI.getWorkbench().getActiveWorkbenchWindow() .getShell().getDisplay());
Discouraged access: The method getEngineForDisplay(Display) from the type IThemeManager is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110118/plugins/org.eclipse.e4.ui.css.swt.theme_0.9.0.v20100723-1830.jar