Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractInstruction.UnboundIncrementInstruction
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractInstruction
org.glavo.classfile.impl.AbstractInstruction.UnboundInstruction
org.glavo.classfile.impl.AbstractInstruction.UnboundIncrementInstruction
- All Implemented Interfaces:
ClassfileElement,CodeElement,Instruction,IncrementInstruction
- Enclosing class:
AbstractInstruction
public static final class AbstractInstruction.UnboundIncrementInstruction
extends AbstractInstruction.UnboundInstruction
implements IncrementInstruction
-
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.BoundLoadConstantInstruction, AbstractInstruction.BoundLoadInstruction, AbstractInstruction.BoundLookupSwitchInstruction, AbstractInstruction.BoundNewMultidimensionalArrayInstruction, AbstractInstruction.BoundNewObjectInstruction, AbstractInstruction.BoundNewPrimitiveArrayInstruction, AbstractInstruction.BoundNewReferenceArrayInstruction, 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.UnboundLoadConstantInstruction, AbstractInstruction.UnboundLoadInstruction, AbstractInstruction.UnboundLookupSwitchInstruction, AbstractInstruction.UnboundMonitorInstruction, AbstractInstruction.UnboundNewMultidimensionalArrayInstruction, AbstractInstruction.UnboundNewObjectInstruction, AbstractInstruction.UnboundNewPrimitiveArrayInstruction, AbstractInstruction.UnboundNewReferenceArrayInstruction, AbstractInstruction.UnboundNopInstruction, AbstractInstruction.UnboundOperatorInstruction, AbstractInstruction.UnboundReturnInstruction, AbstractInstruction.UnboundStackInstruction, AbstractInstruction.UnboundStoreInstruction, AbstractInstruction.UnboundTableSwitchInstruction, AbstractInstruction.UnboundThrowInstruction, AbstractInstruction.UnboundTypeCheckInstruction -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
UnboundIncrementInstruction
public UnboundIncrementInstruction(int slot, int constant)
-
-
Method Details
-
slot
public int slot()Description copied from interface:IncrementInstructionReturns the local variable slot to increment.- Specified by:
slotin interfaceIncrementInstruction- Returns:
- the local variable slot to increment
-
constant
public int constant()Description copied from interface:IncrementInstructionReturns the value to increment by.- Specified by:
constantin interfaceIncrementInstruction- Returns:
- the value to increment by
-
writeTo
- Overrides:
writeToin classAbstractInstruction.UnboundInstruction
-
toString
- Overrides:
toStringin classAbstractInstruction.UnboundInstruction
-