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:
JesusFreke@JesusFreke.com 2009-06-20 22:25:35 +00:00
parent 280fc21738
commit 3a4eafc4d9

View File

@ -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();
}
}