public class RegisterFormatter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
baksmaliOptions |
options |
int |
parameterRegisterCount |
int |
registerCount |
| Constructor and Description |
|---|
RegisterFormatter(baksmaliOptions options,
int registerCount,
int parameterRegisterCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeRegisterRange(org.jf.util.IndentingWriter writer,
int startRegister,
int lastRegister)
Write out the register range value used by Format3rc.
|
void |
writeTo(org.jf.util.IndentingWriter writer,
int register)
Writes a register with the appropriate format.
|
@Nonnull public final baksmaliOptions options
public final int registerCount
public final int parameterRegisterCount
public RegisterFormatter(@Nonnull
baksmaliOptions options,
int registerCount,
int parameterRegisterCount)
public void writeRegisterRange(org.jf.util.IndentingWriter writer,
int startRegister,
int lastRegister)
throws java.io.IOException
writer - the IndentingWriter to write tostartRegister - the first register in the rangelastRegister - the last register in the rangejava.io.IOExceptionpublic void writeTo(org.jf.util.IndentingWriter writer,
int register)
throws java.io.IOException
writer - the IndentingWriter to write toregister - the register numberjava.io.IOException