private void testVersion(int version, boolean frames) throws IOException {
final byte[] original = createClass(version);
IRuntime runtime = new SystemPropertiesRuntime();
Instrumenter instrumenter = new Instrumenter(runtime);
byte[] instrumented = instrumenter.instrument(original, "TestTarget");
assertFrames(instrumented, frames);
}
private void assertFrames(byte[] source, boolean expected) {