Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2
Number of source files: 20 Number of classfiles: 20
Problems: 5 (Errors: 0 Warnings: 5 )
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
Axis2WSDL2JavaCommand.java :
171 : Method getTargetNamespaceMethod = AxisServiceClass.getMethod("getTargetNamespace", null);
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
Axis2WSDL2JavaCommand.java :
172 : Object targetNamespace = getTargetNamespaceMethod.invoke(axisServiceInstance, null);
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
Axis2WSDL2JavaCommand.java :
200 : Method generateMethod = CodeGenerationEngineClass.getMethod("generate", null);
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
Axis2WSDL2JavaCommand.java :
201 : generateMethod.invoke(CodeGenerationEngineInstance, null);
The import org.eclipse.jst.ws.axis2.core.utils.FileUtils is never used
ServicesXMLUtils.java :
27 : import org.eclipse.jst.ws.axis2.core.utils.FileUtils;