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 classThisCodeContext.Offsetmarks 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.classA class that implements an insertion point into a "Code" attribute.classAnCodeContext.Offsetwho's sole purpose is to later create a 'LineNumberTable' attribute.Fields in org.codehaus.janino declared as CodeContext.OffsetModifier and TypeFieldDescriptionprotected CodeContext.OffsetJava.ContinuableStatement.whereToContinueThis 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.Offsetat the current inserter's current position.Methods in org.codehaus.janino with parameters of type CodeContext.OffsetModifier and TypeMethodDescriptionvoidCodeContext.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).voidCodeContext.removeCode(CodeContext.Offset from, CodeContext.Offset to) Removes all code between from and to.voidJava.LocalVariableSlot.setEnd(CodeContext.Offset end) voidJava.LocalVariableSlot.setStart(CodeContext.Offset start) voidCodeContext.writeBranch(int opcode, CodeContext.Offset dst) Generates a "branch" instruction.voidCodeContext.writeOffset(CodeContext.Offset src, CodeContext.Offset dst) Writes a four-byte offset (as it is used in TABLESWITCH and LOOKUPSWITCH) into this code context.