I want to get the parameter names of the method of an Interface which is outside the package.
Looks like LocalVariableTableParameterNameDiscoverer can get the parameter names of methods only for the local classes. It does not get the parameter names of methods for the interfaces outside the package.
Please help
private LocalVariableTableParameterNameDiscoverer namer =new LocalVariableTableParameterNameDiscoverer();
Class currentClass = Class.forName("com.soa.process.bpel.runtime.script.ScriptedAlertReporter");
methods=currentClass.getDeclaredMethods();
for (int j = 0; j < methods.length; j++)
{
method=currentClass.getMethod(methods[j].getName(),methods[j].getParameterTypes());
parameterNames = namer.getParameterNames(method);
if(parameterNames!=null && parameterNames.length>0)
{
}
}