Uses of Class
org.codehaus.janino.CodeContext.Offset
Packages that use CodeContext.Offset
-
Uses of CodeContext.Offset in org.codehaus.janino
Subclasses of CodeContext.Offset in org.codehaus.janinoModifier and TypeClassDescriptionfinal class
ThisCodeContext.Offset
marks the first byte of a "basic block" in the sense of JLS 17 "4.10.1 Verification by Type Checking": The intent is that a stack map frame must appear at the beginning of each basic block in a method.class
A class that implements an insertion point into a "Code" attribute.class
AnCodeContext.Offset
who's sole purpose is to later create a 'LineNumberTable' attribute.Fields in org.codehaus.janino declared as CodeContext.OffsetModifier and TypeFieldDescriptionprotected CodeContext.Offset
Java.ContinuableStatement.whereToContinue
This one's filled in by the first CONTINUE statement, and isset()
by this continuable statement.Methods in org.codehaus.janino that return CodeContext.OffsetModifier and TypeMethodDescriptionJava.LocalVariableSlot.getEnd()
Java.LocalVariableSlot.getStart()
CodeContext.newBasicBlock()
CodeContext.newOffset()
Creates and inserts anCodeContext.Offset
at the current inserter's current position.Methods in org.codehaus.janino with parameters of type CodeContext.OffsetModifier and TypeMethodDescriptionvoid
CodeContext.addExceptionTableEntry
(CodeContext.Offset startPc, CodeContext.Offset endPc, CodeContext.Offset handlerPc, String catchTypeFd) Adds another entry to the "exception_table" of this code attribute (see JVMS 4.7.3).void
CodeContext.removeCode
(CodeContext.Offset from, CodeContext.Offset to) Removes all code between from and to.void
Java.LocalVariableSlot.setEnd
(CodeContext.Offset end) void
Java.LocalVariableSlot.setStart
(CodeContext.Offset start) void
CodeContext.writeBranch
(int opcode, CodeContext.Offset dst) Generates a "branch" instruction.void
CodeContext.writeOffset
(CodeContext.Offset src, CodeContext.Offset dst) Writes a four-byte offset (as it is used in TABLESWITCH and LOOKUPSWITCH) into this code context.