Skip navigation links
A B C E G H I J M O P S V W 

A

addProperty(String, boolean, boolean) - Method in class org.yarnandtail.andhow.compile.CompileUnit
Register an AndHow Property declaration in the current scope - either directly in the the top level class or the recorded path to an inner class.
AndHowCompileProcessor - Class in org.yarnandtail.andhow.compile
This is the central AndHow compilation class, an Annotation Processor.
AndHowCompileProcessor() - Constructor for class org.yarnandtail.andhow.compile.AndHowCompileProcessor
A no-arg constructor is required.
AndHowCompileProcessor.CauseEffect - Class in org.yarnandtail.andhow.compile
Match up a causal Element (Basically the compiler representation of a class to be compiled) w/ the Class name that will be registered in a service registry.
AndHowElementScanner7 - Class in org.yarnandtail.andhow.compile
This Scanner is only intended to work on a single compileable unit at a time.
AndHowElementScanner7(ProcessingEnvironment, String, String, String) - Constructor for class org.yarnandtail.andhow.compile.AndHowElementScanner7
 
ANNOTATION_TEMPLATE_PATH - Static variable in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
 

B

buildGeneratedClassFullName() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
The complete canonical name of the generated class, including the package.
buildGeneratedClassSimpleName() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
The simple class name of the generated class.
buildPackageString() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
The package declaration of the generated class.
buildRegistrationAddsString() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
Builds the source code for the content of the addPropertyRegistrations method.
buildRunDateString() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
A formatted date appropriate for the `Generated` annotation.

C

CauseEffect(String, Element) - Constructor for class org.yarnandtail.andhow.compile.AndHowCompileProcessor.CauseEffect
 
CLASS_TEMPLATE_PATH - Static variable in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
 
COMMENTED_ANNOTATION_TEMPLATE_PATH - Static variable in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
 
CompileProblem - Class in org.yarnandtail.andhow.compile
Implementation represent specific problems with AndHow Property usage or initiation, discovered during compilation.
CompileUnit - Class in org.yarnandtail.andhow.compile
Incrementally built metadata about a Type (compile-time representation of a class) and its AndHow Properties (if any) as it is compiled.
CompileUnit(String) - Constructor for class org.yarnandtail.andhow.compile.CompileUnit
Construct a new CompileUnit, which always is for a specific top level class.
CompileUtil - Class in org.yarnandtail.andhow.compile
Utilities for the AndHow AnnotationProcessor.

E

equals(Object) - Method in class org.yarnandtail.andhow.compile.CompileProblem
Logical equals implementation based on equality of fields.

G

generateAnnotationSource() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
Generates the source for the 'Generated' annotation to place on the generated class.
generateSource() - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
Generates the complete source for the AndHow proxy class as a String.
getFullMessage() - Method in class org.yarnandtail.andhow.compile.CompileProblem
The complete message that will be logged during compilation.
getGeneratedAnnotationClassName(int) - Static method in class org.yarnandtail.andhow.compile.CompileUtil
Determine the correct 'Generated' annotation class name based on the Java major version.
getGroupName() - Method in class org.yarnandtail.andhow.compile.CompileProblem
Full name of the class containing the Property.
getInnerPath() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Return the state of inner class nesting from the outermost to the innermost.
getInnerPathNames() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Return the inner class names, in order from the outermost to the innermost.
getJdkVersion() - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
The major version number of the JDK used to compile.
getMajorJavaVersion(SourceVersion) - Static method in class org.yarnandtail.andhow.compile.CompileUtil
Determine the major version from the SourceVersion.
getMajorJavaVersion() - Static method in class org.yarnandtail.andhow.compile.CompileUtil
The major version number of the current runtime.
getMajorJavaVersion(String) - Static method in class org.yarnandtail.andhow.compile.CompileUtil
Determine the major version from the java.version System property String.
getName() - Method in class org.yarnandtail.andhow.compile.SimpleType
 
getProblems() - Method in class org.yarnandtail.andhow.compile.CompileUnit
The list of Property errors, either directly added or created indirectly by adding properties that had invalid modifiers.
getPropertyName() - Method in class org.yarnandtail.andhow.compile.CompileProblem
The declared name of the Property that has the problem.
getRegistrations() - Method in class org.yarnandtail.andhow.compile.CompileUnit
The list of Properties in the CompileUnit, along with all the needed metadata to register them.
getRootCanonicalName() - Method in class org.yarnandtail.andhow.compile.CompileUnit
The fully qualified name of the top level class this CompileUnit is for.
getRootPackageName() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Get just the package of the root class.
getRootSimpleName() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Get just the simple name of the root class.
getSrcVersion() - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
The java language level the output file needs to be compatible with.
getSupportedSourceVersion() - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
 
getTemplate(String) - Method in class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
Loads a text file as a String from a classpath path.

H

hasProblems() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Returns true if the getProblems() list would be non-empty.
hasRegistrations() - Method in class org.yarnandtail.andhow.compile.CompileUnit
Returns true if getRegistrations() would return a non-empty list.

I

init(ProcessingEnvironment) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
 
