Compiler Report

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

Number of source files: 14 Number of classfiles: 14

Problems: 28 (Errors: 0 Warnings: 28 )

Source File: org/eclipse/jst/ws/axis2/consumption/core/command/Axis2ClientCodegenCommand.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

Axis2ClientCodegenCommand.java :

181 : Method getTargetNamespaceMethod = AxisServiceClass.getMethod("getTargetNamespace", null);

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

Axis2ClientCodegenCommand.java :

182 : Object targetNamespace = getTargetNamespaceMethod.invoke(axisServiceInstance, null);

3. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

Axis2ClientCodegenCommand.java :

212 : Method generateMethod = CodeGenerationEngineClass.getMethod("generate", null);

4. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

Axis2ClientCodegenCommand.java :

213 : generateMethod.invoke(CodeGenerationEngineInstance, null);

Source File: org/eclipse/jst/ws/axis2/consumption/core/command/Axis2ClientTestCaseIntegrateCommand.java
1. WARNING: DiscouragedReference

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

Axis2ClientTestCaseIntegrateCommand.java :

35 : import org.eclipse.jdt.internal.core.JavaProject;

2. WARNING: DiscouragedReference

Discouraged access: The constructor JavaProject(IProject, JavaElement) is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-R/eclipse/plugins/org.eclipse.jdt.core_3.4.0.v_872.jar

Axis2ClientTestCaseIntegrateCommand.java :

76 : IJavaProject javaProj = new JavaProject(project,null);

3. WARNING: DiscouragedReference

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

Axis2ClientTestCaseIntegrateCommand.java :

76 : IJavaProject javaProj = new JavaProject(project,null);

Source File: org/eclipse/jst/ws/axis2/consumption/core/utils/DefaultCodegenUtil.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

DefaultCodegenUtil.java :

63 : Method GetLocalPartMethod = QNameClass.getMethod("getLocalPart", null);

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

DefaultCodegenUtil.java :

64 : Object resultLocalPart = GetLocalPartMethod.invoke(serviceQnameInstance, null);

Source File: org/eclipse/jst/ws/axis2/consumption/core/utils/WSDL2JavaGenerator.java
1. WARNING: UnusedImport

The import java.io.IOException is never used

WSDL2JavaGenerator.java :

20 : import java.io.IOException;

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDL2JavaGenerator.java :

376 : Method populateServiceMethod = WSDL11ToAxisServiceBuilderClass.getMethod( "populateService", null);

3. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDL2JavaGenerator.java :

379 : return populateServiceMethod.invoke(WSDL11ToAxisServiceBuilderInstance, null);

Source File: org/eclipse/jst/ws/axis2/consumption/core/utils/WSDLPropertyReader.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

59 : Method newInstanceMethod = WSDLFactoryClass.getMethod("newInstance", null);

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

60 : Object WSDLFactoryObject = newInstanceMethod.invoke(null, null);

3. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

63 : Method newWSDLReaderMethod = WSDLFactoryImplClass.getMethod("newWSDLReader", null);

4. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

64 : Object WSDLReaderObject = newWSDLReaderMethod.invoke(WSDLFactoryObject, null);

5. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

80 : Method getNamespacesMethod = DefinitionClass.getMethod("getNamespaces", null);

6. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

81 : map = (Map)getNamespacesMethod.invoke(DefinitionInstance, null);

7. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

103 : Method getTargetNamespaceMethod = DefinitionClass.getMethod("getTargetNamespace", null);

8. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

104 : String packageName = (String)getTargetNamespaceMethod.invoke(DefinitionInstance, null);

9. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

138 : Method getServicesMethod = DefinitionClass.getMethod("getServices", null);

10. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

139 : Map serviceMap = (Map)getServicesMethod.invoke(DefinitionInstance, null);

11. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

146 : Method getQNameMethod = ServiceClass.getMethod("getQName", null);

12. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

148 : returnList.add(getQNameMethod.invoke(serviceInstance, null));

13. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

194 : Method getPortsMethod = ServiceClass.getMethod("getPorts", null);

14. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

195 : Map portMap = (Map)getPortsMethod.invoke(serviceInstance, null);

15. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation

WSDLPropertyReader.java :

202 : Method getNameMethod = PortClass.getMethod("getName", null);

16. WARNING: MethodVarargsArgumentNeedCast

The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation

WSDLPropertyReader.java :

203 : returnList.add(getNameMethod.invoke(portInstance,null));