net.janino
Class ClassFile.CodeAttribute.Offset

java.lang.Object
  |
  +--net.janino.ClassFile.CodeAttribute.Offset
Direct Known Subclasses:
ClassFile.CodeAttribute.Inserter
Enclosing class:
ClassFile.CodeAttribute

public class ClassFile.CodeAttribute.Offset
extends java.lang.Object

A class that represents an offset within a "Code" attribute. The concept of an "offset" is that if one writes into the middle of a "Code" attribute, all offsets behind the insertion point are automatically shifted.


Field Summary
(package private)  ClassFile.CodeAttribute.Offset next
           
(package private)  int offset
           
(package private)  ClassFile.CodeAttribute.Offset prev
           
 
Constructor Summary
ClassFile.CodeAttribute.Offset()
           
 
Method Summary
 ClassFile.CodeAttribute getCodeAttribute()
           
 void set()
          Set this "Offset" to the offset of the current inserter; insert this "Offset" before the current inserter.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

int offset

prev

ClassFile.CodeAttribute.Offset prev

next

ClassFile.CodeAttribute.Offset next
Constructor Detail

ClassFile.CodeAttribute.Offset

public ClassFile.CodeAttribute.Offset()
Method Detail

set

public void set()
Set this "Offset" to the offset of the current inserter; insert this "Offset" before the current inserter.

getCodeAttribute

public final ClassFile.CodeAttribute getCodeAttribute()