Skip navigation links
A C E F G H I J M N O R S T U V W 

A

add(String, Object...) - Method in class org.inferred.source.CompilationUnitWriter
 
add(String, Object...) - Method in interface org.inferred.source.SourceBuilder
Appends formatted text to the source.
add(String, Object...) - Method in class org.inferred.source.SourceStringBuilder
 
add(String, Object) - Method in interface org.inferred.source.ValueType.FieldReceiver
 
addFields(ValueType.FieldReceiver) - Method in class org.inferred.source.TypeReference
 
addFields(ValueType.FieldReceiver) - Method in class org.inferred.source.ValueType
Implement this method to report the name and value of each field.
addLine(String, Object...) - Method in class org.inferred.source.CompilationUnitWriter
 
addLine(String, Object...) - Method in interface org.inferred.source.SourceBuilder
Appends a formatted line of code to the source.
addLine(String, Object...) - Method in class org.inferred.source.SourceStringBuilder
 
annotatedElementsIn(RoundEnvironment, Class<? extends Annotation>) - Static method in class org.inferred.source.RoundEnvironments
Sanitizes the result of RoundEnvironment.getElementsAnnotatedWith(javax.lang.model.element.TypeElement), which otherwise can contain elements annotated with annotations of ERROR type.
apply(TypeMirror) - Method in class org.inferred.source.IsInvalidTypeVisitor
Returns true if input is neither null nor invalid.

C

close() - Method in class org.inferred.source.CompilationUnitWriter
 
CompilationUnitWriter - Class in org.inferred.source
Convenience wrapper around the Writer instances returned by Filer.
CompilationUnitWriter(Filer, Elements, SourceLevel, TypeReference, Collection<TypeReference>, Element) - Constructor for class org.inferred.source.CompilationUnitWriter
Returns a CompilationUnitWriter for classToWrite.

E

equals(Object) - Method in class org.inferred.source.ValueType
 

F

findAnnotationMirror(Element, Class<? extends Annotation>) - Static method in class org.inferred.source.ModelUtils
Returns an AnnotationMirror for the annotation of type annotationClass on element, or Optional.absent() if no such annotation exists.
findAnnotationMirror(Element, String) - Static method in class org.inferred.source.ModelUtils
Returns an AnnotationMirror for the annotation of type annotationClassName on element, or Optional.absent() if no such annotation exists.
findProperty(AnnotationMirror, String) - Static method in class org.inferred.source.ModelUtils
 
from(SourceVersion) - Static method in enum org.inferred.source.SourceLevel
 

G

getEnclosingType() - Method in class org.inferred.source.TypeReference
Returns a TypeReference to the type enclosing this one.
getNestedSuffix() - Method in class org.inferred.source.TypeReference
The part of the qualified name that comes after the top level type, including the period.
getPackage() - Method in class org.inferred.source.TypeReference
 
getQualifiedName() - Method in class org.inferred.source.TypeReference
 
getSimpleName() - Method in class org.inferred.source.TypeReference
 
getSourceLevel() - Method in class org.inferred.source.CompilationUnitWriter
 
getSourceLevel() - Method in interface org.inferred.source.SourceBuilder
 
getSourceLevel() - Method in class org.inferred.source.SourceStringBuilder
 
getTopLevelTypeSimpleName() - Method in class org.inferred.source.TypeReference
 

H

hashCode() - Method in class org.inferred.source.ValueType
 

I

IsInvalidTypeVisitor - Class in org.inferred.source
A type visitor that returns true if the type will be invalid if we write it out.
IsInvalidTypeVisitor() - Constructor for class org.inferred.source.IsInvalidTypeVisitor
 
isTopLevel() - Method in class org.inferred.source.TypeReference
 

J

javaUtilObjects() - Method in enum org.inferred.source.SourceLevel
 

M

maybeAsTypeElement(TypeMirror) - Static method in class org.inferred.source.ModelUtils
Returns the TypeElement corresponding to type, if there is one.
maybeDeclared(TypeMirror) - Static method in class org.inferred.source.ModelUtils
Returns type as a DeclaredType, if it is one.
maybeType(Element) - Static method in class org.inferred.source.ModelUtils
Returns element as a TypeElement, if it is one.
ModelUtils - Class in org.inferred.source
Utility methods for the javax.lang.model package.
ModelUtils() - Constructor for class org.inferred.source.ModelUtils
 

N

nestedType(String) - Method in class org.inferred.source.TypeReference
 

O

org.inferred.source - package org.inferred.source
 

R

RoundEnvironments - Class in org.inferred.source
Utility class for RoundEnvironment.

S

Shading - Class in org.inferred.source
Utility methods related to @FreeBuilder dependencies being relocated as part of shading.
Shading() - Constructor for class org.inferred.source.Shading
 
simple(SourceLevel) - Static method in class org.inferred.source.SourceStringBuilder
Returns a SourceStringBuilder that always shortens types, even if that causes conflicts.
SourceBuilder - Interface in org.inferred.source
Source code builder, using format strings for readability, with sensible formatting for type objects.
SourceBuilders - Class in org.inferred.source
Provides static methods operating on or generating a SourceBuilder.
SourceLevel - Enum in org.inferred.source
Compliance levels which are idiomatically supported by this processor.
SourceStringBuilder - Class in org.inferred.source
A SourceBuilder that writes to a StringBuilder.
supportsDiamondOperator() - Method in enum org.inferred.source.SourceLevel
 

T

to(String, String, String...) - Static method in class org.inferred.source.TypeReference
Returns a TypeReference for a type in packageName.
to(TypeElement) - Static method in class org.inferred.source.TypeReference
Returns a TypeReference for type.
toString() - Method in class org.inferred.source.SourceStringBuilder
Returns the source code written so far.
toString() - Method in class org.inferred.source.TypeReference
 
toString() - Method in class org.inferred.source.ValueType
 
TypeReference - Class in org.inferred.source
A type reference holds the qualified name of a type, so it can be passed to a TypeShortener without a Class or javax.lang.model reference.

U

unshadedName(String) - Static method in class org.inferred.source.Shading
 

V

valueOf(String) - Static method in enum org.inferred.source.SourceLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.inferred.source.SourceLevel
Returns an array containing the constants of this enum type, in the order they are declared.
ValueType - Class in org.inferred.source
Represents an instance that compares in Object.hashCode() and Object.equals(Object) using a sequence of fields.
ValueType() - Constructor for class org.inferred.source.ValueType
 
ValueType.FieldReceiver - Interface in org.inferred.source
An object that receives fields (names and current values) for processing.
visitArray(ArrayType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitDeclared(DeclaredType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitError(ErrorType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitExecutable(ExecutableType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitNoType(NoType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitNull(NullType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitPrimitive(PrimitiveType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitTypeVariable(TypeVariable, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 
visitWildcard(WildcardType, Void) - Method in class org.inferred.source.IsInvalidTypeVisitor
 

W

withIndent(SourceBuilder, int) - Static method in class org.inferred.source.SourceBuilders
Returns a new SourceBuilder that indents all input by indent characters before calling delegate.
A C E F G H I J M N O R S T U V W 
Skip navigation links

Copyright © 2015 inferred.org. All rights reserved.