#NEWLINE# def method_descriptor( descriptor ) : #NEWLINE# #INDENT# matches = FIELD_DESCRIPTOR_RE . findall ( descriptor ) #NEWLINE# return MethodDescriptor ( parameters = matches [ : ( - 1 ) ] , return_type = matches [ ( - 1 ) ] )