Automatically marking private methods