com.google.common.truth.codegen
Class IteratingWrapperClassBuilder
java.lang.Object
com.google.common.truth.codegen.IteratingWrapperClassBuilder
@GwtIncompatible(value="java.lang.reflect.*")
public class IteratingWrapperClassBuilder
- extends Object
A builder of classes to wrap a provided SubjectFactory's concrete Subject subclass.
The generated class will be a direct subclass of the concrete Subject subclass, but
each public, protected, or friendly method not declared by Object will be wrapped
such that invocations on it will be invoked on a new Subject instance populated
with an element in the provided collection. This allows for a type-safe, IDE-discoverable
Subject in a for-each style.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
public final String className
IteratingWrapperClassBuilder
public IteratingWrapperClassBuilder(SubjectFactory<?,?> subjectFactory)
build
public String build()
Copyright © 2014. All rights reserved.