public static @Nullable PsiJavaModule findNonAutomaticDescriptorByModule(@Nullable Module module, boolean inTests) {
    PsiJavaModule javaModule = findDescriptorByModule(module, inTests);
    return javaModule instanceof LightJavaModule ? null : javaModule;
  }
public static @Nullable PsiJavaModule findNonAutomaticDescriptorByModule(@Nullable Module module, boolean inTests)