if (cm != null) target = cm.getJavaMember(); else target = null;
}
Object returnValue = null;
if (target == null) {
DefaultReturnValue drv = method.getAnnotation(DefaultReturnValue.class);
if (drv != null) {
returnValue = drv.value();
} else {
returnValue = method.getReturnType().isPrimitive() ? ReflectionUtil.getPrimitiveDefault(method.getReturnType()) : null;
}
} else {
returnValue = super.invoke(proxy, target, args);