Examples of JdwpObjectID


Examples of org.eclipse.jdi.internal.jdwp.JdwpObjectID

  /**
   * @return Create a null value instance of the type.
   */
  @Override
  public Value createNullValue() {
    return new ArrayReferenceImpl(virtualMachineImpl(), new JdwpObjectID(
        virtualMachineImpl()));
  }
View Full Code Here

Examples of org.eclipse.jdi.internal.jdwp.JdwpObjectID

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

    if (ID.isNull())
      return null;

    ObjectReferenceImpl mirror = new ObjectReferenceImpl(vmImpl, ID);
    return mirror;
  }
View Full Code Here

Examples of org.eclipse.jdi.internal.jdwp.JdwpObjectID

  /**
   * Writes null value without value tag.
   */
  public static void writeNull(MirrorImpl target, DataOutputStream out)
      throws IOException {
    JdwpObjectID nullID = new JdwpObjectID(target.virtualMachineImpl());
    nullID.write(out);
    if (target.fVerboseWriter != null)
      target.fVerboseWriter.println("objectReference", nullID.value()); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.eclipse.jdi.internal.jdwp.JdwpObjectID

   *             if there is a problem reading from the stream
   */
  public static ArrayReferenceImpl read(MirrorImpl target, DataInputStream in)
      throws IOException {
    VirtualMachineImpl vmImpl = target.virtualMachineImpl();
    JdwpObjectID ID = new JdwpObjectID(vmImpl);
    ID.read(in);
    if (target.fVerboseWriter != null) {
      target.fVerboseWriter.println("arrayReference", ID.value()); //$NON-NLS-1$
    }

    if (ID.isNull()) {
      return null;
    }

    ArrayReferenceImpl mirror = new ArrayReferenceImpl(vmImpl, ID);
    return mirror;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.