output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
/** * @throws java.io.IOException Any exception thrown by the underlying OutputStream. */ protected void annotateProxyClass(Class<?> cl) throws IOException { super.annotateProxyClass(cl); }
/** * @throws java.io.IOException Any exception thrown by the underlying OutputStream. */ protected void annotateProxyClass(Class<?> cl) throws IOException { super.annotateProxyClass(cl); }
/** * @throws IOException Any exception thrown by the underlying OutputStream. */ protected void annotateProxyClass(Class cl) throws IOException { super.annotateProxyClass(cl); }
/** * @throws java.io.IOException Any exception thrown by the underlying OutputStream. */ protected void annotateProxyClass(Class cl) throws IOException { super.annotateProxyClass(cl); }
/** * Writes class descriptor representing a dynamic proxy class to stream. */ private void writeProxyDesc(ObjectStreamClass desc, boolean unshared) throws IOException { bout.writeByte(TC_PROXYCLASSDESC); handles.assign(unshared ? null : desc); Class cl = desc.forClass(); Class[] ifaces = cl.getInterfaces(); bout.writeInt(ifaces.length); for (int i = 0; i < ifaces.length; i++) { bout.writeUTF(ifaces[i].getName()); } bout.setBlockDataMode(true); annotateProxyClass(cl); bout.setBlockDataMode(false); bout.writeByte(TC_ENDBLOCKDATA); writeClassDesc(desc.getSuperDesc(), false); }
/** * Writes class descriptor representing a dynamic proxy class to stream. */ private void writeProxyDesc(ObjectStreamClass desc, boolean unshared) throws IOException { bout.writeByte(TC_PROXYCLASSDESC); handles.assign(unshared ? null : desc); Class cl = desc.forClass(); Class[] ifaces = cl.getInterfaces(); bout.writeInt(ifaces.length); for (int i = 0; i < ifaces.length; i++) { bout.writeUTF(ifaces[i].getName()); } bout.setBlockDataMode(true); annotateProxyClass(cl); bout.setBlockDataMode(false); bout.writeByte(TC_ENDBLOCKDATA); writeClassDesc(desc.getSuperDesc(), false); }
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);
output.writeUTF(interfaces[i].getName()); annotateProxyClass(classToWrite); output.writeByte(TC_ENDBLOCKDATA); writeClassDesc(proxyClassDesc, false);