public static interface ModelElementProcessor.ProcessorContext
ModelElementProcessor.process(ProcessorContext, TypeElement, Object)
providing access to common infrastructure objects such as Types
etc.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. |
Filer getFiler()
Types getTypeUtils()
Elements getElementUtils()
TypeFactory getTypeFactory()
FormattingMessager getMessager()
AccessorNamingUtils getAccessorNaming()
Map<String,EnumTransformationStrategy> getEnumTransformationStrategies()
EnumMappingStrategy getEnumMappingStrategy()
Options getOptions()
VersionInformation getVersionInformation()
boolean isErroneous()
Diagnostic.Kind.ERROR
is reported
by any of the participating processors.true
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.