public class DefaultModelElementProcessorContext extends java.lang.Object implements ModelElementProcessor.ProcessorContext
| Constructor and Description |
|---|
DefaultModelElementProcessorContext(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
javax.lang.model.util.Elements |
getElementUtils() |
javax.annotation.processing.Filer |
getFiler() |
javax.annotation.processing.Messager |
getMessager() |
Options |
getOptions() |
TypeFactory |
getTypeFactory() |
javax.lang.model.util.Types |
getTypeUtils() |
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(javax.annotation.processing.ProcessingEnvironment processingEnvironment,
Options options)
public javax.annotation.processing.Filer getFiler()
getFiler in interface ModelElementProcessor.ProcessorContextpublic javax.lang.model.util.Types getTypeUtils()
getTypeUtils in interface ModelElementProcessor.ProcessorContextpublic javax.lang.model.util.Elements getElementUtils()
getElementUtils in interface ModelElementProcessor.ProcessorContextpublic TypeFactory getTypeFactory()
getTypeFactory in interface ModelElementProcessor.ProcessorContextpublic javax.annotation.processing.Messager getMessager()
getMessager in interface ModelElementProcessor.ProcessorContextpublic Options getOptions()
getOptions 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-2014. All Rights Reserved.