Package jadx.core.dex.info
Class MethodInfo
java.lang.Object
jadx.core.dex.info.MethodInfo
- All Implemented Interfaces:
Comparable<MethodInfo>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintcompareTo(MethodInfo other) booleanstatic MethodInfostatic MethodInfofromMethodProto(RootNode root, ClassInfo declClass, String name, IMethodProto proto) static MethodInfofromRef(RootNode root, IMethodRef methodRef) getAlias()intgetName()Method name and signaturebooleanhasAlias()inthashCode()booleanbooleanbooleanisOverloadedBy(MethodInfo otherMthInfo) static StringmakeShortId(String name, List<ArgType> argTypes, @Nullable ArgType retType) makeSignature(boolean includeRetType) makeSignature(boolean useAlias, boolean includeRetType) voidvoidtoString()
-
Field Details
-
name
-
retType
-
argTypes
-
declClass
-
shortId
-
rawFullId
-
hash
private final int hash -
alias
-
-
Constructor Details
-
MethodInfo
-
-
Method Details
-
fromRef
-
fromDetails
-
fromMethodProto
public static MethodInfo fromMethodProto(RootNode root, ClassInfo declClass, String name, IMethodProto proto) -
makeSignature
-
makeSignature
-
makeShortId
-
isOverloadedBy
-
getName
-
getFullName
-
getAliasFullName
-
getFullId
-
getRawFullId
-
getShortId
Method name and signature -
getDeclClass
-
getReturnType
-
getArgumentsTypes
-
getArgsCount
public int getArgsCount() -
isConstructor
public boolean isConstructor() -
isClassInit
public boolean isClassInit() -
getAlias
-
setAlias
-
removeAlias
public void removeAlias() -
hasAlias
public boolean hasAlias() -
calcHashCode
public int calcHashCode() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<MethodInfo>
-
toString
-