LPS-34360 Implement grouping logic for each interpreter

requires finder methods from
https://github.com/johnnyhowey/liferay-portal/pull/19