* @return Reads JDWP representation and returns new instance.
*/
public static ClassLoaderReferenceImpl read(MirrorImpl target,
DataInputStream in) throws IOException {
VirtualMachineImpl vmImpl = target.virtualMachineImpl();
JdwpClassLoaderID ID = new JdwpClassLoaderID(vmImpl);
ID.read(in);
if (target.fVerboseWriter != null)
target.fVerboseWriter.println("classLoaderReference", ID.value()); //$NON-NLS-1$
if (ID.isNull())
return null;
ClassLoaderReferenceImpl mirror = new ClassLoaderReferenceImpl(vmImpl,
ID);
return mirror;