Package jadx.plugins.input.dex.sections
Class DexMethodRef
java.lang.Object
jadx.plugins.input.dex.sections.DexMethodRef
- All Implemented Interfaces:
IMethodProto,IMethodRef,ICustomPayload
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Stringprivate Stringprivate Stringprivate SectionReaderprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intMethod unique id (will be used for caching).voidinitUniqId(DexReader dexReader, int idx) voidload()Lazy loading for method info, until load() is called only getUniqId() can be usedvoidreset()voidsetArgTypes(List<String> argTypes) voidsetDexIdx(int dexIdx) voidvoidsetParentClassType(String parentClassType) voidsetReturnType(String returnType) voidsetSectionReader(SectionReader sectionReader) toString()
-
Field Details
-
uniqId
private int uniqId -
name
-
parentClassType
-
returnType
-
argTypes
-
dexIdx
private int dexIdx -
sectionReader
-
-
Constructor Details
-
DexMethodRef
public DexMethodRef()
-
-
Method Details
-
initUniqId
-
load
public void load()Description copied from interface:IMethodRefLazy loading for method info, until load() is called only getUniqId() can be used- Specified by:
loadin interfaceIMethodRef
-
setDexIdx
public void setDexIdx(int dexIdx) -
setSectionReader
-
getUniqId
public int getUniqId()Description copied from interface:IMethodRefMethod unique id (will be used for caching).- Specified by:
getUniqIdin interfaceIMethodRef- Returns:
- 0 if can't calculate good unique identifier (disable caching)
-
reset
public void reset() -
getParentClassType
- Specified by:
getParentClassTypein interfaceIMethodRef
-
setParentClassType
-
getName
- Specified by:
getNamein interfaceIMethodRef
-
setName
-
getReturnType
- Specified by:
getReturnTypein interfaceIMethodProto
-
setReturnType
-
getArgTypes
- Specified by:
getArgTypesin interfaceIMethodProto
-
setArgTypes
-
toString
-