Class DexMethodRef

java.lang.Object
jadx.plugins.input.dex.sections.DexMethodRef
All Implemented Interfaces:
IMethodProto, IMethodRef, ICustomPayload

public class DexMethodRef extends Object implements IMethodRef
  • Field Details

    • uniqId

      private int uniqId
    • name

      private String name
    • parentClassType

      private String parentClassType
    • returnType

      private String returnType
    • argTypes

      private List<String> argTypes
    • dexIdx

      private int dexIdx
    • sectionReader

      private SectionReader sectionReader
  • Constructor Details

    • DexMethodRef

      public DexMethodRef()
  • Method Details

    • initUniqId

      public void initUniqId(DexReader dexReader, int idx)
    • load

      public void load()
      Description copied from interface: IMethodRef
      Lazy loading for method info, until load() is called only getUniqId() can be used
      Specified by:
      load in interface IMethodRef
    • setDexIdx

      public void setDexIdx(int dexIdx)
    • setSectionReader

      public void setSectionReader(SectionReader sectionReader)
    • getUniqId

      public int getUniqId()
      Description copied from interface: IMethodRef
      Method unique id (will be used for caching).
      Specified by:
      getUniqId in interface IMethodRef
      Returns:
      0 if can't calculate good unique identifier (disable caching)
    • reset

      public void reset()
    • getParentClassType

      public String getParentClassType()
      Specified by:
      getParentClassType in interface IMethodRef
    • setParentClassType

      public void setParentClassType(String parentClassType)
    • getName

      public String getName()
      Specified by:
      getName in interface IMethodRef
    • setName

      public void setName(String name)
    • getReturnType

      public String getReturnType()
      Specified by:
      getReturnType in interface IMethodProto
    • setReturnType

      public void setReturnType(String returnType)
    • getArgTypes

      public List<String> getArgTypes()
      Specified by:
      getArgTypes in interface IMethodProto
    • setArgTypes

      public void setArgTypes(List<String> argTypes)
    • toString

      public String toString()
      Overrides:
      toString in class Object