public interface ProcessedCompileTesterFactory
CompileTester instances that test compilation with provided Processor
instances.| Modifier and Type | Method and Description |
|---|---|
CompileTester |
processedWith(Iterable<? extends Processor> processors)
Adds annotation processors to the compilation being tested.
|
CompileTester |
processedWith(Processor first,
Processor... rest)
Adds annotation processors to the compilation being tested.
|
ProcessedCompileTesterFactory |
withClasspathFrom(ClassLoader classloader)
Attempts to extract the classpath from the classpath of the Classloader argument, including all
its parents up to (and including) the System Classloader.
|
ProcessedCompileTesterFactory |
withCompilerOptions(Iterable<String> options)
Adds options that will be passed to the compiler.
|
ProcessedCompileTesterFactory |
withCompilerOptions(String... options)
Adds options that will be passed to the compiler.
|
@CheckReturnValue ProcessedCompileTesterFactory withCompilerOptions(Iterable<String> options)
-Xlint is the first option, by
default.@CheckReturnValue ProcessedCompileTesterFactory withCompilerOptions(String... options)
-Xlint is the first option, by
default.@CheckReturnValue ProcessedCompileTesterFactory withClasspathFrom(ClassLoader classloader)
If not specified, we will use the System classpath for compilation.
@CheckReturnValue CompileTester processedWith(Processor first, Processor... rest)
@CheckReturnValue CompileTester processedWith(Iterable<? extends Processor> processors)
Copyright © 2013-2017. All Rights Reserved.