
public class DefaultModelElementProcessorContext extends Object implements ModelElementProcessor.ProcessorContext
| Constructor and Description |
|---|
DefaultModelElementProcessorContext(ProcessingEnvironment processingEnvironment,
Options options,
RoundContext roundContext,
Map<String,String> notToBeImported) |
| Modifier and Type | Method and Description |
|---|---|
AccessorNamingUtils |
getAccessorNaming() |
Elements |
getElementUtils() |
EnumMappingStrategy |
getEnumMappingStrategy() |
Map<String,EnumTransformationStrategy> |
getEnumTransformationStrategies() |
Filer |
getFiler() |
FormattingMessager |
getMessager() |
Options |
getOptions() |
TypeFactory |
getTypeFactory() |
Types |
getTypeUtils() |
VersionInformation |
getVersionInformation() |
boolean |
isErroneous()
Whether the currently processed mapper type is erroneous which is the
case if at least one diagnostic with
Diagnostic.Kind.ERROR is reported
by any of the participating processors. |
public DefaultModelElementProcessorContext(ProcessingEnvironment processingEnvironment, Options options, RoundContext roundContext, Map<String,String> notToBeImported)
public Filer getFiler()
getFiler in interface ModelElementProcessor.ProcessorContextpublic Types getTypeUtils()
getTypeUtils in interface ModelElementProcessor.ProcessorContextpublic Elements getElementUtils()
getElementUtils in interface ModelElementProcessor.ProcessorContextpublic TypeFactory getTypeFactory()
getTypeFactory in interface ModelElementProcessor.ProcessorContextpublic FormattingMessager getMessager()
getMessager in interface ModelElementProcessor.ProcessorContextpublic AccessorNamingUtils getAccessorNaming()
getAccessorNaming in interface ModelElementProcessor.ProcessorContextpublic Map<String,EnumTransformationStrategy> getEnumTransformationStrategies()
getEnumTransformationStrategies in interface ModelElementProcessor.ProcessorContextpublic EnumMappingStrategy getEnumMappingStrategy()
getEnumMappingStrategy in interface ModelElementProcessor.ProcessorContextpublic Options getOptions()
getOptions in interface ModelElementProcessor.ProcessorContextpublic VersionInformation getVersionInformation()
getVersionInformation in interface ModelElementProcessor.ProcessorContextpublic boolean isErroneous()
ModelElementProcessor.ProcessorContextDiagnostic.Kind.ERROR is reported
by any of the participating processors.isErroneous in interface ModelElementProcessor.ProcessorContexttrue if the currently processed mapper type is
erroneous, false otherwise.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.