Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2
Number of source files: 19 Number of classfiles: 19
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 :
166 : 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 :
167 : 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 :
195 : 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 :
196 : generateMethod.invoke(CodeGenerationEngineInstance, null);