Index

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

A

allAnnotationsInType() - Method in interface io.avaje.validation.generator.UType
Return the annotation mirrors directly on the type and in within generic type use.
annotations() - Method in interface io.avaje.validation.generator.UType
Return the annotation mirrors directly on the type.
APContext - Class in io.avaje.validation.generator
Utiliy Class that stores the ProcessingEnvironment and provides various helper methods
APContext.Ctx - Class in io.avaje.validation.generator
 
asTypeElement(TypeMirror) - Static method in class io.avaje.validation.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.validation.generator.ProcessorUtils
Returns boxed type if type string is primitive, otherwise return the input unchanged

C

clear() - Static method in class io.avaje.validation.generator.APContext
Clears the ThreadLocal containing the ProcessingEnvironment.
commonParent(String, String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Return the common parent package between two classes/packages.
componentTypes() - Method in interface io.avaje.validation.generator.UType
Retrieve the component types associated with this mirror.
ConstraintPrism - Interface in io.avaje.validation.generator
 
containsOnModulePath(String) - Method in class io.avaje.validation.generator.ModuleInfoReader
Check to see whether the given module is on the module path as a non-static dependency
createSourceFile(CharSequence, Element...) - Static method in class io.avaje.validation.generator.APContext
Create a file writer for the given class name.

E

elements() - Static method in class io.avaje.validation.generator.APContext
Get current Elements from the ProcessingEnvironment
elementsAnnotatedWith(RoundEnvironment, String) - Static method in class io.avaje.validation.generator.APContext
Returns the elements annotated with the given annotation interface.
equals(Object) - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in interface io.avaje.validation.generator.UType
Compare whether the current full() type is identical to the given UType's full() type
execute(SubTypeWriter.SubTemplate) - Method in class io.avaje.validation.generator.SubTemplateRenderer
Convenience method that directly renders the model as a String.
execute(SubTypeWriter.SubTemplate, Appendable) - Method in class io.avaje.validation.generator.SubTemplateRenderer
Renders the passed in model.
execute(SubTypeWriter.SubTemplate, Appendable, Function<Object, String>, Function<String, String>) - Method in class io.avaje.validation.generator.SubTemplateRenderer
Renders the passed in model.
exports() - Method in class io.avaje.validation.generator.ModuleInfoReader
The exports directives associated with this module
Exports(ModuleElement, String, List<ModuleElement>) - Constructor for class io.avaje.validation.generator.ModuleInfoReader.Exports
 
extractEnclosingFQN(String) - Static method in class io.avaje.validation.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.validation.generator.APContext
Get current Filer from the ProcessingEnvironment
flags() - Method in interface io.avaje.validation.generator.PatternPrism
 
full() - Method in interface io.avaje.validation.generator.UType
Return the full type as a code safe string.
fullWithoutAnnotations() - Method in interface io.avaje.validation.generator.UType
Return the full type as a string, stripped of annotations.

G

getBuildResource(String) - Static method in class io.avaje.validation.generator.APContext
Given the relative path, gets a Path from the Maven target/Gradle build folder.
getDependency() - Method in class io.avaje.validation.generator.ModuleInfoReader.Requires
Returns the module that is required.
getModuleInfoReader() - Static method in class io.avaje.validation.generator.APContext
Gets a BufferedReader for the project's module-info.java source file.
getOption(String) - Static method in class io.avaje.validation.generator.APContext
Returns processor-specific option passed to the annotation processing tool.
getOptionalOn(Element) - Static method in interface io.avaje.validation.generator.ConstraintPrism
 
getPackage() - Method in class io.avaje.validation.generator.ModuleInfoReader.Exports
Returns the package being exported.
getPackage() - Method in class io.avaje.validation.generator.ModuleInfoReader.Opens
Returns the package being opened.
getProjectModuleElement() - Static method in class io.avaje.validation.generator.APContext
Retrieve the project's ModuleElement.
getSupportedSourceVersion() - Method in class io.avaje.validation.generator.ValidationProcessor
 
getTargetModules() - Method in class io.avaje.validation.generator.ModuleInfoReader.Exports
Returns the specific modules to which the package is being exported, or null, if the package is exported to all modules which have readability to this module.
getTargetModules() - Method in class io.avaje.validation.generator.ModuleInfoReader.Opens
Returns the specific modules to which the package is being open or null, if the package is open all modules which have readability to this module.
groups() - Method in interface io.avaje.validation.generator.PatternPrism
 
groups() - Method in interface io.avaje.validation.generator.ValidPrism
 

H

hasAnnotationWithName(Element, String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Check if element has an annotation with a simple name that matches the given short name
hashCode() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns a hash code value for this object.

I

implementations() - Method in class io.avaje.validation.generator.ModuleInfoReader.Provides
Returns the implementations of the service being provided.
imports() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the imports record component.
importTypes() - Method in interface io.avaje.validation.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.validation.generator.APContext
Initialize the ThreadLocal containing the ProcessingEnvironment.
init(ProcessingEnvironment) - Static method in class io.avaje.validation.generator.APContext
Initialize the ThreadLocal containing the Processing Enviroment. this typically should be called during the init phase of processing.
init(ProcessingEnvironment) - Method in class io.avaje.validation.generator.ValidationProcessor
 
instance(AnnotationMirror) - Static method in interface io.avaje.validation.generator.ValidPrism
 
io.avaje.validation.generator - module io.avaje.validation.generator
 
io.avaje.validation.generator - package io.avaje.validation.generator
 
isAssignable(String, String) - Static method in class io.avaje.validation.generator.APContext
Determine whether the first type can be assigned to the second
isAssignable(TypeElement, String) - Static method in class io.avaje.validation.generator.APContext
Determine whether the first type can be assigned to the second
isGeneric() - Method in interface io.avaje.validation.generator.UType
Returns whether the type mirror is generic
isInstance(AnnotationMirror) - Static method in interface io.avaje.validation.generator.PatternPrism
 
isInstance(AnnotationMirror) - Static method in interface io.avaje.validation.generator.ValidPrism
 
isPresent(Element) - Static method in interface io.avaje.validation.generator.ConstraintPrism
 
isPresent(Element) - Static method in interface io.avaje.validation.generator.PatternPrism
 
isPresent(Element) - Static method in interface io.avaje.validation.generator.ValidPrism
 
isPrimitive(String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Return true if type string is of a primitive type
isStatic() - Method in class io.avaje.validation.generator.ModuleInfoReader.Requires
Returns whether or not this is a static dependency.
isTestCompilation() - Static method in class io.avaje.validation.generator.APContext
Return true if the compiler is creating test classes.
isTransitive() - Method in class io.avaje.validation.generator.ModuleInfoReader.Requires
Returns whether or not this is a transitive dependency.
isVarArg(VariableElement, int) - Static method in class io.avaje.validation.generator.ProcessorUtils
Determine if a VariableElement is a varargs parameter

J

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

K

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

L

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

M

mainType() - Method in interface io.avaje.validation.generator.UType
Return the main type (outermost type). e.g for mirror invalid input: '{@' java.util.List you'll get java.util.List
message() - Method in interface io.avaje.validation.generator.PatternPrism
 
messager() - Static method in class io.avaje.validation.generator.APContext
Get current Messager from the ProcessingEnvironment
modelClass() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Model class.
moduleInfoReader() - Static method in class io.avaje.validation.generator.APContext
Retrieve the root module-info reader if it can be read
ModuleInfoReader - Class in io.avaje.validation.generator
Helper Class to work with an application's root module-info.
ModuleInfoReader() - Constructor for class io.avaje.validation.generator.ModuleInfoReader
Parse the module-info.java using the ModuleElement from the APContext and create a new instance
ModuleInfoReader(ModuleElement, BufferedReader) - Constructor for class io.avaje.validation.generator.ModuleInfoReader
Parse a module-info and create a new instance
ModuleInfoReader(ModuleElement, CharSequence) - Constructor for class io.avaje.validation.generator.ModuleInfoReader
Parse a module-info and create a new instance
ModuleInfoReader.Exports - Class in io.avaje.validation.generator
An exported package of a module.
ModuleInfoReader.Opens - Class in io.avaje.validation.generator
An opened package of a module.
ModuleInfoReader.Provides - Class in io.avaje.validation.generator
An implementation of a service provided by a module.
ModuleInfoReader.Requires - Class in io.avaje.validation.generator
A dependency of a module.
ModuleInfoReader.Uses - Class in io.avaje.validation.generator
A reference to a service used by a module.

O

of() - Static method in class io.avaje.validation.generator.SubTemplateRenderer
Convience static factory that will reuse the same singleton instance.
opens() - Method in class io.avaje.validation.generator.ModuleInfoReader
The opens directives associated with this module
Opens(ModuleElement, String, List<ModuleElement>) - Constructor for class io.avaje.validation.generator.ModuleInfoReader.Opens
 

P

packageName() - Method in class io.avaje.validation.generator.ModuleInfoReader.Exports
Returns the name of the package being exported.
packageName() - Method in class io.avaje.validation.generator.ModuleInfoReader.Opens
Returns the name of the package being opened.
packageName() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the packageName record component.
packageOf(String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Get Package from a given fqn string
param0() - Method in interface io.avaje.validation.generator.UType
Return the first generic parameter.
param1() - Method in interface io.avaje.validation.generator.UType
Return the second componentType.
parse(TypeMirror) - Static method in interface io.avaje.validation.generator.UType
Create a UType from the given TypeMirror.
PatternPrism - Interface in io.avaje.validation.generator
 
previewEnabled() - Static method in class io.avaje.validation.generator.APContext
Returns whether --preview-enabled has been added to compiler flags.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class io.avaje.validation.generator.ValidationProcessor
 
processingEnv() - Static method in class io.avaje.validation.generator.APContext
ProcessorUtils - Class in io.avaje.validation.generator
 
provides() - Method in class io.avaje.validation.generator.ModuleInfoReader
The provides directives associated with this module
Provides(String, List<String>) - Constructor for class io.avaje.validation.generator.ModuleInfoReader.Provides
 

R

regexp() - Method in interface io.avaje.validation.generator.PatternPrism
 
render(SubTypeWriter.SubTemplate, Appendable, Function<Object, String>, Function<String, String>) - Static method in class io.avaje.validation.generator.SubTemplateRenderer
Renders the passed in model.
requires() - Method in class io.avaje.validation.generator.ModuleInfoReader
The requires directives associated with this module
Requires(ModuleElement, boolean, boolean) - Constructor for class io.avaje.validation.generator.ModuleInfoReader.Requires
 

S

sanitizeImports(String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Sanitize an import string to remove invalid characters
sealed() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the sealed record component.
service() - Method in class io.avaje.validation.generator.ModuleInfoReader.Provides
Returns the service being provided.
service() - Method in class io.avaje.validation.generator.ModuleInfoReader.Uses
Returns the service that is used.
setProjectModuleElement(Set<? extends TypeElement>, RoundEnvironment) - Static method in class io.avaje.validation.generator.APContext
Discover the ModuleElement for the project being processed and set in the context.
shortName() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the shortName record component.
shortType() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the shortType record component.
shortType() - Method in interface io.avaje.validation.generator.UType
Return the full (but unqualified) type as a code safe string.
shortType(String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Get short type from a given fqn string.
shortWithoutAnnotations() - Method in interface io.avaje.validation.generator.UType
Return the short type as a string, stripped of annotations.
SubTemplate(String, Set<String>, String, String, List<String>, boolean, boolean) - Constructor for record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Creates an instance of a SubTemplate record class.
SubTemplateRenderer - Class in io.avaje.validation.generator
Generated Renderer.
SubTemplateRenderer() - Constructor for class io.avaje.validation.generator.SubTemplateRenderer
Renderer constructor for reflection (use of() instead).
SubTemplateRenderer(Function<Object, String>, Function<String, String>) - Constructor for class io.avaje.validation.generator.SubTemplateRenderer
Renderer constructor for manual wiring.
subtypes() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the subtypes record component.
SubTypeWriter - Class in io.avaje.validation.generator
 
SubTypeWriter(TypeElement, List<TypeMirror>) - Constructor for class io.avaje.validation.generator.SubTypeWriter
 
SubTypeWriter.SubTemplate - Record Class in io.avaje.validation.generator
 
supportsType(Class<?>) - Method in class io.avaje.validation.generator.SubTemplateRenderer
If this template support the model class
switchValid() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns the value of the switchValid record component.

T

templateCharset() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Template charset name.
templateEscaper() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Current escaper.
templateFormatter() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Current formatter.
templateName() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Logical template name.
templatePath() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Template path.
templateString() - Method in class io.avaje.validation.generator.SubTemplateRenderer
Template contents or blank if path.
toString() - Method in record class io.avaje.validation.generator.SubTypeWriter.SubTemplate
Returns a string representation of this record class.
trimAnnotations(String) - Static method in class io.avaje.validation.generator.ProcessorUtils
Remove all annotations and their values from a string.
typeElement(String) - Static method in class io.avaje.validation.generator.APContext
Returns a type element given its canonical name.
types() - Static method in class io.avaje.validation.generator.APContext
Get current Types from the ProcessingEnvironment

U

unboxPrimitives() - Method in interface io.avaje.validation.generator.ConstraintPrism
 
uses() - Method in class io.avaje.validation.generator.ModuleInfoReader
The uses directives associated with this module
Uses(String) - Constructor for class io.avaje.validation.generator.ModuleInfoReader.Uses
 
UType - Interface in io.avaje.validation.generator
Utility type to help process TypeMirrors

V

validateServices(String, Collection<String>) - Method in class io.avaje.validation.generator.ModuleInfoReader
Checks whether the module-info has the defined provides directive and all their implementations Will register an error message compilation
ValidationProcessor - Class in io.avaje.validation.generator
 
ValidationProcessor() - Constructor for class io.avaje.validation.generator.ValidationProcessor
 
ValidPrism - Interface in io.avaje.validation.generator
 
A B C E F G H I J K L M O P R S T U V 
All Classes and Interfaces|All Packages