Index

A B C E F G H I J K L M P S T U 
All Classes and Interfaces|All Packages

A

allAnnotationsInType() - Method in interface io.avaje.inject.generator.UType
Return the annotation mirrors directly on the type and in within generic type use.
annotations() - Method in interface io.avaje.inject.generator.UType
Return the annotation mirrors directly on the type.
APContext - Class in io.avaje.inject.generator
Utiliy Class that stores the ProcessingEnvironment and provides various helper methods
APContext.Ctx - Class in io.avaje.inject.generator
 
asTypeElement(TypeMirror) - Static method in class io.avaje.inject.generator.APContext
Returns the element corresponding to a type.The type may be a DeclaredType or TypeVariable.Returns null if the type is not one with a corresponding element.

B

boxedPrimitive(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Returns boxed type if type string is primitive, otherwise return the input unchanged

C

clear() - Static method in class io.avaje.inject.generator.APContext
Clears the ThreadLocal containing the ProcessingEnvironment.
commonParent(String, String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Return the common parent package between two classes/packages.
componentTypes() - Method in interface io.avaje.inject.generator.UType
Retrieve the component types associated with this mirror.
createSourceFile(CharSequence, Element...) - Static method in class io.avaje.inject.generator.APContext
Create a file writer for the given class name.
Ctx(Messager, Filer, Elements, Types) - Constructor for class io.avaje.inject.generator.APContext.Ctx
 
Ctx(ProcessingEnvironment) - Constructor for class io.avaje.inject.generator.APContext.Ctx
 

E

elements() - Static method in class io.avaje.inject.generator.APContext
Get current Elements from the ProcessingEnvironment
elementsAnnotatedWith(RoundEnvironment, String) - Static method in class io.avaje.inject.generator.APContext
Returns the elements annotated with the given annotation interface.
equals(Object) - Method in interface io.avaje.inject.generator.UType
Compare whether the current full() type is identical to the given UType's full() type
extractEnclosingFQN(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Get the enclosed type from a nested class, or return the type itself if not nested.

F

filer() - Static method in class io.avaje.inject.generator.APContext
Get current Filer from the ProcessingEnvironment
full() - Method in interface io.avaje.inject.generator.UType
Return the full type as a code safe string.
fullWithoutAnnotations() - Method in interface io.avaje.inject.generator.UType
Return the full type as a string, stripped of annotations.

G

getModuleInfoReader() - Static method in class io.avaje.inject.generator.APContext
Gets a BufferedReader for the project's module-info.java source file.
getProjectModuleElement() - Static method in class io.avaje.inject.generator.APContext
Retrieve the project's ModuleElement.
getSupportedSourceVersion() - Method in class io.avaje.inject.generator.Processor
 

H

hasAnnotationWithName(Element, String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Check if element has an annotation with a simple name that matches the given short name

I

importTypes() - Method in interface io.avaje.inject.generator.UType
Return all the import types needed to write this mirror in source code (annotations included).
init(APContext.Ctx, int, boolean) - Static method in class io.avaje.inject.generator.APContext
Initialize the ThreadLocal containing the ProcessingEnvironment.
init(ProcessingEnvironment) - Static method in class io.avaje.inject.generator.APContext
Initialize the ThreadLocal containing the Processing Enviroment.
init(ProcessingEnvironment) - Method in class io.avaje.inject.generator.Processor
 
io.avaje.inject.generator - module io.avaje.inject.generator
 
io.avaje.inject.generator - package io.avaje.inject.generator
 
isAssignable(String, String) - Static method in class io.avaje.inject.generator.APContext
Determine whether the first type can be assigned to the second
isAssignable(TypeElement, String) - Static method in class io.avaje.inject.generator.APContext
Determine whether the first type can be assigned to the second
isGeneric() - Method in interface io.avaje.inject.generator.UType
Returns whether the type mirror is generic
isPrimitive(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Return true if type string is of a primitive type
isVarArg(VariableElement, int) - Static method in class io.avaje.inject.generator.ProcessorUtils
Determine if a VariableElement is a varargs parameter

J

jdkVersion() - Static method in class io.avaje.inject.generator.APContext
Returns the source version that any generated source and class files should conform to

K

kind() - Method in interface io.avaje.inject.generator.UType
The TypeKind of the type mirror used to create this Utype.

L

logError(String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints an error.
logError(Element, String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints an error at the location of the element.
logNote(String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints a note at the location of the element.
logNote(Element, String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints a note.
logWarn(String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints a warning.
logWarn(Element, String, Object...) - Static method in class io.avaje.inject.generator.APContext
Prints an warning at the location of the element.

M

mainType() - Method in interface io.avaje.inject.generator.UType
Return the main type (outermost type).
messager() - Static method in class io.avaje.inject.generator.APContext
Get current Messager from the ProcessingEnvironment

P

packageOf(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Get Package from a given fqn string
param0() - Method in interface io.avaje.inject.generator.UType
Return the first generic parameter.
param1() - Method in interface io.avaje.inject.generator.UType
Return the second componentType.
parse(TypeMirror) - Static method in interface io.avaje.inject.generator.UType
Create a UType from the given TypeMirror.
previewEnabled() - Static method in class io.avaje.inject.generator.APContext
Returns whether --preview-enabled has been added to compiler flags.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class io.avaje.inject.generator.Processor
 
processingEnv() - Static method in class io.avaje.inject.generator.APContext
Processor - Class in io.avaje.inject.generator
 
Processor() - Constructor for class io.avaje.inject.generator.Processor
 
ProcessorUtils - Class in io.avaje.inject.generator
 

S

sanitizeImports(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Sanitize an import string to remove invalid characters
setProjectModuleElement(Set<? extends TypeElement>, RoundEnvironment) - Static method in class io.avaje.inject.generator.APContext
Discover the ModuleElement for the project being processed and set in the context.
shortType() - Method in interface io.avaje.inject.generator.UType
Return the full (but unqualified) type as a code safe string.
shortType(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Get short type from a given fqn string.
shortWithoutAnnotations() - Method in interface io.avaje.inject.generator.UType
Return the short type as a string, stripped of annotations.

T

trimAnnotations(String) - Static method in class io.avaje.inject.generator.ProcessorUtils
Remove all annotations and their values from a string.
typeElement(String) - Static method in class io.avaje.inject.generator.APContext
Returns a type element given its canonical name.
types() - Static method in class io.avaje.inject.generator.APContext
Get current Types from the ProcessingEnvironment

U

UType - Interface in io.avaje.inject.generator
Utility type to help process TypeMirrors
A B C E F G H I J K L M P S T U 
All Classes and Interfaces|All Packages