mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 04:10:13 +02:00
Added support for the case when the end/restart local directives don't have the name/type/signature information (i.e. when ending a register that contained a parameter, instead of a local defined with a previous .local directive)
git-svn-id: https://smali.googlecode.com/svn/trunk@189 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
280fc21738
commit
3a4eafc4d9
@ -44,14 +44,23 @@ public class LocalDebugMethodItem extends DebugMethodItem {
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
if (local.type == null) {
|
||||
return null;
|
||||
}
|
||||
return local.type.getTypeDescriptor();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
if (local.name == null) {
|
||||
return null;
|
||||
}
|
||||
return local.name.getStringValue();
|
||||
}
|
||||
|
||||
public String getSignature() {
|
||||
if (local.signature == null) {
|
||||
return null;
|
||||
}
|
||||
return local.signature.getStringValue();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user