Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1
Number of source files: 56 Number of classfiles: 63
Problems: 53 (Errors: 0 Warnings: 53 )
The local variable comp is never read
EJBDeployableArtifactAdapterUtil.java :
209 : IVirtualComponent comp = (IVirtualComponent)file.getAdapter(IVirtualComponent.class);
The local variable exists is never read
WebDeployableArtifactUtil.java :
320 : boolean exists = false;
The local variable exists is never read
WebDeployableArtifactUtil.java :
359 : boolean exists = false;
The local variable libDir is never read
Ear5ContentProvider.java :
133 : String libDir = EAR_DEFAULT_LIB;
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
Ear5ContentProvider.java :
156 : JEEUIPlugin.getDefault().logError(msg, e);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
Ear5ContentProvider.java :
175 : JEEUIPlugin.getDefault().logError(msg, e);
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);
The method addSessionJNDIRefInfo(EntityBean, List) from the type Ejb3ContentProvider is never used locally
Ejb3ContentProvider.java :
138 : private void addSessionJNDIRefInfo(EntityBean eb, List children) {
The field Ejb3LabelProvider.delegateLabelProvider is never read locally
Ejb3LabelProvider.java :
48 : private AdapterFactoryLabelProvider delegateLabelProvider;
Discouraged access: The type WorkbenchNavigatorMessages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.0.I20090525-2000.jar
JEEActionProvider.java :
42 : import org.eclipse.ui.internal.navigator.resources.plugin.WorkbenchNavigatorMessages;
Discouraged access: The type WorkbenchNavigatorMessages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.0.I20090525-2000.jar
JEEActionProvider.java :
196 : IMenuManager submenu= new MenuManager(WorkbenchNavigatorMessages.OpenActionProvider_OpenWithMenu_label,
Discouraged access: The field OpenActionProvider_OpenWithMenu_label from the type WorkbenchNavigatorMessages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.0.I20090525-2000.jar
JEEActionProvider.java :
196 : IMenuManager submenu= new MenuManager(WorkbenchNavigatorMessages.OpenActionProvider_OpenWithMenu_label,
The local variable component is never read
JEEActionProvider.java :
215 : IVirtualComponent component = ((ComponentArchiveOptions) options)
Discouraged access: The type EditorUtility is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
OpenJEEResourceAction.java :
26 : import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility;
Discouraged access: The type EditorUtility is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
OpenJEEResourceAction.java :
250 : EditorUtility.openInEditor(cu);
Discouraged access: The method openInEditor(Object) from the type EditorUtility is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
OpenJEEResourceAction.java :
250 : EditorUtility.openInEditor(cu);
The method getModel() from the type GroupAppClientProvider is never used locally
GroupAppClientProvider.java :
56 : private ApplicationClient getModel() {
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
34 : import org.eclipse.jdt.internal.core.JarPackageFragmentRoot;
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
154 : if (sourceObject instanceof JarPackageFragmentRoot) {
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
155 : JarPackageFragmentRoot jarPackageFragment = (JarPackageFragmentRoot) sourceObject;
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
155 : JarPackageFragmentRoot jarPackageFragment = (JarPackageFragmentRoot) sourceObject;
Discouraged access: The method getPath() from the type PackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
158 : IVirtualComponent archive = ComponentCore.createArchiveComponent(earComponent.getProject(), type + jarPackageFragment.getPath().toString());
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
244 : if (next instanceof JarPackageFragmentRoot) {
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
245 : JarPackageFragmentRoot jar = (JarPackageFragmentRoot) next;
Discouraged access: The type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
245 : JarPackageFragmentRoot jar = (JarPackageFragmentRoot) next;
Discouraged access: The method getElementName() from the type JarPackageFragmentRoot is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.core_3.5.0.v_963.jar
AddProjectToEARDropAssistant.java :
247 : if (reference.getArchiveName().equals(jar.getElementName())) {
The local variable modelProvider is never read
AddProjectToEARDropAssistant.java :
317 : IModelProvider modelProvider = ModelProviderManager.getModelProvider(earProject);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
326 : JEEUIPlugin.getDefault().logError("Could not acquire model elements for project \"" + earProject.getName() + "\".", null); //$NON-NLS-1$ //$NON-NLS-2$
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
330 : JEEUIPlugin.getDefault().logError(msg, e1);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
346 : JEEUIPlugin.getDefault().logError(msg, e1);
The local variable k is never read
AddProjectToEARDropAssistant.java :
490 : int k = 0;
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
513 : JEEUIPlugin.getDefault().logError(msg, e);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
530 : JEEUIPlugin.getDefault().logError(msg, e);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
556 : JEEUIPlugin.getDefault().logError(msg, e);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
AddProjectToEARDropAssistant.java :
584 : JEEUIPlugin.getDefault().logError(msg, e);
The local variable k is never read
AddProjectToEARDropAssistant.java :
591 : int k = 0;
The local variable projectComponent is never read
GroupEARProvider.java :
75 : IVirtualComponent projectComponent = ComponentCore.createComponent(project);
The static method logError(String, Exception) from the type JEEUIPlugin should be accessed in a static way
GroupEARProvider.java :
98 : JEEUIPlugin.getDefault().logError(msg, e);
Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
ShowDepPropPageAction.java :
21 : import org.eclipse.ui.internal.dialogs.PropertyDialog;
Discouraged access: The type PropertyDialog is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
ShowDepPropPageAction.java :
42 : PreferenceDialog dialog = PropertyDialog.createDialogOn(PlatformUI.getWorkbench().getActiveWorkbenchWindow().
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.1-S/eclipse/plugins/org.eclipse.ui.workbench_3.5.0.I20090603-2000.jar
ShowDepPropPageAction.java :
42 : PreferenceDialog dialog = PropertyDialog.createDialogOn(PlatformUI.getWorkbench().getActiveWorkbenchWindow(). getShell(), "org.eclipse.jst.j2ee.internal.J2EEDependenciesPage", earProject); //$NON-NLS-1$
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanInterfaceNode.java :
17 : import org.eclipse.jdt.internal.ui.JavaPluginImages;
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanInterfaceNode.java :
64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
Discouraged access: The method get(String) from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanInterfaceNode.java :
64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanInterfaceNode.java :
64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
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.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanInterfaceNode.java :
64 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanNode.java :
16 : import org.eclipse.jdt.internal.ui.JavaPluginImages;
The field BeanNode.BEAN_OVR is never read locally
BeanNode.java :
35 : private static ImageDescriptor BEAN_OVR;
The field BeanNode.WEB_SERVICE_OVR is never read locally
BeanNode.java :
36 : private static ImageDescriptor WEB_SERVICE_OVR;
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanNode.java :
75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
Discouraged access: The method get(String) from the type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanNode.java :
75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
Discouraged access: The type JavaPluginImages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanNode.java :
75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);
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.1-S/eclipse/plugins/org.eclipse.jdt.ui_3.5.0.v20090604.jar
BeanNode.java :
75 : return JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CUNIT);