Package org.apache.kato.jvmti.javaruntime.model

Examples of org.apache.kato.jvmti.javaruntime.model.JMethod


    String mGenSig = readUTFString(variablesIn);
    int modifiers = variablesIn.readInt();
    int count = variablesIn.readInt();


    JMethod jm = model.getMethod(methodID);
    jm.name = mName;
    jm.signature = mSig;
    if (mGenSig.equals(" ")) {
      jm.setGenericsignature(null); // Not currently keeping it null, left as reminder
    }
    jm.setGenericsignature(mGenSig);
    jm.mods = modifiers;

    for (int i = 0; i < count; i++) {
      JLocalVariableTableEntry jlte = nlocalVarTable();
      jm.addLocalVariableTableEntry(jlte);
    }

    // Line number table
    int lntLength = variablesIn.readInt();
    for (int i = 0; i < lntLength; i++) {
      int lNum = variablesIn.readInt();
      long bytePos = variablesIn.readLong();
      jm.addLineNumberEntry(lNum, bytePos);
    }
    c.addMethod(jm);
  }
View Full Code Here


    JClass clazz = (JClass) nreadReference(declaringClass);
    variablesIn.seek(cPos); // Return to our read position

    JStackFrame jsf = new JStackFrame();
    JLocation loc = new JLocation();
    JMethod jm = model.getMethod(methodID);
    loc.method = jm;
   
    jsf.setLocation(loc);
   
    // SRDM
View Full Code Here

TOP

Related Classes of org.apache.kato.jvmti.javaruntime.model.JMethod

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.