public interface VisitorContext extends MutableConvertibleValues<Object>
TypeElementVisitor classes to log messages during compilation and fail compilation.EMPTY| Modifier and Type | Method and Description | 
|---|---|
void | 
fail(String message,
    Element element)
Allows failing compilation for a given element with the given message. 
 | 
default Optional<ClassElement> | 
getClassElement(Class<?> type)
This method will lookup another class element by name. 
 | 
default Optional<ClassElement> | 
getClassElement(String name)
This method will lookup another class element by name. 
 | 
void | 
info(String message)
Allows printing informational messages. 
 | 
void | 
info(String message,
    Element element)
Allows printing informational messages. 
 | 
Optional<GeneratedFile> | 
visitGeneratedFile(String path)
Visit a file that will be located within the generated source directory. 
 | 
Optional<GeneratedFile> | 
visitMetaInfFile(String path)
Visit a file within the META-INF directory. 
 | 
void | 
warn(String message,
    Element element)
Allows printing a warning for the given message and element. 
 | 
clear, of, put, putAll, putAll, removeasMap, asMap, contains, empty, forEach, getValueType, isEmpty, iterator, names, subMap, subMap, subMap, valuesget, get, get, getforEach, spliteratorvoid info(String message, Element element)
message - The messageelement - The elementvoid info(String message)
message - The messagevoid fail(String message, Element element)
message - The messageelement - The elementvoid warn(String message, Element element)
message - The messageelement - The elementOptional<GeneratedFile> visitMetaInfFile(String path)
path - The path to the fileOptional<GeneratedFile> visitGeneratedFile(String path)
path - The path to the filedefault Optional<ClassElement> getClassElement(String name)
name - The namedefault Optional<ClassElement> getClassElement(Class<?> type)
type - The name