Package jadx.core.dex.nodes.utils
Class MethodUtils
- java.lang.Object
-
- jadx.core.dex.nodes.utils.MethodUtils
-
public class MethodUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MethodUtils(RootNode rootNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IMethodDetails>collectOverloadedMethods(ArgType startCls, MethodInfo mthInfo)@Nullable IMethodDetailsgetMethodDetails(MethodInfo callMth)@Nullable IMethodDetailsgetMethodDetails(BaseInvokeNode invokeNode)@Nullable ArgTypegetMethodGenericReturnType(BaseInvokeNode invokeNode)ClassInfogetMethodOriginDeclClass(MethodNode mth)@Nullable IMethodDetailsgetOverrideBaseMth(MethodNode mth)booleanisMethodArgsOverloaded(ArgType startCls, MethodInfo mthInfo)Search methods with same name and args count in class hierarchy starting fromstartClsBewarestartClscan be different frommthInfo.getDeclClass()booleanisSkipArg(BaseInvokeNode invokeNode, InsnArg arg)@Nullable MethodNoderesolveMethod(BaseInvokeNode invokeNode)
-
-
-
Constructor Detail
-
MethodUtils
public MethodUtils(RootNode rootNode)
-
-
Method Detail
-
getMethodDetails
@Nullable public @Nullable IMethodDetails getMethodDetails(BaseInvokeNode invokeNode)
-
getMethodDetails
@Nullable public @Nullable IMethodDetails getMethodDetails(MethodInfo callMth)
-
resolveMethod
@Nullable public @Nullable MethodNode resolveMethod(BaseInvokeNode invokeNode)
-
isSkipArg
public boolean isSkipArg(BaseInvokeNode invokeNode, InsnArg arg)
-
isMethodArgsOverloaded
public boolean isMethodArgsOverloaded(ArgType startCls, MethodInfo mthInfo)
Search methods with same name and args count in class hierarchy starting fromstartClsBewarestartClscan be different frommthInfo.getDeclClass()
-
collectOverloadedMethods
public java.util.List<IMethodDetails> collectOverloadedMethods(ArgType startCls, MethodInfo mthInfo)
-
getMethodGenericReturnType
@Nullable public @Nullable ArgType getMethodGenericReturnType(BaseInvokeNode invokeNode)
-
getOverrideBaseMth
@Nullable public @Nullable IMethodDetails getOverrideBaseMth(MethodNode mth)
-
getMethodOriginDeclClass
public ClassInfo getMethodOriginDeclClass(MethodNode mth)
-
-