#NEWLINE# @ staticmethod #NEWLINE# def _add_agent_manifest( agent , manifest ) : #NEWLINE# #INDENT# manifest . addentry ( Manifest . MANIFEST_VERSION , '1.0' ) #NEWLINE# if agent . premain : #NEWLINE# #INDENT# manifest . addentry ( 'Premain-Class' , agent . premain ) #NEWLINE# #UNINDENT# if agent . agent_class : #NEWLINE# #INDENT# manifest . addentry ( 'Agent-Class' , agent . agent_class ) #NEWLINE# #UNINDENT# if agent . can_redefine : #NEWLINE# #INDENT# manifest . addentry ( 'Can-Redefine-Classes' , 'true' ) #NEWLINE# #UNINDENT# if agent . can_retransform : #NEWLINE# #INDENT# manifest . addentry ( 'Can-Retransform-Classes' , 'true' ) #NEWLINE# #UNINDENT# if agent . can_set_native_method_prefix : #NEWLINE# #INDENT# manifest . addentry ( 'Can-Set-Native-Method-Prefix' , 'true' )