jasm.attributes
Class Code.Rewrite

java.lang.Object
  extended by jasm.attributes.Code.Rewrite
Enclosing class:
Code

public static class Code.Rewrite
extends java.lang.Object

A rewrite defines a sequence of bytecodes that are to be rewritten as a (potentially) smaller sequence.

Author:
David J. Pearce

Field Summary
 Bytecode[] bytecodes
           
 int length
           
 int start
           
 
Constructor Summary
Code.Rewrite(int start, int length, Bytecode... bytecodes)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public final int start

length

public final int length

bytecodes

public final Bytecode[] bytecodes
Constructor Detail

Code.Rewrite

public Code.Rewrite(int start,
                    int length,
                    Bytecode... bytecodes)


Copyright © 2013 David J. Pearce. All Rights Reserved.