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