public void exceptionHandler(Location startLocation, Location endLocation, String catchClassName) { println(mBulder + "exceptionHandler(" + getLabelName(startLocation) + ", " + getLabelName(endLocation) + ", " + (catchClassName == null ? "null" : ('"' + catchClassName + '"')) + ')'); }
public void ifNullBranch(Location location, boolean choice) { println(mBulder + "ifNullBranch(" + getLabelName(location) + ", " + choice + ')'); }
public void ifEqualBranch(Location location, boolean choice) { println(mBulder + "ifEqualBranch(" + getLabelName(location) + ", " + choice + ')'); }
public void ifZeroComparisonBranch(Location location, String choice) { println(mBulder + "ifZeroComparisonBranch(" + getLabelName(location) + ", \"" + choice + "\")"); }
public void ifComparisonBranch(Location location, String choice) { println(mBulder + "ifComparisonBranch(" + getLabelName(location) + ", \"" + choice + "\")"); }
public void branch(Location location) { println(mBulder + "branch(" + getLabelName(location) + ')'); }
public void jsr(Location location) { println(mBulder + "jsr(" + getLabelName(location) + ')'); }
public void switchBranch(int[] cases, Location[] locations, Location defaultLocation) { StringBuffer buf = new StringBuffer(cases.length * 15); buf.append(mBulder + "switchBranch("); buf.append("new int[] {"); for (int i=0; i<cases.length; i++) { if (i > 0) { buf.append(", "); } buf.append(cases[i]); } buf.append("}"); buf.append(", "); buf.append("new Location[] {"); for (int i=0; i<locations.length; i++) { if (i > 0) { buf.append(", "); } buf.append(getLabelName(locations[i])); } buf.append("}"); buf.append(", "); buf.append(getLabelName(defaultLocation)); buf.append(')'); println(buf.toString()); }
public void exceptionHandler(Location startLocation, Location endLocation, String catchClassName) { println(mBulder + "exceptionHandler(" + getLabelName(startLocation) + ", " + getLabelName(endLocation) + ", " + (catchClassName == null ? "null" : ('"' + catchClassName + '"')) + ')'); }
public void ifEqualBranch(Location location, boolean choice) { println(mBulder + "ifEqualBranch(" + getLabelName(location) + ", " + choice + ')'); }
public void ifComparisonBranch(Location location, String choice) { println(mBulder + "ifComparisonBranch(" + getLabelName(location) + ", \"" + choice + "\")"); }
public void branch(Location location) { println(mBulder + "branch(" + getLabelName(location) + ')'); }
public void ifNullBranch(Location location, boolean choice) { println(mBulder + "ifNullBranch(" + getLabelName(location) + ", " + choice + ')'); }
public void ifZeroComparisonBranch(Location location, String choice) { println(mBulder + "ifZeroComparisonBranch(" + getLabelName(location) + ", \"" + choice + "\")"); }
public void jsr(Location location) { println(mBulder + "jsr(" + getLabelName(location) + ')'); }
public void switchBranch(int[] cases, Location[] locations, Location defaultLocation) { StringBuffer buf = new StringBuffer(cases.length * 15); buf.append(mBulder + "switchBranch("); buf.append("new int[] {"); for (int i=0; i<cases.length; i++) { if (i > 0) { buf.append(", "); } buf.append(cases[i]); } buf.append("}"); buf.append(", "); buf.append("new Location[] {"); for (int i=0; i<locations.length; i++) { if (i > 0) { buf.append(", "); } buf.append(getLabelName(locations[i])); } buf.append("}"); buf.append(", "); buf.append(getLabelName(defaultLocation)); buf.append(')'); println(buf.toString()); }