| Modifier and Type | Field and Description |
|---|---|
| private final Constant | arrayType
non-null: type of the array. |
| private final ArrayList | initValues
non-null: initial values to fill the newly created array |
| Access | Constructor and Description |
|---|---|
| public | FillArrayDataInsn(Rop
non-null; the opcodenon-null; source positionnon-null; specs for all the sourcesnon-null; list of initial values to fill the arraynon-null; type of the new arrayConstructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Insn.
non-null; the visitor to call onImplements abstract org. |
| public TypeList | getCatches()
Implements abstract org. |
| public Constant | |
| public ArrayList | |
| public Insn | withAddedCatch(Type
non-null; type to append to the catch listImplements abstract org. |
| public Insn | withNewRegisters(RegisterSpec
null-ok; new result registernon-null; new sources registersImplements abstract org. |
| public Insn | withRegisterOffset(int
the amount to offset register references by delta)Implements abstract org. |
| arrayType | back to summary |
|---|---|
| private final Constant arrayType non-null: type of the array. Will be used to determine the width of elements in the array-data table. | |
| initValues | back to summary |
|---|---|
| private final ArrayList<Constant> initValues non-null: initial values to fill the newly created array | |
| FillArrayDataInsn | back to summary |
|---|---|
| public FillArrayDataInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, ArrayList<Constant> initValues, Constant cst) Constructs an instance.
| |
| accept | back to summary |
|---|---|
| public void accept(Insn. Implements abstract org. Doc from org. Calls the appropriate method on the given visitor, depending on the class of this instance. Subclasses must override this. | |
| getCatches | back to summary |
|---|---|
| public TypeList getCatches() Implements abstract org. Doc from org. Gets the list of possibly-caught exceptions. This returns | |
| getConstant | back to summary |
|---|---|
| public Constant getConstant() Return the type of the newly created array
| |
| getInitValues | back to summary |
|---|---|
| public ArrayList Return the list of init values | |
| withAddedCatch | back to summary |
|---|---|
| public Insn withAddedCatch(Type type) Implements abstract org. Doc from org. Returns an instance that is just like this one, except that it
has a catch list with the given item appended to the end. This
method throws an exception if this instance can't possibly
throw. To determine whether this instruction can throw, use
| |
| withNewRegisters | back to summary |
|---|---|
| public Insn withNewRegisters(RegisterSpec result, RegisterSpecList sources) Implements abstract org. Doc from org. Returns an instance that is just like this one, except with new result and source registers.
| |
| withRegisterOffset | back to summary |
|---|---|
| public Insn withRegisterOffset(int delta) Implements abstract org. Doc from org. Returns an instance that is just like this one, except that all register references have been offset by the given delta. | |