Interface ModelElementProcessor.ProcessorContext
-
- All Known Implementing Classes:
DefaultModelElementProcessorContext
- Enclosing interface:
- ModelElementProcessor<P,R>
public static interface ModelElementProcessor.ProcessorContext
Context object passed toModelElementProcessor.process(ProcessorContext, TypeElement, Object)
providing access to common infrastructure objects such asTypeUtils
etc.- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessorNamingUtils
getAccessorNaming()
ElementUtils
getElementUtils()
EnumMappingStrategy
getEnumMappingStrategy()
Map<String,EnumTransformationStrategy>
getEnumTransformationStrategies()
Filer
getFiler()
FormattingMessager
getMessager()
Options
getOptions()
TypeFactory
getTypeFactory()
TypeUtils
getTypeUtils()
VersionInformation
getVersionInformation()
boolean
isErroneous()
Whether the currently processed mapper type is erroneous which is the case if at least one diagnostic withDiagnostic.Kind.ERROR
is reported by any of the participating processors.
-
-
-
Method Detail
-
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.ERROR
is reported by any of the participating processors.- Returns:
true
if the currently processed mapper type is erroneous,false
otherwise.
-
-