private static @Nullable PsiType doGetEnhancedType(@NotNull GrFieldImpl field) {
    if (field.getDeclaredType() == null && field.getInitializerGroovy() == null) {
      final PsiType type1 = GrVariableEnhancer.getEnhancedType(field);
      if (type1 != null) {
        return type1;
      }
    }
    return null;
  }
private static @Nullable PsiType doGetEnhancedType(@NotNull GrFieldImpl field)