private List<Element> includedElements(TreesIncludeMirror include) {
    List<Element> includedElements = Lists.newArrayList();
    for (TypeMirror mirror : include.valueMirror()) {
      if (mirror.getKind() == TypeKind.DECLARED) {
        includedElements.add(((DeclaredType) mirror).asElement());
      }
    }
    return includedElements;
  }
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