public class ArithNode extends InsnNode
| Constructor and Description |
|---|
ArithNode(ArithOp op,
@Nullable RegisterArg res,
InsnArg a,
InsnArg b) |
| Modifier and Type | Method and Description |
|---|---|
static ArithNode |
build(jadx.api.plugins.input.insns.InsnData insn,
ArithOp op,
ArgType type) |
static ArithNode |
buildLit(jadx.api.plugins.input.insns.InsnData insn,
ArithOp op,
ArgType type) |
InsnNode |
copy()
Make copy of InsnNode object.
|
ArithOp |
getOp() |
boolean |
isSame(InsnNode obj)
'Soft' equals, don't compare arguments, only instruction specific parameters.
|
static ArithNode |
oneArgOp(ArithOp op,
InsnArg res,
InsnArg a)
Create one argument arithmetic instructions (a+=2).
|
java.lang.String |
toString() |
addArg, addLit, addLit, addReg, addReg, appendArgs, attachArg, canRemoveResult, canReorder, canThrowException, containsArg, containsVar, containsWrappedInsn, copy, copyAttributesFrom, copyCommonParams, copyWithNewSsaVar, copyWithoutResult, copyWithoutSsa, equals, getArg, getArgIndex, getArgsCount, getArguments, getOffset, getRegisterArgs, getResult, getType, hashCode, inheritMetadata, isConstInsn, isDeepEquals, rebindArgs, removeArg, removeArg, replaceArg, setArg, setOffset, setResult, visitArgs, visitArgs, visitInsns, visitInsns, wrapArgaddSourceLineFrom, copyLines, getDefPosition, getSourceLine, setDefPosition, setSourceLineadd, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributespublic ArithNode(ArithOp op, @Nullable @Nullable RegisterArg res, InsnArg a, InsnArg b)
public static ArithNode build(jadx.api.plugins.input.insns.InsnData insn, ArithOp op, ArgType type)
public static ArithNode buildLit(jadx.api.plugins.input.insns.InsnData insn, ArithOp op, ArgType type)
public static ArithNode oneArgOp(ArithOp op, InsnArg res, InsnArg a)
res - argument to changepublic ArithOp getOp()
public boolean isSame(InsnNode obj)
InsnNodepublic InsnNode copy()
InsnNodeInsnNode.copyWithoutResult() to explicitly state that result not needed
InsnNode.copy(RegisterArg) to provide new result arg
InsnNode.copyWithNewSsaVar(MethodNode) to make new SSA variable for result arg