Uses of Class
org.codehaus.janino.CodeContext.Offset
-
Packages that use CodeContext.Offset Package Description org.codehaus.janino The core of the Janino Java compiler. -
-
Uses of CodeContext.Offset in org.codehaus.janino
Subclasses of CodeContext.Offset in org.codehaus.janino Modifier and Type Class Description classCodeContext.BasicBlockThisCodeContext.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.private classCodeContext.FourByteOffsetclassCodeContext.InserterA class that implements an insertion point into a "Code" attribute.classCodeContext.LineNumberOffsetAnCodeContext.Offsetwho's sole purpose is to later create a 'LineNumberTable' attribute.(package private) static classJava.PadderFields in org.codehaus.janino declared as CodeContext.Offset Modifier and Type Field Description private CodeContext.OffsetCodeContext. beginningprivate CodeContext.OffsetCodeContext.Branch. destinationprivate CodeContext.OffsetCodeContext.OffsetBranch. destinationprivate CodeContext.OffsetJava.LocalVariableSlot. end(package private) CodeContext.OffsetCodeContext.ExceptionTableEntry. endPc(package private) CodeContext.OffsetCodeContext.ExceptionTableEntry. handlerPc(package private) CodeContext.OffsetCodeContext.Offset. nextLinks to preceding and succeeding offsets.(package private) CodeContext.OffsetCodeContext.Offset. prevLinks to preceding and succeeding offsets.private CodeContext.OffsetCodeContext.OffsetBranch. sourceprivate CodeContext.OffsetJava.LocalVariableSlot. start(package private) CodeContext.OffsetCodeContext.ExceptionTableEntry. startPcprivate CodeContext.OffsetCodeContext.OffsetBranch. where(package private) CodeContext.OffsetJava.BreakableStatement. whereToBreakThis one's filled in by the first BREAK statement, and isset()by this breakable statement.protected 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.Offset Modifier and Type Method Description CodeContext.OffsetJava.LocalVariableSlot. getEnd()CodeContext.OffsetJava.LocalVariableSlot. getStart()private CodeContext.OffsetUnitCompiler. getWhereToBreak(Java.BreakableStatement bs)CodeContext.OffsetCodeContext. newBasicBlock()CodeContext.OffsetCodeContext. newOffset()Creates and inserts anCodeContext.Offsetat the current inserter's current position.Methods in org.codehaus.janino with parameters of type CodeContext.Offset Modifier and Type Method Description voidCodeContext. addExceptionTableEntry(CodeContext.Offset startPc, CodeContext.Offset endPc, CodeContext.Offset handlerPc, java.lang.String catchTypeFd)Adds another entry to the "exception_table" of this code attribute (see JVMS 4.7.3).private voidUnitCompiler. compileBoolean(Java.Rvalue rv, CodeContext.Offset dst, boolean orientation)Compiles anJava.Rvalueand branches, depending on the value.private voidUnitCompiler. compileBoolean2(Java.BinaryOperation bo, CodeContext.Offset dst, boolean orientation)private voidUnitCompiler. compileBoolean2(Java.ParenthesizedExpression pe, CodeContext.Offset dst, boolean orientation)private voidUnitCompiler. compileBoolean2(Java.Rvalue rv, CodeContext.Offset dst, boolean orientation)private voidUnitCompiler. compileBoolean2(Java.UnaryOperation ue, CodeContext.Offset dst, boolean orientation)private booleanUnitCompiler. compileTryCatch(Java.TryStatement tryStatement, UnitCompiler.Compilable2 compileBody, CodeContext.Offset beginningOfBody, CodeContext.Offset afterStatement)Generates code for a TRY statement without resources and without a FINALLY clause.private voidUnitCompiler. gotO(Java.Locatable locatable, CodeContext.Offset dst)private voidUnitCompiler. if_acmpxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst)private voidUnitCompiler. if_icmpxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst)private voidUnitCompiler. ifnonnull(Java.Locatable locatable, CodeContext.Offset dst)private voidUnitCompiler. ifnull(Java.Locatable locatable, CodeContext.Offset dst)private voidUnitCompiler. ifNumeric(Java.Locatable locatable, int opIdx, CodeContext.Offset dst, boolean orientation)private voidUnitCompiler. ifxx(Java.Locatable locatable, int opIdx, CodeContext.Offset dst)private voidUnitCompiler. lookupswitch(Java.Locatable locatable, java.util.SortedMap<java.lang.Integer,CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset)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)private voidUnitCompiler. tableswitch(Java.Locatable locatable, java.util.SortedMap<java.lang.Integer,CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset)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.private voidUnitCompiler. writeOffset(CodeContext.Offset src, CodeContext.Offset dst)Method parameters in org.codehaus.janino with type arguments of type CodeContext.Offset Modifier and Type Method Description private voidUnitCompiler. lookupswitch(Java.Locatable locatable, java.util.SortedMap<java.lang.Integer,CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset)private voidUnitCompiler. tableswitch(Java.Locatable locatable, java.util.SortedMap<java.lang.Integer,CodeContext.Offset> caseLabelMap, CodeContext.Offset defaultLabelOffset)Constructors in org.codehaus.janino with parameters of type CodeContext.Offset Constructor Description Branch(int opcode, CodeContext.Offset destination)ExceptionTableEntry(CodeContext.Offset startPc, CodeContext.Offset endPc, CodeContext.Offset handlerPc, short catchType)OffsetBranch(CodeContext.Offset where, CodeContext.Offset source, CodeContext.Offset destination)
-