[SPARK-2024] refectoring to get method params below 10