Interface ModelElementProcessor.ProcessorContext
-
- All Known Implementing Classes:
DefaultModelElementProcessorContext
- Enclosing interface:
- ModelElementProcessor<P,R>
public static interface ModelElementProcessor.ProcessorContextContext object passed toModelElementProcessor.process(ProcessorContext, TypeElement, Object)providing access to common infrastructure objects such asTypeUtilsetc.- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessorNamingUtilsgetAccessorNaming()ElementUtilsgetElementUtils()EnumMappingStrategygetEnumMappingStrategy()Map<String,EnumTransformationStrategy>getEnumTransformationStrategies()FilergetFiler()FormattingMessagergetMessager()OptionsgetOptions()TypeFactorygetTypeFactory()TypeUtilsgetTypeUtils()VersionInformationgetVersionInformation()booleanisErroneous()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.
-
-
-
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.ERRORis reported by any of the participating processors.- Returns:
trueif the currently processed mapper type is erroneous,falseotherwise.
-
-