private Iterable<ValueType> allKnownValuesInContext() {
    List<ValueType> values = Lists.newArrayList(nested);

    Environment environment = constitution.protoclass().environment();
    Optional<TreesIncludeMirror> include = constitution.protoclass().getTreesInclude();
    if (include.isPresent()) {
      for (Protoclass p : environment.protoclassesFrom(includedElements(include.get()))) {
        values.add(environment.composeValue(p));
      }
    }

    return values;
  }
Check if mongo repository should be generated (for annotation {@code @Mongo.Repository}).
For criteria repository see {@link #isGenerateCriteriaRepository()}
value-processor/src/org/immutables/value/processor/meta/ValueType.java