}
}
} else if (obj instanceof Externalizable && (!Proxy.isProxyClass(cls))) {
Externalizable extObj = (Externalizable) obj;
try {
extObj.writeExternal(new ObjectOutputAdaptor() {
private int count = 0;
@Override
public void writeObject(Object streamObj) throws IOException {
if (checked.containsKey(streamObj)) {