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 ImmutableInstructionFactory
INSTANCE
-
Method Summary
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableInstructionFactory INSTANCE
-
-
Method Detail
-
makeInstruction10t
public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, int codeOffset)
- Specified by:
makeInstruction10t
in interfaceInstructionFactory<Reference>
-
makeInstruction10x
public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode)
- Specified by:
makeInstruction10x
in interfaceInstructionFactory<Reference>
-
makeInstruction11n
public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal)
- Specified by:
makeInstruction11n
in interfaceInstructionFactory<Reference>
-
makeInstruction11x
public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, int registerA)
- Specified by:
makeInstruction11x
in interfaceInstructionFactory<Reference>
-
makeInstruction12x
public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB)
- Specified by:
makeInstruction12x
in interfaceInstructionFactory<Reference>
-
makeInstruction20bc
public ImmutableInstruction20bc makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Reference reference)
- Specified by:
makeInstruction20bc
in interfaceInstructionFactory<Reference>
-
makeInstruction20t
public ImmutableInstruction20t makeInstruction20t(@Nonnull Opcode opcode, int codeOffset)
- Specified by:
makeInstruction20t
in interfaceInstructionFactory<Reference>
-
makeInstruction21c
public ImmutableInstruction21c makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Reference reference)
- Specified by:
makeInstruction21c
in interfaceInstructionFactory<Reference>
-
makeInstruction21ih
public ImmutableInstruction21ih makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal)
- Specified by:
makeInstruction21ih
in interfaceInstructionFactory<Reference>
-
makeInstruction21lh
public ImmutableInstruction21lh makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal)
- Specified by:
makeInstruction21lh
in interfaceInstructionFactory<Reference>
-
makeInstruction21s
public ImmutableInstruction21s makeInstruction21s(@Nonnull Opcode opcode, int registerA, int literal)
- Specified by:
makeInstruction21s
in interfaceInstructionFactory<Reference>
-
makeInstruction21t
public ImmutableInstruction21t makeInstruction21t(@Nonnull Opcode opcode, int registerA, int codeOffset)
- Specified by:
makeInstruction21t
in interfaceInstructionFactory<Reference>
-
makeInstruction22b
public ImmutableInstruction22b makeInstruction22b(@Nonnull Opcode opcode, int registerA, int registerB, int literal)
- Specified by:
makeInstruction22b
in interfaceInstructionFactory<Reference>
-
makeInstruction22c
public ImmutableInstruction22c makeInstruction22c(@Nonnull Opcode opcode, int registerA, int registerB, @Nonnull Reference reference)
- Specified by:
makeInstruction22c
in interfaceInstructionFactory<Reference>
-
makeInstruction22s
public ImmutableInstruction22s makeInstruction22s(@Nonnull Opcode opcode, int registerA, int registerB, int literal)
- Specified by:
makeInstruction22s
in interfaceInstructionFactory<Reference>
-
makeInstruction22t
public ImmutableInstruction22t makeInstruction22t(@Nonnull Opcode opcode, int registerA, int registerB, int codeOffset)
- Specified by:
makeInstruction22t
in interfaceInstructionFactory<Reference>
-
makeInstruction22x
public ImmutableInstruction22x makeInstruction22x(@Nonnull Opcode opcode, int registerA, int registerB)
- Specified by:
makeInstruction22x
in interfaceInstructionFactory<Reference>
-
makeInstruction23x
public ImmutableInstruction23x makeInstruction23x(@Nonnull Opcode opcode, int registerA, int registerB, int registerC)
- Specified by:
makeInstruction23x
in interfaceInstructionFactory<Reference>
-
makeInstruction30t
public ImmutableInstruction30t makeInstruction30t(@Nonnull Opcode opcode, int codeOffset)
- Specified by:
makeInstruction30t
in interfaceInstructionFactory<Reference>
-
makeInstruction31c
public ImmutableInstruction31c makeInstruction31c(@Nonnull Opcode opcode, int registerA, @Nonnull Reference reference)
- Specified by:
makeInstruction31c
in interfaceInstructionFactory<Reference>
-
makeInstruction31i
public ImmutableInstruction31i makeInstruction31i(@Nonnull Opcode opcode, int registerA, int literal)
- Specified by:
makeInstruction31i
in interfaceInstructionFactory<Reference>
-
makeInstruction31t
public ImmutableInstruction31t makeInstruction31t(@Nonnull Opcode opcode, int registerA, int codeOffset)
- Specified by:
makeInstruction31t
in interfaceInstructionFactory<Reference>
-
makeInstruction32x
public ImmutableInstruction32x makeInstruction32x(@Nonnull Opcode opcode, int registerA, int registerB)
- Specified by:
makeInstruction32x
in 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:
makeInstruction35c
in interfaceInstructionFactory<Reference>
-
makeInstruction3rc
public ImmutableInstruction3rc makeInstruction3rc(@Nonnull Opcode opcode, int startRegister, int registerCount, @Nonnull Reference reference)
- Specified by:
makeInstruction3rc
in interfaceInstructionFactory<Reference>
-
makeInstruction51l
public ImmutableInstruction51l makeInstruction51l(@Nonnull Opcode opcode, int registerA, long literal)
- Specified by:
makeInstruction51l
in interfaceInstructionFactory<Reference>
-
makeSparseSwitchPayload
public ImmutableSparseSwitchPayload makeSparseSwitchPayload(@Nullable java.util.List<? extends SwitchElement> switchElements)
- Specified by:
makeSparseSwitchPayload
in interfaceInstructionFactory<Reference>
-
makePackedSwitchPayload
public ImmutablePackedSwitchPayload makePackedSwitchPayload(@Nullable java.util.List<? extends SwitchElement> switchElements)
- Specified by:
makePackedSwitchPayload
in interfaceInstructionFactory<Reference>
-
makeArrayPayload
public ImmutableArrayPayload makeArrayPayload(int elementWidth, @Nullable java.util.List<java.lang.Number> arrayElements)
- Specified by:
makeArrayPayload
in interfaceInstructionFactory<Reference>
-
-