Package org.codehaus.janino
Class CodeContext.OffsetBranch
- java.lang.Object
-
- org.codehaus.janino.CodeContext.Relocatable
-
- org.codehaus.janino.CodeContext.OffsetBranch
-
- Enclosing class:
- CodeContext
private class CodeContext.OffsetBranch extends CodeContext.Relocatable
-
-
Field Summary
Fields Modifier and Type Field Description private CodeContext.Offset
destination
private CodeContext.Offset
source
private CodeContext.Offset
where
-
Constructor Summary
Constructors Constructor Description OffsetBranch(CodeContext.Offset where, CodeContext.Offset source, CodeContext.Offset destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
relocate()
Relocate this object.
-
-
-
Field Detail
-
where
private final CodeContext.Offset where
-
source
private final CodeContext.Offset source
-
destination
private final CodeContext.Offset destination
-
-
Constructor Detail
-
OffsetBranch
public OffsetBranch(CodeContext.Offset where, CodeContext.Offset source, 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
-
-