added getParent() method for CodeItem

git-svn-id: https://smali.googlecode.com/svn/trunk@374 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-08-08 21:29:02 +00:00
parent 149225a27f
commit b99bf47d67

View File

@ -314,6 +314,13 @@ public class CodeItem extends Item<CodeItem> {
this.parent = methodIdItem;
}
/**
* @return the MethodIdItem of the method that this CodeItem belongs to
*/
public MethodIdItem getParent() {
return parent;
}
public static class TryItem {
/**
* The address (in 2-byte words) within the code where the try block starts