for (int i = 0; i < declIs.length; i++) {
if (declaringClassIsValid(declIs[i], method)) {
return declIs[i];
}
}
throw new GeDARuntimeException("Unable to identify interface for proxy object");
}
if (declaringClassIsValid(declS, method)) {
return declS;
}
final Class< ? >[] declIs = decl.getInterfaces();
for (int i = 0; i < declIs.length; i++) {
if (declaringClassIsValid(declIs[i], method)) {
return declIs[i];
}
}
throw new GeDARuntimeException("Unable to identify interface for proxy object");
}