Compiler: Eclipse Compiler for Java(TM) Version: 0.B76_R37x, 3.7.1
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 :
175 : 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 :
176 : 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 :
204 : 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 :
205 : 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;