isGeneratedVersionDeterministic(int, int) - Static method in class org.yarnandtail.andhow.compile.CompileUtil
Do we know for sure which JDK version to generate for?
isInitClass() - Method in class org.yarnandtail.andhow.compile.CompileUnit
 
isNewProperty() - Method in class org.yarnandtail.andhow.compile.PropertyMarker
Gets the value of the property newProperty.
isPropertyProblem() - Method in class org.yarnandtail.andhow.compile.CompileProblem
If true, the problem is related to a specific Property.
isStatic() - Method in class org.yarnandtail.andhow.compile.SimpleType
 
istestInitClass() - Method in class org.yarnandtail.andhow.compile.CompileUnit
 

J

JDK8_GEN_CLASS - Static variable in class org.yarnandtail.andhow.compile.CompileUtil
 
JDK9UP_GEN_CLASS - Static variable in class org.yarnandtail.andhow.compile.CompileUtil
 

M

markBuild() - Method in class org.yarnandtail.andhow.compile.PropertyMarker
Marks a Property variable as being assigned to a Property class that has invoked the .build() method.
markBuilder() - Method in class org.yarnandtail.andhow.compile.PropertyMarker
Marks a Property variable as being assigned to a Property class that has invoked the .builder() method.
markDirectConstruct() - Method in class org.yarnandtail.andhow.compile.PropertyMarker
Marks a Property variable as being assigned to a Property that was directly constructed with a call to new XXXProperty();

O

org.yarnandtail.andhow.compile - package org.yarnandtail.andhow.compile
 

P

popType() - Method in class org.yarnandtail.andhow.compile.CompileUnit
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
 
processFinalRound(Filer, Messager, int, int, List<CompileProblem>, List<AndHowCompileProcessor.CauseEffect>, List<AndHowCompileProcessor.CauseEffect>, List<AndHowCompileProcessor.CauseEffect>) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
The final round of annotation processing.
processNonFinalRound(ProcessingEnvironment, RoundEnvironment, Calendar, Filer, Messager, int, int, List<CompileProblem>, List<AndHowCompileProcessor.CauseEffect>, List<AndHowCompileProcessor.CauseEffect>, List<AndHowCompileProcessor.CauseEffect>) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
Process a round of annotation processing.
PropertyMarker - Class in org.yarnandtail.andhow.compile
Incrementally determines is a Property variable points to a new Property instance.
PropertyMarker() - Constructor for class org.yarnandtail.andhow.compile.PropertyMarker
 
PropertyRegistrarClassGenerator - Class in org.yarnandtail.andhow.compile
Generates the source code for a class generated as an AndHow proxy for an application class that contains AndHow Properties.
PropertyRegistrarClassGenerator(CompileUnit, Class<?>, Calendar, int, int) - Constructor for class org.yarnandtail.andhow.compile.PropertyRegistrarClassGenerator
Create a new instance w all info needed to generateSource a PropertyRegistrar file.
PropertyVariableTreeScanner - Class in org.yarnandtail.andhow.compile
A compilation tree scanner used during compile time to scan for AndHow Property construction being assigned to a variable.
PropertyVariableTreeScanner() - Constructor for class org.yarnandtail.andhow.compile.PropertyVariableTreeScanner
 
pushType(SimpleType) - Method in class org.yarnandtail.andhow.compile.CompileUnit
 
pushType(String, boolean) - Method in class org.yarnandtail.andhow.compile.CompileUnit
 

S

scanTypeElement(ProcessingEnvironment, TypeElement) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
Scan the TypeElement for init, testInit and AndHow properties.
setInitClass(boolean) - Method in class org.yarnandtail.andhow.compile.CompileUnit
 
setTestInitClass(boolean) - Method in class org.yarnandtail.andhow.compile.CompileUnit
 
SimpleType - Class in org.yarnandtail.andhow.compile
Compile time representation of a type/class definition w/ just enough information to decide if it is a valid parent to contain an AndHow Property.
SimpleType(String, boolean) - Constructor for class org.yarnandtail.andhow.compile.SimpleType
 

V

visitMemberSelect(MemberSelectTree, PropertyMarker) - Method in class org.yarnandtail.andhow.compile.PropertyVariableTreeScanner
Called for the actual invocation of a specific method.
visitNewClass(NewClassTree, PropertyMarker) - Method in class org.yarnandtail.andhow.compile.PropertyVariableTreeScanner
 
visitType(TypeElement, String) - Method in class org.yarnandtail.andhow.compile.AndHowElementScanner7
 
visitVariable(VariableElement, String) - Method in class org.yarnandtail.andhow.compile.AndHowElementScanner7
 

W

writeClassFile(Filer, PropertyRegistrarClassGenerator, Element) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
Writes a new class implementing the PropertyRegistrar interface.
writeServiceFile(Filer, String, List<AndHowCompileProcessor.CauseEffect>) - Method in class org.yarnandtail.andhow.compile.AndHowCompileProcessor
Writes a new META-INF service file with a list of classes implementing the specified interface.
A B C E G H I J M O P S V W 
Skip navigation links

Copyright © 2022. All rights reserved.