Compiler Warning J5015

The parameter 'identifier' in an @com.parameters declaration does not match the corresponding argument 'identifier'

An @com.parameters declaration does not match the method that implements the interface. This error could indicate data type inconsistencies or mismatched parameter locations. Ensure that your @com.parameters declaration has the same number of parameters, the correct types, and correct order with the method being declared and compile again.

The following example illustrates this warning:

/** @com.interface(iid=31415926-5358-9793-2384-612345678901, dual) */
interface ExampleInterface 
{
/** 
@com.method(dispid=306)
@com.parameters([type=BOOLEAN] when, on) 
*/
//error: @com.parameters declaration has parameters in wrong location

public String Method1(boolean on, int when); 
}