ThrowingCstInsnpublic final class ThrowingCstInsn extends CstInsn Instruction which contains an explicit reference to a constant
and which might throw an exception. |
Fields Summary |
---|
private final com.android.dx.rop.type.TypeList | catchesnon-null; list of exceptions caught |
Methods Summary |
---|
public void | accept(Visitor visitor){@inheritDoc}
visitor.visitThrowingCstInsn(this);
| public com.android.dx.rop.type.TypeList | getCatches(){@inheritDoc}
return catches;
| public java.lang.String | getInlineString(){@inheritDoc}
return getConstant().toHuman() + " " +
ThrowingInsn.toCatchString(catches);
| public Insn | withAddedCatch(com.android.dx.rop.type.Type type){@inheritDoc}
return new ThrowingCstInsn(getOpcode(), getPosition(),
getSources(), catches.withAddedType(type),
getConstant());
| public Insn | withNewRegisters(RegisterSpec result, RegisterSpecList sources){@inheritDoc}
return new ThrowingCstInsn(getOpcode(), getPosition(),
sources,
catches,
getConstant());
| public Insn | withRegisterOffset(int delta){@inheritDoc}
return new ThrowingCstInsn(getOpcode(), getPosition(),
getSources().withOffset(delta),
catches,
getConstant());
|
|