Class ImmutableInstructionFactory
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstructionFactory
-
- All Implemented Interfaces:
InstructionFactory<Reference>
public class ImmutableInstructionFactory extends java.lang.Object implements InstructionFactory<Reference>
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableInstructionFactoryINSTANCE
-
Method Summary
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableInstructionFactory INSTANCE
-
-
Method Detail
-
makeInstruction10t
public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, int codeOffset)
- Specified by:
makeInstruction10tin interfaceInstructionFactory<Reference>
-
makeInstruction10x
public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode)
- Specified by:
makeInstruction10xin interfaceInstructionFactory<Reference>
-
makeInstruction11n
public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal)
- Specified by:
makeInstruction11nin interfaceInstructionFactory<Reference>
-
makeInstruction11x
public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, int registerA)
- 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
public ImmutableInstruction20t makeInstruction20t(@Nonnull Opcode opcode, int codeOffset)
- 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
public ImmutableInstruction30t makeInstruction30t(@Nonnull Opcode opcode, int codeOffset)
- 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 java.util.List<? extends SwitchElement> switchElements)
- Specified by:
makeSparseSwitchPayloadin interfaceInstructionFactory<Reference>
-
makePackedSwitchPayload
public ImmutablePackedSwitchPayload makePackedSwitchPayload(@Nullable java.util.List<? extends SwitchElement> switchElements)
- Specified by:
makePackedSwitchPayloadin interfaceInstructionFactory<Reference>
-
makeArrayPayload
public ImmutableArrayPayload makeArrayPayload(int elementWidth, @Nullable java.util.List<java.lang.Number> arrayElements)
- Specified by:
makeArrayPayloadin interfaceInstructionFactory<Reference>
-
-