Example usage for org.objectweb.asm.tree.analysis Frame toString

List of usage examples for org.objectweb.asm.tree.analysis Frame toString

Introduction

In this page you can find the example usage for org.objectweb.asm.tree.analysis Frame toString.

Prototype

@Override
public String toString() 

Source Link

Document

Returns a string representation of this frame.

Usage

From source file:cl.inria.stiq.instrumenter.BCIUtils.java

License:Open Source License

private static String frameString(Frame aFrame) {
    if (aFrame == null)
        return "null";
    String s = aFrame.toString();
    s = s.replace("Ltod/core/database/structure/ObjectId;", "o");
    s = s.replace("Ltod/impl/replay2/ThreadReplayer;", "r");
    s = s.replace("Ltod/impl/replay2/TmpObjectId;", "t");
    s = s.replace("Lnull;", "L");
    s = s.replace("Ltod/impl/replay2/HandlerReachedException;", "h");
    s = s.replace("Ltod/impl/replay2/EventCollector;", "c");
    s = s.replace("Ltod/impl/replay2/LocalsSnapshot;", "s");
    s = s.replace("Ljava/lang/Throwable;", "T");
    return s;/*from   w w  w.  ja v  a2  s  . co  m*/
}