Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractInstruction.BoundBranchInstruction
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundBranchInstruction
- All Implemented Interfaces:
ClassFileElement,CodeElement,Instruction,BranchInstruction
- Enclosing class:
AbstractInstruction
public static final class AbstractInstruction.BoundBranchInstruction
extends AbstractInstruction.BoundInstruction
implements BranchInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.AbstractInstruction
AbstractInstruction.BoundArgumentConstantInstruction, AbstractInstruction.BoundBranchInstruction, AbstractInstruction.BoundFieldInstruction, AbstractInstruction.BoundIncrementInstruction, AbstractInstruction.BoundInstruction, AbstractInstruction.BoundInvokeDynamicInstruction, AbstractInstruction.BoundInvokeInstruction, AbstractInstruction.BoundInvokeInterfaceInstruction, AbstractInstruction.BoundJsrInstruction, AbstractInstruction.BoundLoadConstantInstruction, AbstractInstruction.BoundLoadInstruction, AbstractInstruction.BoundLookupSwitchInstruction, AbstractInstruction.BoundNewMultidimensionalArrayInstruction, AbstractInstruction.BoundNewObjectInstruction, AbstractInstruction.BoundNewPrimitiveArrayInstruction, AbstractInstruction.BoundNewReferenceArrayInstruction, AbstractInstruction.BoundRetInstruction, AbstractInstruction.BoundStoreInstruction, AbstractInstruction.BoundTableSwitchInstruction, AbstractInstruction.BoundTypeCheckInstruction, AbstractInstruction.SwitchCaseImpl, AbstractInstruction.UnboundArgumentConstantInstruction, AbstractInstruction.UnboundArrayLoadInstruction, AbstractInstruction.UnboundArrayStoreInstruction, AbstractInstruction.UnboundBranchInstruction, AbstractInstruction.UnboundConvertInstruction, AbstractInstruction.UnboundFieldInstruction, AbstractInstruction.UnboundIncrementInstruction, AbstractInstruction.UnboundInstruction, AbstractInstruction.UnboundIntrinsicConstantInstruction, AbstractInstruction.UnboundInvokeDynamicInstruction, AbstractInstruction.UnboundInvokeInstruction, AbstractInstruction.UnboundJsrInstruction, AbstractInstruction.UnboundLoadConstantInstruction, AbstractInstruction.UnboundLoadInstruction, AbstractInstruction.UnboundLookupSwitchInstruction, AbstractInstruction.UnboundMonitorInstruction, AbstractInstruction.UnboundNewMultidimensionalArrayInstruction, AbstractInstruction.UnboundNewObjectInstruction, AbstractInstruction.UnboundNewPrimitiveArrayInstruction, AbstractInstruction.UnboundNewReferenceArrayInstruction, AbstractInstruction.UnboundNopInstruction, AbstractInstruction.UnboundOperatorInstruction, AbstractInstruction.UnboundRetInstruction, AbstractInstruction.UnboundReturnInstruction, AbstractInstruction.UnboundStackInstruction, AbstractInstruction.UnboundStoreInstruction, AbstractInstruction.UnboundTableSwitchInstruction, AbstractInstruction.UnboundThrowInstruction, AbstractInstruction.UnboundTypeCheckInstruction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninttarget()Returns the target of the branch.toString()voidwriteTo(DirectCodeBuilder writer) Methods inherited from class org.glavo.classfile.impl.AbstractInstruction.BoundInstruction
offsetToLabelMethods inherited from class org.glavo.classfile.impl.AbstractInstruction
opcode, sizeInBytesMethods inherited from class org.glavo.classfile.impl.AbstractElement
writeTo, writeTo, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glavo.classfile.Instruction
opcode, sizeInBytes
-
Constructor Details
-
BoundBranchInstruction
-
-
Method Details
-
target
Description copied from interface:BranchInstructionReturns the target of the branch.- Specified by:
targetin interfaceBranchInstruction- Returns:
- the target of the branch
-
branchByteOffset
public int branchByteOffset() -
writeTo
- Overrides:
writeToin classAbstractInstruction.BoundInstruction
-
toString
-