GROOVY-6384: add a direct method call logic for Class.forName(x)