code: public static ApplicationFeatureViewModel newViewModel(
              final ApplicationFeatureId featureId,
              final ApplicationFeatureRepositoryDefault applicationFeatureRepository,
              final DomainObjectContainer container) {
          final Class<? extends ApplicationFeatureViewModel> cls = viewModelClassFor(featureId, applicationFeatureRepository);
          if(cls == null) {
              // TODO: not sure why, yet...
              return null;
          }
          return container.newViewModelInstance(cls, featureId.asEncodedString());
      }
docs: region > constructors