Class DexDebugVariableBundle
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.dex.DexDebugVariableBundle
A collection of
IDexDebugVariable.-
Constructor Summary
ConstructorsConstructorDescriptionCreate a bundle of debug variables. -
Method Summary
Modifier and TypeMethodDescriptionfindVariable(int reg) Find a variable by register.Format the debug variables.static DexDebugVariableBundlefrom(Collection<IDexDebugVariable> vars) Create a bundle of debug variables.booleanhasVariable(int reg) Determine whether a variable is known for a register.
-
Constructor Details
-
DexDebugVariableBundle
Create a bundle of debug variables.- Parameters:
vars- the debug variables
-
-
Method Details
-
from
Create a bundle of debug variables.- Parameters:
vars- the debug variables- Returns:
- a debug variable bundle
-
hasVariable
public boolean hasVariable(int reg) Determine whether a variable is known for a register.- Parameters:
reg- the register index- Returns:
- true if a variable is associated with the register
-
findVariable
Find a variable by register.- Parameters:
reg- the register index- Returns:
- the matching variable, or null if none
-
format
Format the debug variables.- Parameters:
dex- the dex unit used to resolve names- Returns:
- a formatted representation of the variables
-