Package org.codehaus.janino
Class CodeContext.Branch
- java.lang.Object
-
- org.codehaus.janino.CodeContext.Relocatable
-
- org.codehaus.janino.CodeContext.Branch
-
- Enclosing class:
- CodeContext
private class CodeContext.Branch extends CodeContext.Relocatable
-
-
Field Summary
Fields Modifier and Type Field Description private CodeContext.Offsetdestinationprivate intopcodeprivate CodeContext.Insertersource
-
Constructor Summary
Constructors Constructor Description Branch(int opcode, CodeContext.Offset destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgrow()Grows the code if the relocation cannot be done without growing code.voidrelocate()Relocates this object.
-
-
-
Field Detail
-
opcode
private int opcode
-
source
private CodeContext.Inserter source
-
destination
private final CodeContext.Offset destination
-
-
Constructor Detail
-
Branch
Branch(int opcode, CodeContext.Offset destination)
-
-
Method Detail
-
grow
public void grow()
Description copied from class:CodeContext.RelocatableGrows the code if the relocation cannot be done without growing code.- Specified by:
growin classCodeContext.Relocatable
-
relocate
public void relocate()
Description copied from class:CodeContext.RelocatableRelocates this object.- Specified by:
relocatein classCodeContext.Relocatable
-
-