public class DiffSectionSpecModelFactory extends java.lang.Object implements SpecModelFactory<DiffSectionSpecModel>
DiffSectionSpecModel
s.Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
DELEGATE_METHOD_ANNOTATIONS |
static java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> |
UNSUPPORTED_METHOD_ANNOTATIONS |
Constructor and Description |
---|
DiffSectionSpecModelFactory() |
DiffSectionSpecModelFactory(SpecGenerator<DiffSectionSpecModel> specGenerator) |
Modifier and Type | Method and Description |
---|---|
DiffSectionSpecModel |
create(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.element.TypeElement element,
javax.annotation.processing.Messager messager,
java.util.EnumSet<RunMode> runMode,
DependencyInjectionHelper dependencyInjectionHelper,
InterStageStore interStageStore)
|
DiffSectionSpecModel |
createModel(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.element.TypeElement element,
javax.annotation.processing.Messager messager,
DependencyInjectionHelper dependencyInjectionHelper,
java.util.EnumSet<RunMode> runMode) |
java.util.Set<javax.lang.model.element.Element> |
extract(javax.annotation.processing.RoundEnvironment roundEnvironment)
Extract the relevant Elements to work with from the round environment before they're passed on
to
SpecModelFactory.create(Elements, Types, TypeElement, Messager, EnumSet, DependencyInjectionHelper,
InterStageStore) . |
public static final java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> DELEGATE_METHOD_ANNOTATIONS
public static final java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> UNSUPPORTED_METHOD_ANNOTATIONS
public DiffSectionSpecModelFactory()
public DiffSectionSpecModelFactory(SpecGenerator<DiffSectionSpecModel> specGenerator)
public java.util.Set<javax.lang.model.element.Element> extract(javax.annotation.processing.RoundEnvironment roundEnvironment)
SpecModelFactory
SpecModelFactory.create(Elements, Types, TypeElement, Messager, EnumSet, DependencyInjectionHelper,
InterStageStore)
.extract
in interface SpecModelFactory<DiffSectionSpecModel>
public DiffSectionSpecModel create(javax.lang.model.util.Elements elements, javax.lang.model.util.Types types, javax.lang.model.element.TypeElement element, javax.annotation.processing.Messager messager, java.util.EnumSet<RunMode> runMode, DependencyInjectionHelper dependencyInjectionHelper, InterStageStore interStageStore)
SpecModelFactory
SpecModel
from the given TypeElement
and an optional DependencyInjectionHelper
. The optional InterStageStore
can be used to augment name
lookups in Java 7.create
in interface SpecModelFactory<DiffSectionSpecModel>
public DiffSectionSpecModel createModel(javax.lang.model.util.Elements elements, javax.lang.model.util.Types types, javax.lang.model.element.TypeElement element, javax.annotation.processing.Messager messager, DependencyInjectionHelper dependencyInjectionHelper, java.util.EnumSet<RunMode> runMode)