code: @NonNull
      private Class<?> getBuildConfigClass(@NonNull Context context, @NonNull CoreConfiguration config) throws ClassNotFoundException {
          final Class configuredBuildConfig = config.buildConfigClass();
          if (!configuredBuildConfig.equals(Object.class)) {
              // If set via annotations or programmatically then it will have a real value,
              // otherwise it will be Object.class (default).
              return configuredBuildConfig;
          }
  
          final String className = context.getPackageName() + ".BuildConfig";
          return Class.forName(className);
      }
docs: get the configured BuildConfigClass or guess it if not configured
  
  @return the BuildConfigClass
  @throws ClassNotFoundException if the class cannot be found