public class DefaultModelElementProcessorContext extends Object implements ModelElementProcessor.ProcessorContext
Constructor and Description |
---|
DefaultModelElementProcessorContext(ProcessingEnvironment processingEnvironment,
Options options) |
Modifier and Type | Method and Description |
---|---|
Elements |
getElementUtils() |
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)
public Filer getFiler()
getFiler
in interface ModelElementProcessor.ProcessorContext
public Types getTypeUtils()
getTypeUtils
in interface ModelElementProcessor.ProcessorContext
public Elements getElementUtils()
getElementUtils
in interface ModelElementProcessor.ProcessorContext
public TypeFactory getTypeFactory()
getTypeFactory
in interface ModelElementProcessor.ProcessorContext
public FormattingMessager getMessager()
getMessager
in interface ModelElementProcessor.ProcessorContext
public Options getOptions()
getOptions
in interface ModelElementProcessor.ProcessorContext
public VersionInformation getVersionInformation()
getVersionInformation
in interface ModelElementProcessor.ProcessorContext
public boolean isErroneous()
ModelElementProcessor.ProcessorContext
Diagnostic.Kind.ERROR
is reported
by any of the participating processors.isErroneous
in interface ModelElementProcessor.ProcessorContext
true
if the currently processed mapper type is
erroneous, false
otherwise.Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.