Interface ModelElementProcessor.ProcessorContext
- All Known Implementing Classes:
DefaultModelElementProcessorContext
- Enclosing interface:
ModelElementProcessor<P,R>
public static interface ModelElementProcessor.ProcessorContext
Context object passed to
ModelElementProcessor.process(ProcessorContext, TypeElement, Object)
providing access to common infrastructure objects such as TypeUtils
etc.- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptiongetFiler()booleanWhether the currently processed mapper type is erroneous which is the case if at least one diagnostic withDiagnostic.Kind.ERRORis reported by any of the participating processors.
-
Method Details
-
getFiler
Filer getFiler() -
getTypeUtils
TypeUtils getTypeUtils() -
getElementUtils
ElementUtils getElementUtils() -
getTypeFactory
TypeFactory getTypeFactory() -
getMessager
FormattingMessager getMessager() -
getAccessorNaming
AccessorNamingUtils getAccessorNaming() -
getEnumTransformationStrategies
Map<String,EnumTransformationStrategy> getEnumTransformationStrategies() -
getEnumMappingStrategy
EnumMappingStrategy getEnumMappingStrategy() -
getOptions
Options getOptions() -
getVersionInformation
VersionInformation getVersionInformation() -
isErroneous
boolean isErroneous()Whether the currently processed mapper type is erroneous which is the case if at least one diagnostic withDiagnostic.Kind.ERRORis reported by any of the participating processors.- Returns:
trueif the currently processed mapper type is erroneous,falseotherwise.
-