Package jadx.core.dex.instructions
Class InvokeCustomNode
- java.lang.Object
-
- jadx.core.dex.attributes.AttrNode
-
- jadx.core.dex.attributes.nodes.LineAttrNode
-
- jadx.core.dex.nodes.InsnNode
-
- jadx.core.dex.instructions.BaseInvokeNode
-
- jadx.core.dex.instructions.InvokeNode
-
- jadx.core.dex.instructions.InvokeCustomNode
-
- All Implemented Interfaces:
IAttributeNode,ILineAttributeNode
public class InvokeCustomNode extends InvokeNode
-
-
Constructor Summary
Constructors Constructor Description InvokeCustomNode(MethodInfo lambdaInfo, jadx.api.plugins.input.insns.InsnData insn, boolean instanceCall, boolean isRange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsnNodecopy()Make copy of InsnNode object.InsnNodegetCallInsn()intgetFirstArgOffset()Return offset to match method args fromBaseInvokeNode.getCallMth()jadx.api.plugins.input.data.MethodHandleTypegetHandleType()MethodInfogetImplMthInfo()@Nullable InsnArggetInstanceArg()@Nullable BaseInvokeNodegetInvokeCall()booleanisInlineInsn()booleanisSame(InsnNode obj)'Soft' equals, don't compare arguments, only instruction specific parameters.booleanisStaticCall()booleanisUseRef()voidsetCallInsn(InsnNode callInsn)voidsetHandleType(jadx.api.plugins.input.data.MethodHandleType handleType)voidsetImplMthInfo(MethodInfo implMthInfo)voidsetInlineInsn(boolean inlineInsn)voidsetUseRef(boolean useRef)java.lang.StringtoString()-
Methods inherited from class jadx.core.dex.instructions.InvokeNode
getCallMth, getInvokeType, isPolymorphicCall
-
Methods inherited from class jadx.core.dex.nodes.InsnNode
addArg, addLit, addLit, addReg, addReg, appendArgs, appendAttributes, attachArg, attributesString, baseString, canRemoveResult, canReorder, canThrowException, containsArg, containsVar, containsWrappedInsn, copy, copyAttributesFrom, copyCommonParams, copyWithNewSsaVar, copyWithoutResult, copyWithoutSsa, equals, getArg, getArgIndex, getArgList, getArgsCount, getArguments, getOffset, getRegisterArgs, getResult, getType, hashCode, inheritMetadata, isConstInsn, isDeepEquals, rebindArgs, removeArg, removeArg, replaceArg, setArg, setOffset, setResult, visitArgs, visitArgs, visitInsns, visitInsns, wrapArg
-
Methods inherited from class jadx.core.dex.attributes.nodes.LineAttrNode
addSourceLineFrom, copyLines, getDefPosition, getSourceLine, setDefPosition, setSourceLine
-
Methods inherited from class jadx.core.dex.attributes.AttrNode
add, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributes
-
-
-
-
Constructor Detail
-
InvokeCustomNode
public InvokeCustomNode(MethodInfo lambdaInfo, jadx.api.plugins.input.insns.InsnData insn, boolean instanceCall, boolean isRange)
-
-
Method Detail
-
copy
public InsnNode copy()
Description copied from class:InsnNodeMake copy of InsnNode object.
NOTE: can't copy instruction with result argument (SSA variable can't be used in two different assigns).
Prefer use next methods:InsnNode.copyWithoutResult()to explicitly state that result not neededInsnNode.copy(RegisterArg)to provide new result argInsnNode.copyWithNewSsaVar(MethodNode)to make new SSA variable for result arg
- Overrides:
copyin classInvokeNode
-
isSame
public boolean isSame(InsnNode obj)
Description copied from class:InsnNode'Soft' equals, don't compare arguments, only instruction specific parameters.- Overrides:
isSamein classInvokeNode
-
getImplMthInfo
public MethodInfo getImplMthInfo()
-
setImplMthInfo
public void setImplMthInfo(MethodInfo implMthInfo)
-
getHandleType
public jadx.api.plugins.input.data.MethodHandleType getHandleType()
-
setHandleType
public void setHandleType(jadx.api.plugins.input.data.MethodHandleType handleType)
-
getCallInsn
public InsnNode getCallInsn()
-
setCallInsn
public void setCallInsn(InsnNode callInsn)
-
isInlineInsn
public boolean isInlineInsn()
-
setInlineInsn
public void setInlineInsn(boolean inlineInsn)
-
isUseRef
public boolean isUseRef()
-
setUseRef
public void setUseRef(boolean useRef)
-
getInvokeCall
@Nullable public @Nullable BaseInvokeNode getInvokeCall()
-
getInstanceArg
@Nullable public @Nullable InsnArg getInstanceArg()
- Overrides:
getInstanceArgin classInvokeNode
-
isStaticCall
public boolean isStaticCall()
- Overrides:
isStaticCallin classInvokeNode
-
getFirstArgOffset
public int getFirstArgOffset()
Description copied from class:BaseInvokeNodeReturn offset to match method args fromBaseInvokeNode.getCallMth()- Overrides:
getFirstArgOffsetin classInvokeNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classInvokeNode
-
-