if (!rawClass.isInterface())
return null;
int abstractCount = 0;
Method singleAbstractMethod = null;
for (Method each : rawClass.getMethods()) {
<BUG>if (Modifier.isAbstract(each.getModifiers()) && !overridesJavaLangObjectMethod(each)) {
singleAbstractMethod = each;</BUG>
++abstractCount;
}
}

if (!rawClass.isInterface())
return null;
int abstractCount = 0;
Method singleAbstractMethod = null;
for (Method each : rawClass.getMethods()) {
if (isAbstract(each.getModifiers()) && !overridesJavaLangObjectMethod(each)) {
singleAbstractMethod = each;
++abstractCount;
}
}
