private static boolean hasGeneratedImplementations(GrTypeDefinition clazz) {
    return PsiImplUtil.getAnnotation(clazz, GroovyCommonClassNames.GROOVY_TRANSFORM_AUTO_EXTERNALIZE) != null;
  }
private static boolean hasGeneratedImplementations(GrTypeDefinition clazz)