public interface ProcessedCompileTesterFactory
CompileTester instances that test compilation with provided Processor
instances.| Modifier and Type | Method and Description |
|---|---|
CompileTester |
processedWith(java.lang.Iterable<? extends javax.annotation.processing.Processor> processors)
Adds annotation processors to the compilation being tested.
|
CompileTester |
processedWith(javax.annotation.processing.Processor first,
javax.annotation.processing.Processor... rest)
Adds annotation processors to the compilation being tested.
|
ProcessedCompileTesterFactory |
withClasspathFrom(java.lang.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(java.lang.Iterable<java.lang.String> options)
Adds options that will be passed to the compiler.
|
ProcessedCompileTesterFactory |
withCompilerOptions(java.lang.String... options)
Adds options that will be passed to the compiler.
|
@CheckReturnValue ProcessedCompileTesterFactory withCompilerOptions(java.lang.Iterable<java.lang.String> options)
-Xlint is the first option, by
default.@CheckReturnValue ProcessedCompileTesterFactory withCompilerOptions(java.lang.String... options)
-Xlint is the first option, by
default.@CheckReturnValue ProcessedCompileTesterFactory withClasspathFrom(java.lang.ClassLoader classloader)
If not specified, we will use the System classpath for compilation.
@CheckReturnValue CompileTester processedWith(javax.annotation.processing.Processor first, javax.annotation.processing.Processor... rest)
@CheckReturnValue CompileTester processedWith(java.lang.Iterable<? extends javax.annotation.processing.Processor> processors)
Copyright © 2013-2017. All Rights Reserved.