public static boolean isLocal(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).isLocal(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._is_local(); else throw wrapper.isLocalRequiresStub(); }
public static boolean isLocal(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).isLocal(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._is_local(); else throw wrapper.isLocalRequiresStub(); }