Skip navigation links
A B C D E F G H I L M N O P R S T W 

A

accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
accept(ElementVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
accept(ElementVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.GenericElement
 
accept(ElementVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.GenericMirror
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.NoTypes
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.NullTypeImpl
 
accept(ElementVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
accept(TypeVisitor<R, P>, P) - Method in class org.inferred.internal.testing.unit.TypeVariableImpl
 
addBound(TypeMirror) - Method in class org.inferred.internal.testing.unit.GenericElementParameter.Builder
 
addImport(Class<?>) - Method in class org.inferred.internal.testing.integration.TestBuilder
 
addImport(String) - Method in class org.inferred.internal.testing.integration.TestBuilder
 
addLine(String, Object...) - Method in class org.inferred.internal.testing.integration.SourceBuilder
Appends a formatted line of code to the source.
addLine(String, Object...) - Method in class org.inferred.internal.testing.integration.TestBuilder
Appends a formatted line of code to the source.
addPackageImport(String) - Method in class org.inferred.internal.testing.integration.TestBuilder
 
addStaticImport(Class<?>, String) - Method in class org.inferred.internal.testing.integration.TestBuilder
 
addStaticImport(String, String) - Method in class org.inferred.internal.testing.integration.TestBuilder
 
addTypeParameter(String, TypeMirror...) - Method in class org.inferred.internal.testing.unit.GenericElement.Builder
Adds type parameter simpleName with lower bounds bounds.
appendTo(StringBuilder, Diagnostic<? extends JavaFileObject>, int) - Static method in class org.inferred.internal.testing.integration.Diagnostics
Appends a human-readable form of diagnostic to appendable.
apply(Statement, Description) - Method in class org.inferred.internal.testing.integration.ModelRule
 
asElement() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
asElement() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
asElement() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
asElement() - Method in class org.inferred.internal.testing.unit.GenericMirror
 
asMirror() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
asType() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
asType() - Method in class org.inferred.internal.testing.unit.GenericElement
 
asType() - Method in class org.inferred.internal.testing.unit.GenericElement.Builder
 
asType() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
asType() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.Builder
 
asType() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 

B

BehaviorTester - Class in org.inferred.internal.testing.integration
Convenience class for performing behavioral tests of API-generating annotation processors.
BehaviorTester() - Constructor for class org.inferred.internal.testing.integration.BehaviorTester
 
BehaviorTester.CompilationSubject - Class in org.inferred.internal.testing.integration
Assertions that can be made about a compilation run.
build() - Method in class org.inferred.internal.testing.integration.SourceBuilder
Returns a JavaFileObject for the source added to the builder.
build() - Method in class org.inferred.internal.testing.integration.TestBuilder
Returns a JavaFileObject for the test source added to the builder.
build() - Method in class org.inferred.internal.testing.unit.GenericElement.Builder
 
Builder(QualifiedName) - Constructor for class org.inferred.internal.testing.unit.GenericElement.Builder
 

C

CHAR - Static variable in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
charAt(int) - Method in class org.inferred.internal.testing.unit.NameImpl
 
ClassElementImpl() - Constructor for class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
ClassTypeImpl - Class in org.inferred.internal.testing.unit
Fake implementation of DeclaredType for unit tests.
ClassTypeImpl.Builder - Class in org.inferred.internal.testing.unit
 
ClassTypeImpl.ClassElementImpl - Class in org.inferred.internal.testing.unit
Fake implementation of TypeElement for unit tests.
close() - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
CompilationException - Exception in org.inferred.internal.testing.integration
CompilationException is thrown when a CompilationTask fails, to capture any emitted Diagnostic instances.
CompilationException(List<Diagnostic<? extends JavaFileObject>>) - Constructor for exception org.inferred.internal.testing.integration.CompilationException
 
CompilationException(CompilationException) - Constructor for exception org.inferred.internal.testing.integration.CompilationException
 
compiles() - Method in class org.inferred.internal.testing.integration.BehaviorTester
contentEquals(CharSequence) - Method in class org.inferred.internal.testing.unit.NameImpl
 
create() - Static method in class org.inferred.internal.testing.integration.Model
 
create(String) - Static method in class org.inferred.internal.testing.unit.PackageElementImpl
 

D

destroy() - Method in class org.inferred.internal.testing.integration.Model
Gracefully shuts down the compiler thread.
Diagnostics - Class in org.inferred.internal.testing.integration
Static utilities for Diagnostic instances.
DOUBLE - Static variable in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 

E

elementUtils() - Method in class org.inferred.internal.testing.integration.Model
Returns a Elements implementation.
environment() - Method in class org.inferred.internal.testing.integration.Model
Returns a ProcessingEnvironment implementation.
equals(Object) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
equals(Object) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
equals(Object) - Method in class org.inferred.internal.testing.unit.NameImpl
 
equals(Object) - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 

F

FakeMessager - Class in org.inferred.internal.testing.unit
Fake implementation of Messager that stores all messages as strings of the form "[SEVERITY] Message", indexed (non-uniquely) by element.
FakeMessager() - Constructor for class org.inferred.internal.testing.unit.FakeMessager
 
FLOAT - Static variable in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
flush() - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 

G

GenericElement - Class in org.inferred.internal.testing.unit
Fake representation of a generic top-level class element.
GenericElement.Builder - Class in org.inferred.internal.testing.unit
Builder of GenericElement instances.
GenericElementParameter - Class in org.inferred.internal.testing.unit
Fake implementation of a formal type parameter of a GenericElement.
GenericElementParameter.Builder - Class in org.inferred.internal.testing.unit
Builder of GenericElementParameter instances.
GenericElementParameter.TypeVariableImpl - Class in org.inferred.internal.testing.unit
Fake implementation of a type variable declared by a GenericElement.
GenericMirror - Class in org.inferred.internal.testing.unit
Fake representation of a generic top-level type.
getAnnotation(Class<A>) - Method in class org.inferred.internal.testing.unit.GenericElement
 
getAnnotation(Class<A>) - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getAnnotationMirrors() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getAnnotationMirrors() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getBounds() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getClassLoader(JavaFileManager.Location) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
getEnclosedElements() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getEnclosedElements() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getEnclosingElement() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getEnclosingElement() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getEnclosingElement() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getEnclosingElement() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
getEnclosingType() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
getEnclosingType() - Method in class org.inferred.internal.testing.unit.GenericMirror
 
getFileForInput(JavaFileManager.Location, String, String) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
getFileForOutput(JavaFileManager.Location, String, String, FileObject) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
getGenericElement() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getInterfaces() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getInterfaces() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getJavaFileForInput(JavaFileManager.Location, String, JavaFileObject.Kind) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
getJavaFileForOutput(JavaFileManager.Location, String, JavaFileObject.Kind, FileObject) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
getKind() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getKind() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getKind() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.GenericMirror
 
getKind() - Method in class org.inferred.internal.testing.unit.NoTypes
 
getKind() - Method in class org.inferred.internal.testing.unit.NullTypeImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
getKind() - Method in class org.inferred.internal.testing.unit.TypeVariableImpl
 
getLowerBound() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
getLowerBound() - Method in class org.inferred.internal.testing.unit.TypeVariableImpl
 
getMessage() - Method in exception org.inferred.internal.testing.integration.CompilationException
 
getMessagesByElement() - Method in class org.inferred.internal.testing.unit.FakeMessager
 
getModifiers() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getModifiers() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getModifiers() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getNestingKind() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getNestingKind() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getQualifiedName() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getQualifiedName() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getQualifiedName() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
getSimpleName() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getSimpleName() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getSimpleName() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
getSimpleName() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
getSuperclass() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getSuperclass() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getTypeArguments() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
getTypeArguments() - Method in class org.inferred.internal.testing.unit.GenericMirror
 
getTypeParameter(String) - Method in class org.inferred.internal.testing.unit.GenericElement.Builder
Returns a builder for type parameter simpleName, creating one if necessary.
getTypeParameters() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
getTypeParameters() - Method in class org.inferred.internal.testing.unit.GenericElement
 
getUpperBound() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
getUpperBound() - Method in class org.inferred.internal.testing.unit.TypeVariableImpl
 

H

handleOption(String, Iterator<String>) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
hashCode() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
hashCode() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
hashCode() - Method in class org.inferred.internal.testing.unit.NameImpl
 
hashCode() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
hasLocation(JavaFileManager.Location) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 

I

iface(String) - Static method in class org.inferred.internal.testing.unit.ClassTypeImpl
Returns a ClassTypeImpl.Builder initially configured to create a DeclaredType for a top-level interface called simpleName, in package org.example, with no super-interfaces.
implementing(TypeMirror) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
implementing(TypeElement) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
inferBinaryName(JavaFileManager.Location, JavaFileObject) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
innerClassIn(DeclaredType) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
inPackage(String) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
INT - Static variable in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
isKind(Diagnostic.Kind, Diagnostic.Kind...) - Static method in class org.inferred.internal.testing.integration.Diagnostics
Predicate that returns true if its argument is of kind kind or any of otherKinds.
isSameFile(FileObject, FileObject) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
isSupportedOption(String) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 
isUnnamed() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 

L

length() - Method in class org.inferred.internal.testing.unit.NameImpl
 
list(JavaFileManager.Location, String, Set<JavaFileObject.Kind>, boolean) - Method in class org.inferred.internal.testing.integration.TempJavaFileManager
 

M

Model - Class in org.inferred.internal.testing.integration
Utility class for creating javax.lang.model instances for testing.
Model() - Constructor for class org.inferred.internal.testing.integration.Model
 
ModelRule - Class in org.inferred.internal.testing.integration
TestRule for creating javax.lang.model instances in a unit test.
ModelRule() - Constructor for class org.inferred.internal.testing.integration.ModelRule
 

N

NameImpl - Class in org.inferred.internal.testing.unit
 
NameImpl(String) - Constructor for class org.inferred.internal.testing.unit.NameImpl
 
nestedIn(TypeElement) - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.Builder
 
newElementAnnotatedWith(Class<? extends Annotation>, String...) - Method in class org.inferred.internal.testing.integration.Model
Parses the supplied code, returning the Element annotated with the given annotation.
newElementWithMarker(String...) - Method in class org.inferred.internal.testing.integration.Model
Parses the supplied code, returning the Element marked with --->.
newInnerClass(DeclaredType, String) - Static method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
newNestedClass(TypeElement, String) - Static method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
newTopLevelClass(String) - Static method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
newType(String...) - Method in class org.inferred.internal.testing.integration.Model
Parses the supplied type definition, returning its TypeElement.
newTypeVariable(String) - Static method in class org.inferred.internal.testing.unit.TypeVariableImpl
 
NONE - Static variable in class org.inferred.internal.testing.unit.NoTypes
 
NoTypes - Class in org.inferred.internal.testing.unit
Fake implementation of NoType for unit tests.
NULL - Static variable in class org.inferred.internal.testing.unit.NullTypeImpl
 
NullTypeImpl - Class in org.inferred.internal.testing.unit
 

O

of(Class<T>, Object...) - Static method in class org.inferred.internal.testing.Partial
Constructs a partial instance of abstract type cls, passing args into its constructor.
org.inferred.internal.testing - package org.inferred.internal.testing
 
org.inferred.internal.testing.integration - package org.inferred.internal.testing.integration
 
org.inferred.internal.testing.unit - package org.inferred.internal.testing.unit
 

P

PackageElementImpl - Class in org.inferred.internal.testing.unit
 
Partial - Class in org.inferred.internal.testing
Utility methods for creating partial type implementations for tests.
PrimitiveTypeImpl - Class in org.inferred.internal.testing.unit
Fake implementation of PrimitiveType for unit tests.
printMessage(Diagnostic.Kind, CharSequence) - Method in class org.inferred.internal.testing.unit.FakeMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element) - Method in class org.inferred.internal.testing.unit.FakeMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element, AnnotationMirror) - Method in class org.inferred.internal.testing.unit.FakeMessager
 
printMessage(Diagnostic.Kind, CharSequence, Element, AnnotationMirror, AnnotationValue) - Method in class org.inferred.internal.testing.unit.FakeMessager
 

R

runTest() - Method in class org.inferred.internal.testing.integration.BehaviorTester
Compiles, loads and tests everything given to BehaviorTester.with(javax.annotation.processing.Processor).

S

SourceBuilder - Class in org.inferred.internal.testing.integration
Simple builder API for an in-memory JavaFileObject.
SourceBuilder() - Constructor for class org.inferred.internal.testing.integration.SourceBuilder
 
start() - Method in class org.inferred.internal.testing.integration.Model
Starts up the compiler thread and waits for it to return the processing environment.
subSequence(int, int) - Method in class org.inferred.internal.testing.unit.NameImpl
 

T

Target - Annotation Type in org.inferred.internal.testing.integration
Annotation used internally within the Model implementation to target elements.
TempJavaFileManager - Class in org.inferred.internal.testing.integration
Implementation of JavaFileManager that provides its own temporary output storage.
TempJavaFileManager() - Constructor for class org.inferred.internal.testing.integration.TempJavaFileManager
 
TestBuilder - Class in org.inferred.internal.testing.integration
Simple builder API for a test method, suitable for use in BehaviorTester.
TestBuilder() - Constructor for class org.inferred.internal.testing.integration.TestBuilder
 
toString() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl.ClassElementImpl
 
toString() - Method in class org.inferred.internal.testing.unit.ClassTypeImpl
 
toString() - Method in class org.inferred.internal.testing.unit.GenericElementParameter
 
toString() - Method in class org.inferred.internal.testing.unit.GenericElementParameter.TypeVariableImpl
 
toString() - Method in class org.inferred.internal.testing.unit.NameImpl
 
toString() - Method in class org.inferred.internal.testing.unit.NoTypes
 
toString() - Method in class org.inferred.internal.testing.unit.PackageElementImpl
 
toString() - Method in class org.inferred.internal.testing.unit.PrimitiveTypeImpl
 
toString() - Method in class org.inferred.internal.testing.unit.TypeVariableImpl
 
type(String) - Static method in class org.inferred.internal.testing.unit.ClassTypeImpl
Returns a ClassTypeImpl.Builder initially configured to create a DeclaredType for a top-level class called simpleName, in package org.example, with no supertype or interfaces.
typeElement(Class<?>) - Method in class org.inferred.internal.testing.integration.Model
Returns the TypeElement of cls.
typeElement(String) - Method in class org.inferred.internal.testing.integration.Model
Returns the TypeElement of qualifiedType.
typeMirror(Class<?>) - Method in class org.inferred.internal.testing.integration.Model
Returns a TypeMirror for the given class (raw T, not T<?>, if T is generic).
typeMirror(TypeToken<?>) - Method in class org.inferred.internal.testing.integration.Model
Returns a TypeMirror for the given type.
typeMirror(String, TypeMirror...) - Method in class org.inferred.internal.testing.integration.Model
Returns a TypeMirror for the given type, substituting any provided arguments for %1, %2, etc.
typeMirror(Types, Elements, Class<?>) - Static method in class org.inferred.internal.testing.integration.TypeMirrors
Returns a TypeMirror for the given class (raw T, not T<?>, if T is generic).
typeMirror(Types, Elements, TypeToken<?>) - Static method in class org.inferred.internal.testing.integration.TypeMirrors
Returns a TypeMirror for the given type.
typeMirror(Types, Elements, Type) - Static method in class org.inferred.internal.testing.integration.TypeMirrors
Returns a TypeMirror for the given type.
typeMirror(Types, Elements, String, TypeMirror...) - Static method in class org.inferred.internal.testing.integration.TypeMirrors
Returns a TypeMirror for the given type, substituting any provided arguments for %1, %2, etc.
TypeMirrors - Class in org.inferred.internal.testing.integration
Static utility methods pertaining to TypeMirror instances.
TypeMirrors() - Constructor for class org.inferred.internal.testing.integration.TypeMirrors
 
typeUtils() - Method in class org.inferred.internal.testing.integration.Model
Returns a Types implementation.
TypeVariableImpl - Class in org.inferred.internal.testing.unit
Fake implementation of TypeVariable for unit tests.

W

with(Processor) - Method in class org.inferred.internal.testing.integration.BehaviorTester
Adds a Processor to pass to the compiler when BehaviorTester.runTest() is invoked.
with(JavaFileObject) - Method in class org.inferred.internal.testing.integration.BehaviorTester
Adds a JavaFileObject to pass to the compiler when BehaviorTester.runTest() is invoked.
withContextClassLoader() - Method in class org.inferred.internal.testing.integration.BehaviorTester
Ensures Thread.getContextClassLoader() will return a class loader containing the compiled sources.
withNoWarnings() - Method in class org.inferred.internal.testing.integration.BehaviorTester.CompilationSubject
Fails if the compiler issued warnings.
A B C D E F G H I L M N O P R S T W 
Skip navigation links