Class ParametersInfo
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ParametersInfo
Dalvik method parameters-to-registers mapping information.
-
Constructor Summary
ConstructorsConstructorDescriptionParametersInfo(int regcnt, List<Integer> paramindexes) Create method parameter register information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGet the number of parameters.intgetParameterIndex(int index) Get a parameter register index.Indices of registers holding parameter values.intNumber of registers used to hold all method parameters (including `this` if the method is not static).inthashCode()
-
Constructor Details
-
ParametersInfo
Create method parameter register information.- Parameters:
regcnt- number of registers used to hold all method parameters (including `this` if the method is not static).paramindexes- indices of registers holding parameter values (the register index for `this` should not be included)
-
-
Method Details
-
getRegisterCount
public int getRegisterCount()Number of registers used to hold all method parameters (including `this` if the method is not static).- Returns:
- the parameter register count
-
getParameterIndices
Indices of registers holding parameter values. The register index for `this` is not included!- Returns:
- the parameter register indices
-
getParameterIndex
public int getParameterIndex(int index) Get a parameter register index.- Parameters:
index- parameter ordinal- Returns:
- the parameter register index
-
getParameterCount
public int getParameterCount()Get the number of parameters.- Returns:
- the parameter count
-
hashCode
public int hashCode() -
equals
-