org.codehaus.janino

Class CodeContext.Offset

public class CodeContext.Offset extends 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.
Method Summary
CodeContextgetCodeContext()
voidset()
Set this "Offset" to the offset of the current inserter; insert this "Offset" before the current inserter.
StringtoString()

Method Detail

getCodeContext

public final CodeContext getCodeContext()

set

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

toString

public String toString()