GROOVY-7178: Prefer Collections.emptyList/singletonList in favor of ArrayList.