Esempio n. 1
0
 def read(self, reader: ClassReader):
     self.readAndCheckMagic(reader)
     self.readAndCheckVersion(reader)
     self.constantPool = readConstantPool(reader)
     self.accessFlags = reader.readUint16()
     self.thisClass = reader.readUint16()
     self.superClass = reader.readUint16()
     self.interfaces = reader.readUint16s()
     self.fields = readMembers(reader, self.constantPool)
     self.methods = readMembers(reader, self.constantPool)
     self.attributes = readAttributes(reader, self.constantPool)
Esempio n. 2
0
 def readInfo(self, reader:ClassReader):
     self.exceptionIndexTable = reader.readUint16s()