public static @Nullable PsiRecordComponent getComponentForField(@NotNull PsiField field) {
    return field instanceof LightRecordField ? ((LightRecordField)field).getRecordComponent() : null;
  }
public static @Nullable PsiRecordComponent getComponentForField(@NotNull PsiField field)