Constant Field Values
Contents
com.google.*
-
com.google.common.truth.IteratingVerb<T> Modifier and Type Constant Field Value private static final java.lang.String
CANNOT_WRAP_MSG
"Cannot build an iterating wrapper around "
-
com.google.common.truth.SubjectFactory<S extends Subject<S,T>,T> Modifier and Type Constant Field Value private static final int
SUBJECT_TYPE_PARAMETER
0
-
com.google.common.truth.codegen.CompilingClassLoader.CompilerException Modifier and Type Constant Field Value private static final long
serialVersionUID
-2936958840023603270L
-
com.google.common.truth.codegen.IteratingWrapperClassBuilder Modifier and Type Constant Field Value private static final java.lang.String
CLASS_TEMPLATE
"package %1$s;%n%nimport com.google.common.truth.FailureStrategy;%nimport com.google.common.truth.SubjectFactory;%n%npublic class %2$sIteratingWrapper extends %2$s {%n%n private final SubjectFactory subjectFactory;%n private final Iterable<%3$s> data;%n%n public %2$sIteratingWrapper(%n FailureStrategy failureStrategy,%n SubjectFactory<?, ?> subjectFactory,%n Iterable<%3$s> data%n ) {%n super(failureStrategy, (%3$s)null);%n this.subjectFactory = subjectFactory;%n this.data = data;%n }%n%n%4$s}%n"
private static final java.lang.String
ITERATING_WRAPPER
"IteratingWrapper"
private static final int
TARGET_TYPE_PARAMETER
1
private static final java.lang.String
WRAPPER_METHOD_TEMPLATE
" @Override %1$s %2$s %3$s(%4$s) {%n for (%5$s item : data) {%n %6$s subject = (%6$s)subjectFactory.getSubject(failureStrategy, item);%n subject.%3$s(%7$s);%n }%n }%n"