Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2
Number of source files: 20 Number of classfiles: 20
Problems: 4 (Errors: 0 Warnings: 4 )
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 :
168 : 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 :
169 : 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 :
197 : 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 :
198 : generateMethod.invoke(CodeGenerationEngineInstance, null);