# Uses of Class
com.google.testing.compile.JavaSourcesSubject

## Uses of JavaSourcesSubject in com.google.testing.compile

Subclasses with type arguments of type JavaSourcesSubject in com.google.testing.compile
Modifier and Type
Class
Description
`final class`
`JavaSourcesSubject`
A Truth `Subject` that evaluates the result of a `javac` compilation.
Classes in com.google.testing.compile that implement interfaces with type arguments of type JavaSourcesSubject
Modifier and Type
Class
Description
`final class`
`JavaSourcesSubjectFactory`
A Truth `Subject.Factory` for creating `JavaSourcesSubject` instances.
Methods in com.google.testing.compile that return JavaSourcesSubject
Modifier and Type
Method
Description
`static JavaSourcesSubject`
JavaSourcesSubject.`assertThat(JavaFileObject javaFileObject)`
`static JavaSourcesSubject`
JavaSourcesSubject.`assertThat(JavaFileObject javaFileObject, JavaFileObject... javaFileObjects)`
`JavaSourcesSubject`
JavaSourcesSubjectFactory.`createSubject(com.google.common.truth.FailureMetadata failureMetadata, @Nullable Iterable<? extends JavaFileObject> subject)`
`JavaSourcesSubject`
JavaSourcesSubject.SingleSourceAdapter.`withClasspath(Iterable<File> classPath)`
`JavaSourcesSubject`
JavaSourcesSubject.`withClasspath(Iterable<File> classPath)`
`JavaSourcesSubject`
JavaSourcesSubject.SingleSourceAdapter.`withClasspathFrom(ClassLoader classLoader)`
Deprecated.
prefer `JavaSourcesSubject.SingleSourceAdapter.withClasspath(Iterable)`.
`JavaSourcesSubject`
JavaSourcesSubject.`withClasspathFrom(ClassLoader classLoader)`
Deprecated.
prefer `JavaSourcesSubject.withClasspath(Iterable)`.
`JavaSourcesSubject`
JavaSourcesSubject.SingleSourceAdapter.`withCompilerOptions(Iterable<String> options)`
`JavaSourcesSubject`
JavaSourcesSubject.SingleSourceAdapter.`withCompilerOptions(String... options)`
`JavaSourcesSubject`
JavaSourcesSubject.`withCompilerOptions(Iterable<String> options)`
`JavaSourcesSubject`
JavaSourcesSubject.`withCompilerOptions(String... options)`