code: public Config getConfig(Class<?> clazz) {
          Config config = DEFAULT_CONFIG;
  
          Config globalConfig = Config.Implementation.fromProperties(getConfigProperties());
          if (globalConfig != null) {
              config = new Config.Implementation(config, globalConfig);
          }
  
          Config classConfig = clazz.getAnnotation(Config.class);
          if (classConfig != null) {
              config = new Config.Implementation(config, classConfig);
          }
  
          return config;
      }
docs: NOTE: originally in RobolectricTestRunner getConfig takes Method as parameter
  and is a bit more complicated