<commit_before>execution
prepareFullExecutionInContext: aToolContext
	super prepareFullExecutionInContext: aToolContext.
	
	methodGroup := aToolContext lastSelectedMethodGroup.
	newName := UIManager default 
		request: 'New name of protocol' 
		initialAnswer: methodGroup name 
		title: 'Rename protocol'.
	newName isEmptyOrNil | (newName = methodGroup name) ifTrue: [ CmdCommandAborted signal ]<commit_msg>add notification to user that star protocol convention is forbidden <commit_after>execution
prepareFullExecutionInContext: aToolContext
	super prepareFullExecutionInContext: aToolContext.
	
	methodGroup := aToolContext lastSelectedMethodGroup.
	newName := UIManager default 
		request: 'New name of protocol' 
		initialAnswer: methodGroup name 
		title: 'Rename protocol'.
	newName isEmptyOrNil | (newName = methodGroup name) ifTrue: [ CmdCommandAborted signal ].
	(newName beginsWith: '*') ifTrue: [ 
		self inform: 'Star is forbidden for protocol name. You can move methods to package using context menu command or drag and drop operation'.
		^CmdCommandAborted signal].
{'fraction_non_alphanumeric': 0.0639481000926784, 'fraction_numerical': 0.0, 'mean_word_length': 5.7924528301886795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3962877', 'n_tokens_mistral': 305, 'n_tokens_neox': 282, 'n_words': 100}