public List<ValueType> values(Class<?> type) {
    Preconditions.checkNotNull(type, "type");
    Preconditions.checkState(round != null, "not running as part of %s", ProcessorRule.class.getSimpleName());
    final TypeElement element = elements().getTypeElement(type.getCanonicalName());
    final ImmutableList<Proto.Protoclass> protos = round.protoclassesFrom(Collections.singleton(element));
    final List<ValueType> values = new ArrayList<>();
    for (Proto.Protoclass proto: protos) {
      final ValueType value = new ValueType();
      composer.compose(value, proto);
      values.add(value);
    }
    return ImmutableList.copyOf(values);
  }
Return multiple {@link ValueType} instances associated with immutable class {@code type}. Multiple
instances can be due to several nested immutable classes.
processor-testlib/src/org/immutables/value/processor/meta/ProcessorRule.java