#NEWLINE# @ classmethod #NEWLINE# def read( cls , stream ) : #NEWLINE# #INDENT# self = cls ( ) #NEWLINE# self . minor_version = stream . read_u16 ( ) #NEWLINE# self . major_version = stream . read_u16 ( ) #NEWLINE# assert ( self . minor_version == 16 ) #NEWLINE# assert ( self . major_version == 46 ) #NEWLINE# self . constant_pool = CPoolInfo . read ( stream ) #NEWLINE# index = Index ( self ) #NEWLINE# method_count = stream . read_u30 ( ) #NEWLINE# self . method_info = [ MethodInfo . read ( stream , index ) for i in range ( method_count ) ] #NEWLINE# metadata_count = stream . read_u30 ( ) #NEWLINE# self . metadata_info = [ MetadataInfo . read ( stream , index ) for i in range ( metadata_count ) ] #NEWLINE# class_count = stream . read_u30 ( ) #NEWLINE# instance_info = [ InstanceInfo . read ( stream , index ) for i in range ( class_count ) ] #NEWLINE# self . class_info = [ ClassInfo . read ( stream , index , instance_info [ i ] ) for i in range ( class_count ) ] #NEWLINE# script_count = stream . read_u30 ( ) #NEWLINE# self . script_info = [ ScriptInfo . read ( stream , index ) for i in range ( script_count ) ] #NEWLINE# method_body_count = stream . read_u30 ( ) #NEWLINE# self . method_body_info = [ MethodBodyInfo . read ( metadata_count , index ) for i in range ( method_body_count ) ] #NEWLINE# assert ( not stream . read ( 1 ) ) #NEWLINE# return self