Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1
Number of source files: 110 Number of classfiles: 125
Problems: 57 (Errors: 0 Warnings: 57 )
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
AddEnterpriseBeanOperation.java :
14 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
AddMessageDrivenBeanOperation.java :
14 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
AddSessionBeanOperation.java :
14 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The import org.eclipse.jst.j2ee.internal.common.operations.INewJavaClassDataModelProperties is never used
INewSessionBeanClassDataModelProperties.java :
13 : import org.eclipse.jst.j2ee.internal.common.operations.INewJavaClassDataModelProperties;
The local variable unimplementedMethods is never read
MessageDrivenBeanTemplate.java :
262 : Collection<Method> unimplementedMethods = model.getUnimplementedMethods();
The import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider is never used
NewEnterpriseBeanClassDataModelProvider.java :
36 : import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider;
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
NewEnterpriseBeanClassOperation.java :
19 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The import org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassDataModelProvider is never used
NewMessageDrivenBeanClassDataModelProvider.java :
24 : import org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassDataModelProvider;
The import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider is never used
NewMessageDrivenBeanClassDataModelProvider.java :
29 : import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider;
The local variable interfaces is never read
NewMessageDrivenBeanClassDataModelProvider.java :
146 : List<String> interfaces = (List<String>) getProperty(INTERFACES);
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
NewMessageDrivenBeanClassOperation.java :
18 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The local variable aFile is never read
NewMessageDrivenBeanClassOperation.java :
100 : IFile aFile = createJavaFile(monitor, fragment, source, javaFileName);
The import org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassDataModelProvider is never used
NewSessionBeanClassDataModelProvider.java :
48 : import org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassDataModelProvider;
The import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider is never used
NewSessionBeanClassDataModelProvider.java :
54 : import org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider;
The local variable status is never read
NewSessionBeanClassDataModelProvider.java :
300 : IStatus status = null;
The import java.lang.reflect.InvocationTargetException is never used
NewSessionBeanClassOperation.java :
19 : import java.lang.reflect.InvocationTargetException;
The import org.eclipse.jst.j2ee.internal.common.operations.INewJavaClassDataModelProperties is never used
NewSessionBeanClassOperation.java :
45 : import org.eclipse.jst.j2ee.internal.common.operations.INewJavaClassDataModelProperties;
The import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation is never used
NewSessionBeanClassOperation.java :
48 : import org.eclipse.wst.common.componentcore.internal.operation.ArtifactEditProviderOperation;
The local variable project is never read
NewSessionBeanClassOperation.java :
171 : IProject project = getTargetProject();
The local variable aFile is never read
NewSessionBeanClassOperation.java :
185 : IFile aFile = createJavaFile(monitor, fragment, source, javaFileName);
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
EjbPlugin.java :
17 : 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
EjbPlugin.java :
79 : 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
EjbPlugin.java :
79 : String installLocation = ((PlatformURLConnection) url.openConnection()).getURLAsLocal().getFile();
The import org.eclipse.emf.edit.command.AddCommand is never used
AssemblyDescriptorItemProvider.java :
24 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
AssemblyDescriptorItemProvider.java :
25 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
EJBRelationItemProvider.java :
23 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
EJBRelationItemProvider.java :
24 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
EJBRelationshipRoleItemProvider.java :
25 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
EJBRelationshipRoleItemProvider.java :
26 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.provider.ItemProviderAdapter is never used
EJBRelationshipRoleItemProvider.java :
35 : import org.eclipse.emf.edit.provider.ItemProviderAdapter;
The import org.eclipse.emf.edit.command.AddCommand is never used
ExcludeListItemProvider.java :
21 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
ExcludeListItemProvider.java :
22 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
MessageDrivenItemProvider.java :
23 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MessageDrivenItemProvider.java :
24 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.common.notify.Adapter is never used
MethodElementItemProvider.java :
18 : import org.eclipse.emf.common.notify.Adapter;
The import org.eclipse.emf.edit.provider.IDisposable is never used
MethodElementItemProvider.java :
27 : import org.eclipse.emf.edit.provider.IDisposable;
The import org.eclipse.emf.edit.command.AddCommand is never used
MethodPermissionItemProvider.java :
23 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MethodPermissionItemProvider.java :
24 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
MethodTransactionItemProvider.java :
24 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
MethodTransactionItemProvider.java :
25 : import org.eclipse.emf.edit.command.RemoveCommand;
The import org.eclipse.emf.edit.command.AddCommand is never used
RelationshipsItemProvider.java :
23 : import org.eclipse.emf.edit.command.AddCommand;
The import org.eclipse.emf.edit.command.RemoveCommand is never used
RelationshipsItemProvider.java :
24 : import org.eclipse.emf.edit.command.RemoveCommand;
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
EJBClientJARRemovalOperation.java :
20 : import org.eclipse.core.internal.resources.ResourceException;
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation
EJBClientJARRemovalOperation.java :
490 : String message = MessageFormat.format(ClientJARCreationConstants.SHOULD_OVERWRITE, new String[]{filePath.toString(), newPath.toString()});
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
EJBClientJARRemovalOperation.java :
553 : }catch(ResourceException e){
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation
EJBClientJARRemovalOperation.java :
573 : String message = MessageFormat.format(ClientJARCreationConstants.FILES_OUT_OF_SYNC, new String[]{project.getName()});
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java :
39 : import org.eclipse.jem.internal.adapters.jdom.JDOMSearchHelper;
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java :
172 : IType type = JDOMSearchHelper.findType(javaClass.getJavaPackage().getName(), javaClass.getSimpleName(), jProj);
Discouraged access: The method findType(String, String, IJavaProject) from the type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBClientJarCreationHelper.java :
172 : IType type = JDOMSearchHelper.findType(javaClass.getJavaPackage().getName(), javaClass.getSimpleName(), jProj);
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java :
37 : import org.eclipse.jem.internal.adapters.jdom.JDOMSearchHelper;
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
EJBHelper.java :
38 : import org.eclipse.jem.internal.plugin.JavaEMFNature;
Discouraged access: The type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java :
685 : return JDOMSearchHelper.findType(clazz.getJavaPackage().getName(), clazz.getName(), javaProj);
Discouraged access: The method findType(String, String, IJavaProject) from the type JDOMSearchHelper is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem.workbench/@dot
EJBHelper.java :
685 : return JDOMSearchHelper.findType(clazz.getJavaPackage().getName(), clazz.getName(), javaProj);
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
EJBHelper.java :
716 : JavaEMFNature nature = JavaEMFNature.getRuntime(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
EJBHelper.java :
716 : JavaEMFNature nature = JavaEMFNature.getRuntime(getProject());
Discouraged access: The method getRuntime(IProject) from 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
EJBHelper.java :
716 : JavaEMFNature nature = JavaEMFNature.getRuntime(getProject());
The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation
ResourceHandler.java :
79 : res = java.text.MessageFormat.format(getExternalizedMessage(key), parms);