String (GrCreateClassKind createClassKind) { return switch (createClassKind) { case TRAIT -> GroovyTemplates.GROOVY_TRAIT; case ENUM -> GroovyTemplates.GROOVY_ENUM; case CLASS -> GroovyTemplates.GROOVY_CLASS; case INTERFACE -> GroovyTemplates.GROOVY_INTERFACE; case ANNOTATION -> GroovyTemplates.GROOVY_ANNOTATION; case RECORD -> GroovyTemplates.GROOVY_RECORD; }; }