Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractInstruction.BoundJsrInstruction
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundJsrInstruction
- All Implemented Interfaces:
ClassFileElement,CodeElement,Instruction,DiscontinuedInstruction,DiscontinuedInstruction.JsrInstruction
- Enclosing class:
AbstractInstruction
public static final class AbstractInstruction.BoundJsrInstruction
extends AbstractInstruction.BoundInstruction
implements DiscontinuedInstruction.JsrInstruction
-
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.UnboundTypeCheckInstructionNested classes/interfaces inherited from interface org.glavo.classfile.instruction.DiscontinuedInstruction
DiscontinuedInstruction.JsrInstruction, DiscontinuedInstruction.RetInstruction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninttarget()Returns the target of the JSR instruction.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
-
BoundJsrInstruction
-
-
Method Details
-
target
Description copied from interface:DiscontinuedInstruction.JsrInstructionReturns the target of the JSR instruction.- Specified by:
targetin interfaceDiscontinuedInstruction.JsrInstruction- Returns:
- the target of the JSR instruction
-
branchByteOffset
public int branchByteOffset() -
writeTo
- Overrides:
writeToin classAbstractInstruction.BoundInstruction
-
toString
-