Class BuilderSparseSwitchPayload
java.lang.Object
org.jf.dexlib2.builder.BuilderInstruction
org.jf.dexlib2.builder.BuilderSwitchPayload
org.jf.dexlib2.builder.instruction.BuilderSparseSwitchPayload
- All Implemented Interfaces:
SparseSwitchPayload,Instruction,PayloadInstruction,SwitchPayload
-
Field Summary
FieldsFields inherited from class org.jf.dexlib2.builder.BuilderInstruction
opcode -
Constructor Summary
ConstructorsConstructorDescriptionBuilderSparseSwitchPayload(List<? extends SwitchLabelElement> switchElements) -
Method Summary
Modifier and TypeMethodDescriptionintGets the size of this instruction.Methods inherited from class org.jf.dexlib2.builder.BuilderSwitchPayload
getReferrerMethods inherited from class org.jf.dexlib2.builder.BuilderInstruction
getLocation, getOpcodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.instruction.Instruction
getOpcode
-
Field Details
-
OPCODE
-
switchElements
-
-
Constructor Details
-
BuilderSparseSwitchPayload
-
-
Method Details
-
getSwitchElements
- Specified by:
getSwitchElementsin interfaceSwitchPayload- Specified by:
getSwitchElementsin classBuilderSwitchPayload
-
getCodeUnits
public int getCodeUnits()Description copied from interface:InstructionGets the size of this instruction.- Specified by:
getCodeUnitsin interfaceInstruction- Overrides:
getCodeUnitsin classBuilderInstruction- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-
getFormat
- Specified by:
getFormatin classBuilderInstruction
-