Class ImmutableInstructionFactory
java.lang.Object
org.jf.dexlib2.immutable.instruction.ImmutableInstructionFactory
- All Implemented Interfaces:
InstructionFactory<Reference>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmakeArrayPayload(int elementWidth, List<Number> arrayElements) makeInstruction10t(Opcode opcode, int codeOffset) makeInstruction10x(Opcode opcode) makeInstruction11n(Opcode opcode, int registerA, int literal) makeInstruction11x(Opcode opcode, int registerA) makeInstruction12x(Opcode opcode, int registerA, int registerB) makeInstruction20bc(Opcode opcode, int verificationError, Reference reference) makeInstruction20t(Opcode opcode, int codeOffset) makeInstruction21c(Opcode opcode, int registerA, Reference reference) makeInstruction21ih(Opcode opcode, int registerA, int literal) makeInstruction21lh(Opcode opcode, int registerA, long literal) makeInstruction21s(Opcode opcode, int registerA, int literal) makeInstruction21t(Opcode opcode, int registerA, int codeOffset) makeInstruction22b(Opcode opcode, int registerA, int registerB, int literal) makeInstruction22c(Opcode opcode, int registerA, int registerB, Reference reference) makeInstruction22s(Opcode opcode, int registerA, int registerB, int literal) makeInstruction22t(Opcode opcode, int registerA, int registerB, int codeOffset) makeInstruction22x(Opcode opcode, int registerA, int registerB) makeInstruction23x(Opcode opcode, int registerA, int registerB, int registerC) makeInstruction30t(Opcode opcode, int codeOffset) makeInstruction31c(Opcode opcode, int registerA, Reference reference) makeInstruction31i(Opcode opcode, int registerA, int literal) makeInstruction31t(Opcode opcode, int registerA, int codeOffset) makeInstruction32x(Opcode opcode, int registerA, int registerB) makeInstruction35c(Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, Reference reference) makeInstruction3rc(Opcode opcode, int startRegister, int registerCount, Reference reference) makeInstruction51l(Opcode opcode, int registerA, long literal) makePackedSwitchPayload(List<? extends SwitchElement> switchElements) makeSparseSwitchPayload(List<? extends SwitchElement> switchElements)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableInstructionFactory
private ImmutableInstructionFactory()
-
-
Method Details
-
makeInstruction10t
- Specified by:
makeInstruction10tin interfaceInstructionFactory<Reference>
-
makeInstruction10x
- Specified by:
makeInstruction10xin interfaceInstructionFactory<Reference>
-
makeInstruction11n
public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal) - Specified by:
makeInstruction11nin interfaceInstructionFactory<Reference>
-
makeInstruction11x
- Specified by:
makeInstruction11xin interfaceInstructionFactory<Reference>
-
makeInstruction12x
public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB) - Specified by:
makeInstruction12xin interfaceInstructionFactory<Reference>
-
makeInstruction20bc
public ImmutableInstruction20bc makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Reference reference) - Specified by:
makeInstruction20bcin interfaceInstructionFactory<Reference>
-
makeInstruction20t
- Specified by:
makeInstruction20tin interfaceInstructionFactory<Reference>
-
makeInstruction21c
public ImmutableInstruction21c makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Reference reference) - Specified by:
makeInstruction21cin interfaceInstructionFactory<Reference>
-
makeInstruction21ih
public ImmutableInstruction21ih makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal) - Specified by:
makeInstruction21ihin interfaceInstructionFactory<Reference>
-
makeInstruction21lh
public ImmutableInstruction21lh makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal) - Specified by:
makeInstruction21lhin interfaceInstructionFactory<Reference>
-
makeInstruction21s
public ImmutableInstruction21s makeInstruction21s(@Nonnull Opcode opcode, int registerA, int literal) - Specified by:
makeInstruction21sin interfaceInstructionFactory<Reference>
-
makeInstruction21t
public ImmutableInstruction21t makeInstruction21t(@Nonnull Opcode opcode, int registerA, int codeOffset) - Specified by:
makeInstruction21tin interfaceInstructionFactory<Reference>
-
makeInstruction22b
public ImmutableInstruction22b makeInstruction22b(@Nonnull Opcode opcode, int registerA, int registerB, int literal) - Specified by:
makeInstruction22bin interfaceInstructionFactory<Reference>
-
makeInstruction22c
public ImmutableInstruction22c makeInstruction22c(@Nonnull Opcode opcode, int registerA, int registerB, @Nonnull Reference reference) - Specified by:
makeInstruction22cin interfaceInstructionFactory<Reference>
-
makeInstruction22s
public ImmutableInstruction22s makeInstruction22s(@Nonnull Opcode opcode, int registerA, int registerB, int literal) - Specified by:
makeInstruction22sin interfaceInstructionFactory<Reference>
-
makeInstruction22t
public ImmutableInstruction22t makeInstruction22t(@Nonnull Opcode opcode, int registerA, int registerB, int codeOffset) - Specified by:
makeInstruction22tin interfaceInstructionFactory<Reference>
-
makeInstruction22x
public ImmutableInstruction22x makeInstruction22x(@Nonnull Opcode opcode, int registerA, int registerB) - Specified by:
makeInstruction22xin interfaceInstructionFactory<Reference>
-
makeInstruction23x
public ImmutableInstruction23x makeInstruction23x(@Nonnull Opcode opcode, int registerA, int registerB, int registerC) - Specified by:
makeInstruction23xin interfaceInstructionFactory<Reference>
-
makeInstruction30t
- Specified by:
makeInstruction30tin interfaceInstructionFactory<Reference>
-
makeInstruction31c
public ImmutableInstruction31c makeInstruction31c(@Nonnull Opcode opcode, int registerA, @Nonnull Reference reference) - Specified by:
makeInstruction31cin interfaceInstructionFactory<Reference>
-
makeInstruction31i
public ImmutableInstruction31i makeInstruction31i(@Nonnull Opcode opcode, int registerA, int literal) - Specified by:
makeInstruction31iin interfaceInstructionFactory<Reference>
-
makeInstruction31t
public ImmutableInstruction31t makeInstruction31t(@Nonnull Opcode opcode, int registerA, int codeOffset) - Specified by:
makeInstruction31tin interfaceInstructionFactory<Reference>
-
makeInstruction32x
public ImmutableInstruction32x makeInstruction32x(@Nonnull Opcode opcode, int registerA, int registerB) - Specified by:
makeInstruction32xin interfaceInstructionFactory<Reference>
-
makeInstruction35c
public ImmutableInstruction35c makeInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) - Specified by:
makeInstruction35cin interfaceInstructionFactory<Reference>
-
makeInstruction3rc
public ImmutableInstruction3rc makeInstruction3rc(@Nonnull Opcode opcode, int startRegister, int registerCount, @Nonnull Reference reference) - Specified by:
makeInstruction3rcin interfaceInstructionFactory<Reference>
-
makeInstruction51l
public ImmutableInstruction51l makeInstruction51l(@Nonnull Opcode opcode, int registerA, long literal) - Specified by:
makeInstruction51lin interfaceInstructionFactory<Reference>
-
makeSparseSwitchPayload
public ImmutableSparseSwitchPayload makeSparseSwitchPayload(@Nullable List<? extends SwitchElement> switchElements) - Specified by:
makeSparseSwitchPayloadin interfaceInstructionFactory<Reference>
-
makePackedSwitchPayload
public ImmutablePackedSwitchPayload makePackedSwitchPayload(@Nullable List<? extends SwitchElement> switchElements) - Specified by:
makePackedSwitchPayloadin interfaceInstructionFactory<Reference>
-
makeArrayPayload
public ImmutableArrayPayload makeArrayPayload(int elementWidth, @Nullable List<Number> arrayElements) - Specified by:
makeArrayPayloadin interfaceInstructionFactory<Reference>
-