Module org.glavo.classfile
Package org.glavo.classfile.impl
Class AbstractInstruction.BoundTableSwitchInstruction
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.AbstractInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundInstruction
org.glavo.classfile.impl.AbstractInstruction.BoundTableSwitchInstruction
- All Implemented Interfaces:
ClassFileElement,CodeElement,Instruction,TableSwitchInstruction
- Enclosing class:
AbstractInstruction
public static final class AbstractInstruction.BoundTableSwitchInstruction
extends AbstractInstruction.BoundInstruction
implements TableSwitchInstruction
-
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 -
Method Summary
Modifier and TypeMethodDescriptioncases()Returns the cases of the switch.Returns the default target of the switch.intReturns the high value of the switch target range, inclusive.intlowValue()Returns the low value of the switch target range, inclusive.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
-
Method Details
-
defaultTarget
Description copied from interface:TableSwitchInstructionReturns the default target of the switch.- Specified by:
defaultTargetin interfaceTableSwitchInstruction- Returns:
- the default target of the switch
-
lowValue
public int lowValue()Description copied from interface:TableSwitchInstructionReturns the low value of the switch target range, inclusive.- Specified by:
lowValuein interfaceTableSwitchInstruction- Returns:
- the low value of the switch target range, inclusive
-
highValue
public int highValue()Description copied from interface:TableSwitchInstructionReturns the high value of the switch target range, inclusive.- Specified by:
highValuein interfaceTableSwitchInstruction- Returns:
- the high value of the switch target range, inclusive
-
cases
Description copied from interface:TableSwitchInstructionReturns the cases of the switch.- Specified by:
casesin interfaceTableSwitchInstruction- Returns:
- the cases of the switch
-
writeTo
- Overrides:
writeToin classAbstractInstruction.BoundInstruction
-
toString
-