Compiler Report

Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2

Number of source files: 54 Number of classfiles: 60

Problems: 27 (Errors: 0 Warnings: 27 )

Source File: org/eclipse/jst/jee/ui/internal/deployables/EJBDeployableArtifactAdapterUtil.java
1. WARNING: LocalVariableIsNeverUsed

The local variable comp is never read

EJBDeployableArtifactAdapterUtil.java :

209 : IVirtualComponent comp = (IVirtualComponent)file.getAdapter(IVirtualComponent.class);

Source File: org/eclipse/jst/jee/ui/internal/deployables/WebDeployableArtifactUtil.java
1. WARNING: LocalVariableIsNeverUsed

The local variable exists is never read

WebDeployableArtifactUtil.java :

320 : boolean exists = false;

2. WARNING: LocalVariableIsNeverUsed

The local variable exists is never read

WebDeployableArtifactUtil.java :

359 : boolean exists = false;

Source File: org/eclipse/jst/jee/ui/internal/navigator/AppClient5LabelProvider.java
1. WARNING: NonStaticAccessToStaticMethod

The static method getImage() from the type GroupAppClientProvider should be accessed in a static way

AppClient5LabelProvider.java :

28 : ret = ((GroupAppClientProvider)element).getImage();

Source File: org/eclipse/jst/jee/ui/internal/navigator/Ear5ContentProvider.java
1. WARNING: NonStaticAccessToStaticMethod

The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way

Ear5ContentProvider.java :

148 : JEEUIPlugin.getDefault().logError(msg, e);

2. WARNING: NonStaticAccessToStaticMethod

The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way

Ear5ContentProvider.java :

168 : JEEUIPlugin.getDefault().logError(msg, e);

Source File: org/eclipse/jst/jee/ui/internal/navigator/Ear5LabelProvider.java
1. WARNING: NonStaticAccessToStaticMethod

The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way

Ear5LabelProvider.java :

55 : JEEUIPlugin.getDefault().logError(msg, e);

Source File: org/eclipse/jst/jee/ui/internal/navigator/Ejb3ContentProvider.java
1. WARNING: UnusedPrivateMethod

The method addSessionJNDIRefInfo(EntityBean, List) from the type Ejb3ContentProvider is never used locally

Ejb3ContentProvider.java :

140 : private void addSessionJNDIRefInfo(EntityBean eb, List children) {

Source File: org/eclipse/jst/jee/ui/internal/navigator/Ejb3LabelProvider.java
1. WARNING: UnusedPrivateField

The field Ejb3LabelProvider.delegateLabelProvider is never read locally

Ejb3LabelProvider.java :

48 : private AdapterFactoryLabelProvider delegateLabelProvider;

Source File: org/eclipse/jst/jee/ui/internal/navigator/JEE5ContentProvider.java
1. WARNING: LocalVariableIsNeverUsed

The local variable mObj is never read

JEE5ContentProvider.java :

52 : Object mObj = provider.getModelObject();

Source File: org/eclipse/jst/jee/ui/internal/navigator/dnd/AddProjectToEARDropAssistant.java
1. WARNING: LocalVariableIsNeverUsed

The local variable modelProvider is never read

AddProjectToEARDropAssistant.java :

181 : IModelProvider modelProvider = ModelProviderManager.getModelProvider(earProject);

2. WARNING: NonStaticAccessToStaticMethod

The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way

AddProjectToEARDropAssistant.java :

191 : JEEUIPlugin.getDefault().logError("Could not acquire model elements for project \""+earProject.getName()+"\".", null); //$NON-NLS-1$ //$NON-NLS-2$

Source File: org/eclipse/jst/jee/ui/internal/navigator/ear/ShowDepPropPageAction.java
1. WARNING: DiscouragedReference

Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.ui.workbench_3.4.0.I20080606-1300.jar

ShowDepPropPageAction.java :

21 : import org.eclipse.ui.internal.dialogs.PropertyDialog;

2. WARNING: DiscouragedReference

Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.ui.workbench_3.4.0.I20080606-1300.jar

ShowDepPropPageAction.java :

42 : PreferenceDialog dialog = PropertyDialog.createDialogOn(PlatformUI.getWorkbench().getActiveWorkbenchWindow().

3. WARNING: DiscouragedReference

Discouraged access: The method createDialogOn(Shell, String, Object) from the type PropertyDialog is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.ui.workbench_3.4.0.I20080606-1300.jar

ShowDepPropPageAction.java :

42 : PreferenceDialog dialog = PropertyDialog.createDialogOn(PlatformUI.getWorkbench().getActiveWorkbenchWindow(). getShell(), "org.eclipse.jst.j2ee.internal.J2EEDependenciesPage", earProject); //$NON-NLS-1$

Source File: org/eclipse/jst/jee/ui/internal/navigator/ejb/BeanInterfaceNode.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanInterfaceNode.java :

17 : import org.eclipse.jdt.internal.ui.JavaPluginImages;

2. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanInterfaceNode.java :

64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

3. WARNING: DiscouragedReference

Discouraged access: The method get(String) from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanInterfaceNode.java :

64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

4. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanInterfaceNode.java :

64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

5. WARNING: DiscouragedReference

Discouraged access: The field IMG_OBJS_CUNIT from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanInterfaceNode.java :

64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

Source File: org/eclipse/jst/jee/ui/internal/navigator/ejb/BeanNode.java
1. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanNode.java :

16 : import org.eclipse.jdt.internal.ui.JavaPluginImages;

2. WARNING: UnusedPrivateField

The field BeanNode.BEAN_OVR is never read locally

BeanNode.java :

35 : private static ImageDescriptor BEAN_OVR;

3. WARNING: UnusedPrivateField

The field BeanNode.WEB_SERVICE_OVR is never read locally

BeanNode.java :

36 : private static ImageDescriptor WEB_SERVICE_OVR;

4. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanNode.java :

75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

5. WARNING: DiscouragedReference

Discouraged access: The method get(String) from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanNode.java :

75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

6. WARNING: DiscouragedReference

Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanNode.java :

75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);

7. WARNING: DiscouragedReference

Discouraged access: The field IMG_OBJS_CUNIT from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.ui_3.4.0.v20080603-2000.jar

BeanNode.java :

75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);