Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1
Number of source files: 394 Number of classfiles: 473
Problems: 85 (Errors: 0 Warnings: 85 )
Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
J2EEPlugin.java :
26 : import org.eclipse.core.internal.boot.PlatformURLConnection;
Discouraged access: The method getURLAsLocal() from the type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
J2EEPlugin.java :
312 : String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();
Discouraged access: The type PlatformURLConnection is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.equinox.common_3.5.0.v20090520-1800.jar
J2EEPlugin.java :
312 : String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
AWorkbenchMOFHelper.java :
22 : import org.eclipse.jem.internal.plugin.JavaEMFNature;
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
AWorkbenchMOFHelper.java :
39 : JavaEMFNature nature = getMOFNature(getProject());
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
AWorkbenchMOFHelper.java :
53 : public JavaEMFNature getMOFNature(IProject project) {
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
AWorkbenchMOFHelper.java :
76 : if (nature instanceof JavaEMFNature) {
Discouraged access: The type JavaEMFNature is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
AWorkbenchMOFHelper.java :
77 : return (JavaEMFNature) nature;
Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
19 : import org.eclipse.jem.internal.adapters.jdom.JDOMAdaptor;
Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ResourceUtil.java :
20 : import org.eclipse.jem.internal.java.adapters.ReadAdaptor;
Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
38 : JDOMAdaptor jdomAdapter = null;
Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ResourceUtil.java :
45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {
Discouraged access: The field TYPE_KEY from the type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ResourceUtil.java :
45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {
Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
45 : if ((a != null) && a.isAdapterForType(ReadAdaptor.TYPE_KEY) && (a instanceof JDOMAdaptor)) {
Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
46 : jdomAdapter = (JDOMAdaptor) a;
Discouraged access: The method getLineNo() from the type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
52 : int lineNo = jdomAdapter.getLineNo();
Discouraged access: The type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
53 : if (lineNo != JDOMAdaptor.INVALID_LINENO)
Discouraged access: The field INVALID_LINENO from the type JDOMAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
ResourceUtil.java :
53 : if (lineNo != JDOMAdaptor.INVALID_LINENO)
Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
CMPJavaChangeSynchronizationAdapter.java :
28 : import org.eclipse.jem.internal.adapters.jdom.JavaJDOMAdapterFactory;
Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
29 : import org.eclipse.jem.internal.java.adapters.ReadAdaptor;
Discouraged access: The type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
30 : import org.eclipse.jem.internal.java.adapters.ReflectionAdaptor;
Discouraged access: The type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
108 : case ReflectionAdaptor.EVENT :
Discouraged access: The field EVENT from the type ReflectionAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
108 : case ReflectionAdaptor.EVENT :
Null pointer access: The variable cmpAttributes can only be null at this location
CMPJavaChangeSynchronizationAdapter.java :
238 : if (cmpAttributes != null || !cmpAttributes.isEmpty()) {
Null pointer access: The variable cmpAttributes can only be null at this location
CMPJavaChangeSynchronizationAdapter.java :
271 : if (cmpAttributes != null || !cmpAttributes.isEmpty()) {
Dead code
CMPJavaChangeSynchronizationAdapter.java :
307 : newTarget.eAdapters().remove(this);
Discouraged access: The type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
366 : AdapterFactory factory = EcoreUtil.getAdapterFactory(adapterFactories, ReadAdaptor.TYPE_KEY);
Discouraged access: The field TYPE_KEY from the type ReadAdaptor is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
CMPJavaChangeSynchronizationAdapter.java :
366 : AdapterFactory factory = EcoreUtil.getAdapterFactory(adapterFactories, ReadAdaptor.TYPE_KEY);
Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
CMPJavaChangeSynchronizationAdapter.java :
367 : if (factory instanceof JavaJDOMAdapterFactory) {
Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
CMPJavaChangeSynchronizationAdapter.java :
368 : JavaJDOMAdapterFactory javaFactory = (JavaJDOMAdapterFactory) factory;
Discouraged access: The type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
CMPJavaChangeSynchronizationAdapter.java :
368 : JavaJDOMAdapterFactory javaFactory = (JavaJDOMAdapterFactory) factory;
Discouraged access: The method flushReflectionNoNotification(String) from the type JavaJDOMAdapterFactory is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
CMPJavaChangeSynchronizationAdapter.java :
369 : javaFactory.flushReflectionNoNotification(primaryKeyClass.getQualifiedName());
Discouraged access: The type ClasspathEntry 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
UpdateProjectClasspath.java :
25 : import org.eclipse.jdt.internal.core.ClasspathEntry;
Discouraged access: The type ClasspathEntry 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
UpdateProjectClasspath.java :
54 : ((ClasspathEntry)classpath[i]).specificOutputLocation = newOutputPath;
Discouraged access: The field specificOutputLocation from the type ClasspathEntry 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
UpdateProjectClasspath.java :
54 : ((ClasspathEntry)classpath[i]).specificOutputLocation = newOutputPath;
The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used
JARDependencyDataModelProperties.java :
14 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;
The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used
JARDependencyDataModelProvider.java :
28 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;
The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used
JARDependencyOperation.java :
44 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;
The local variable buildPathOperation is never read
JARDependencyOperation.java :
74 : IHeadlessRunnableWithProgress buildPathOperation = createBuildPathOperation(model);
The import org.eclipse.jdt.core.ICodeAssist is never used
JavaModelUtil.java :
34 : import org.eclipse.jdt.core.ICodeAssist;
The import org.eclipse.jdt.core.IOpenable is never used
JavaModelUtil.java :
41 : import org.eclipse.jdt.core.IOpenable;
The import org.eclipse.jdt.core.IParent is never used
JavaModelUtil.java :
44 : import org.eclipse.jdt.core.IParent;
The import org.eclipse.jdt.core.ISourceReference is never used
JavaModelUtil.java :
45 : import org.eclipse.jdt.core.ISourceReference;
The import java.lang.reflect.InvocationTargetException is never used
NewJavaClassOperation.java :
26 : import java.lang.reflect.InvocationTargetException;
The import org.eclipse.core.commands.operations.AbstractOperation is never used
NewJavaClassOperation.java :
31 : import org.eclipse.core.commands.operations.AbstractOperation;
The import java.lang.reflect.InvocationTargetException is never used
UpdateJavaBuildPathOperation.java :
13 : import java.lang.reflect.InvocationTargetException;
The import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15 is never used
UpdateJavaBuildPathOperation.java :
31 : import org.eclipse.wst.common.frameworks.internal.DoNotUseMeThisWillBeDeletedPost15;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
EjbRefItemProvider.java :
28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
EnvEntryItemProvider.java :
28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
ResourceEnvRefItemProvider.java :
28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
ResourceRefItemProvider.java :
28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.command.AddCommand is never used
RunAsSpecifiedIdentityItemProvider.java :
24 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
RunAsSpecifiedIdentityItemProvider.java :
25 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
SecurityRoleItemProvider.java :
28 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
SecurityRoleRefItemProvider.java :
26 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The local variable module is never read
AddComponentToEnterpriseApplicationOp.java :
186 : Module module = (Module) mod;
Discouraged access: The type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ModulemapPackageImpl.java :
19 : import org.eclipse.jem.java.internal.impl.JavaRefPackageImpl;
Discouraged access: The type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ModulemapPackageImpl.java :
70 : JavaRefPackageImpl.init();
Discouraged access: The method init() from the type JavaRefPackageImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ModulemapPackageImpl.java :
70 : JavaRefPackageImpl.init();
The local variable ddPath is never read
JavaEEBinaryComponentHelper.java :
224 : IPath ddPath = null;
The local variable legacyCount is never read
JavaEEBinaryComponentHelper.java :
302 : int legacyCount = 0;
Discouraged access: The type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
26 : import org.eclipse.jem.internal.plugin.JavaProjectInfo;
Discouraged access: The type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
33 : public class J2EEJavaProjectInfo extends JavaProjectInfo {
Discouraged access: The constructor JavaProjectInfo() is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
50 : super();
Discouraged access: The constructor JavaProjectInfo() is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
57 : super();
Discouraged access: The field DEFAULT_JAVA_OUTPUT_PATH from the type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
237 : return DEFAULT_JAVA_OUTPUT_PATH;
Discouraged access: The method getSourcePath() from the type JavaProjectInfo is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
J2EEJavaProjectInfo.java :
264 : return Path.ROOT.append(getProjectPath()).append(getSourcePath()).toString();
Discouraged access: The type ResourceStatus is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
17 : import org.eclipse.core.internal.resources.ResourceStatus;
Discouraged access: The type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
18 : import org.eclipse.core.internal.utils.Messages;
Discouraged access: The type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
292 : String message = NLS.bind(Messages.resources_invalidCharInName, "#", folderName); //$NON-NLS-1$
Discouraged access: The field resources_invalidCharInName from the type Messages is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
292 : String message = NLS.bind(Messages.resources_invalidCharInName, "#", folderName); //$NON-NLS-1$
Discouraged access: The constructor ResourceStatus(int, IPath, String) is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
293 : status = new ResourceStatus(IResourceStatus.INVALID_VALUE, null, message);
Discouraged access: The type ResourceStatus is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
J2EEModuleFacetInstallDataModelProvider.java :
293 : status = new ResourceStatus(IResourceStatus.INVALID_VALUE, null, message);
The import org.eclipse.emf.edit.command.AddCommand is never used
ApplicationItemProvider.java :
22 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
ApplicationItemProvider.java :
23 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
ApplicationClientItemProvider.java :
25 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
ApplicationClientItemProvider.java :
26 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
EARProjectMapItemProvider.java :
23 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
EARProjectMapItemProvider.java :
24 : import org.eclipse.emf.edit.command.RemoveCommand;
The local variable c is never read
AppClientFacetInstallDelegate.java :
61 : final IVirtualComponent c = createFlexibleProject(monitor, project, model, jproj, fv);
The local variable runtimePath is never read
ClasspathDependencyUtil.java :
480 : final IPath runtimePath = ref.getRuntimePath();
Discouraged access: The type ResourceException is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
DeleteEJBClientProjectChange.java :
14 : import org.eclipse.core.internal.resources.ResourceException;
Discouraged access: The type ResourceException is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/eclipse/plugins/org.eclipse.core.resources_3.5.0.v20090512.jar
DeleteEJBClientProjectChange.java :
38 : }catch(ResourceException e){
The local variable dependentComp is never read
NonEARModuleReferenceRemoveChange.java :
168 : final IVirtualComponent dependentComp = referencingModuleProjectComp;
The local variable webLibDep is never read
NonEARModuleReferenceRemoveChange.java :
173 : final boolean webLibDep = hasWebLibDependency(ref);