public Types types() {
    Preconditions.checkState(types != null, "not running as part of %s", ProcessorRule.class.getSimpleName());
    return types;
  }
Returns {@link Types} instance associated with the current execution.
@throws IllegalStateException if invoked outside the rule.
processor-testlib/src/org/immutables/value/processor/meta/ProcessorRule.java