Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.B76_R37x, 3.7.1

Number of source files: 15 Number of classfiles: 15

Problems: 30 (Errors: 0 Warnings: 30 )

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 :

190 : 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 :

191 : 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 :

221 : 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 :

222 : generateMethod.invoke(CodeGenerationEngineInstance, null);

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

The import org.eclipse.jst.ws.axis2.core.constant.Axis2Constants is never used

Axis2ClientDefaultingCommand.java :

30 : import org.eclipse.jst.ws.axis2.core.constant.Axis2Constants;

Source File: org/eclipse/jst/ws/axis2/consumption/core/data/Model.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

Model.java :

96 : 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

Model.java :

97 : Object resultLocalPart = GetLocalPartMethod.invoke(serviceQName, null);

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

The import java.lang.reflect.Method is never used

DefaultCodegenUtil.java :

20 : import java.lang.reflect.Method;

2. WARNING: UnusedImport

The import javax.xml.namespace.QName is never used

DefaultCodegenUtil.java :

23 : import javax.xml.namespace.QName;

3. WARNING: UnusedImport

The import org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil is never used

DefaultCodegenUtil.java :

29 : import org.eclipse.jst.ws.axis2.core.utils.ClassLoadingUtil;

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 :

22 : import java.io.IOException;

2. WARNING: UnusedImport

The import javax.xml.namespace.QName is never used

WSDL2JavaGenerator.java :

32 : import javax.xml.namespace.QName;

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

WSDL2JavaGenerator.java :

392 : Method populateServiceMethod = WSDL11ToAxisServiceBuilderClass.getMethod( "populateService", 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

WSDL2JavaGenerator.java :

395 : 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 :

67 : 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 :

68 : 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 :

71 : 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 :

72 : 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 :

91 : 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 :

92 : 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 :

114 : 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 :

115 : 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 :

149 : 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 :

150 : 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 :

157 : 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 :

159 : 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 :

205 : 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 :

206 : 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 :

213 : 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 :

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