classfile.py | raw changeset files shortlog |
1.1 --- a/classfile.py Sat Nov 20 21:40:48 2004 +0100 1.2 +++ b/classfile.py Sat Nov 20 21:41:45 2004 +0100 1.3 @@ -117,6 +117,9 @@ 1.4 # Some name indexes are zero to indicate special conditions. 1.5 return None 1.6 1.7 + def get_class(self): 1.8 + return self.class_file.constants[self.class_index - 1] 1.9 + 1.10 class DescriptorUtils: 1.11 1.12 "Symbol parsing."