JavaFileObject for the source added to the builder.JavaFileObject for the test source added to the builder.DeclaredType for unit tests.TypeElement for unit tests.CompilationException is thrown when a
CompilationTask fails, to capture any emitted
Diagnostic instances.Elements implementation.ProcessingEnvironment implementation.Messager that stores all messages as strings of the form
"[SEVERITY] Message", indexed (non-uniquely) by element.TestRule for creating javax.lang.model instances in a unit
test.Element annotated with the given annotation.Element marked with "--->".TypeElement.NoType for unit tests.Compiler API suitable for end-to-end testing of
Processor implementations.Compiler
running in a separate thread.PrimitiveType for unit tests.BehaviorTester.with(javax.annotation.processing.Processor).JavaFileObject.Model implementation to target elements.JavaFileManager that provides its own temporary output storage.BehaviorTester.TypeElement of cls.TypeElement of qualifiedType.TypeMirror for the given class (raw T, not T<?>, if T is generic).TypeMirror for the given type.TypeMirror for the given type, substituting any provided arguments for
%1, %2, etc.Types implementation.Processor to pass to the compiler when BehaviorTester.runTest() is invoked.JavaFileObject to pass to the compiler when BehaviorTester.runTest() is invoked.Thread.getContextClassLoader() will return a class loader containing the
compiled sources.Copyright © 2015 inferred.org. All rights reserved.