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.Offset
destination
private boolean
expanded
private int
opcode
private CodeContext.Inserter
source
-
Constructor Summary
Constructors Constructor Description Branch(int opcode, CodeContext.Offset destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
relocate()
Relocate this object.
-
-
-
Field Detail
-
expanded
private boolean expanded
-
opcode
private final int opcode
-
source
private final CodeContext.Inserter source
-
destination
private final CodeContext.Offset destination
-
-
Constructor Detail
-
Branch
public Branch(int opcode, CodeContext.Offset destination)
-
-
Method Detail
-
relocate
public boolean relocate()
Description copied from class:CodeContext.Relocatable
Relocate this object.- Specified by:
relocate
in classCodeContext.Relocatable
- Returns:
- true if the relocation succeeded in place false if the relocation grew the number of bytes required
-
-