Package gnu.classpath.jdwp.id

Examples of gnu.classpath.jdwp.id.ClassReferenceTypeId


   */
  public Location(ByteBuffer bb)
    throws IOException, JdwpException
  {
    byte tag = bb.get();
    ClassReferenceTypeId classId =
      (ClassReferenceTypeId) VMIdManager.getDefault().readReferenceTypeId(bb);
    Class klass = classId.getType();
    method = VMMethod.readId(klass, bb);
    index = bb.getLong();
  }
View Full Code Here


  {
    // check if this is an empty location
    if (method != null)
      {
    VMIdManager idm = VMIdManager.getDefault();
        ClassReferenceTypeId crti =
          (ClassReferenceTypeId)
      idm.getReferenceTypeId(method.getDeclaringClass());

    crti.writeTagged(os);
    method.writeId(os);
    os.writeLong(index);
  }
    else
      {
View Full Code Here

  }

  private void executeMethods(ByteBuffer bb, DataOutputStream os)
    throws JdwpException, IOException
  {
    ClassReferenceTypeId refId
      = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb);
    Class clazz = refId.getType();

    VMMethod[] methods = VMVirtualMachine.getAllClassMethods(clazz);
    os.writeInt (methods.length);
    for (int i = 0; i < methods.length; i++)
      {
View Full Code Here

  }

  private void executeLineTable(ByteBuffer bb, DataOutputStream os)
      throws JdwpException, IOException
  {
    ClassReferenceTypeId refId
      = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb);
    Class clazz = refId.getType();

    VMMethod method = VMMethod.readId(clazz, bb);
    LineTable lt = method.getLineTable();
    lt.write(os);
  }
View Full Code Here

  }

  private void executeVariableTable(ByteBuffer bb, DataOutputStream os)
      throws JdwpException, IOException
  {
   ClassReferenceTypeId refId
     = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb);
    Class clazz = refId.getType();

    VMMethod method = VMMethod.readId(clazz, bb);
    VariableTable vt = method.getVariableTable();
    vt.write(os);
  }
View Full Code Here

  ReferenceTypeId id;
  if (clazz.isArray())
   id = new ArrayReferenceTypeId();
   else if (clazz.isInterface())
    id = new InterfaceReferenceTypeId();
    else id = new ClassReferenceTypeId();
  id.setReference(ref);
  synchronized (ridLock)
  {
   id.setId(++lastRid);
  }
View Full Code Here

TOP

Related Classes of gnu.classpath.jdwp.id.ClassReferenceTypeId

Copyright © 2018 www.massapicom. 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.