public class GroupSectionSpecModelFactory extends Object implements SpecModelFactory
GroupSectionSpecModel
s.Constructor and Description |
---|
GroupSectionSpecModelFactory() |
GroupSectionSpecModelFactory(SpecGenerator<GroupSectionSpecModel> specGenerator) |
Modifier and Type | Method and Description |
---|---|
SpecModel |
create(javax.lang.model.util.Elements elements,
javax.lang.model.util.Types types,
javax.lang.model.element.TypeElement element,
javax.annotation.processing.Messager messager,
RunMode runMode,
DependencyInjectionHelper dependencyInjectionHelper,
InterStageStore interStageStore)
|
GroupSectionSpecModel |
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,
RunMode runMode) |
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, RunMode, DependencyInjectionHelper,
InterStageStore) . |
public GroupSectionSpecModelFactory()
public GroupSectionSpecModelFactory(SpecGenerator<GroupSectionSpecModel> specGenerator)
public Set<javax.lang.model.element.Element> extract(javax.annotation.processing.RoundEnvironment roundEnvironment)
SpecModelFactory
SpecModelFactory.create(Elements, Types, TypeElement, Messager, RunMode, DependencyInjectionHelper,
InterStageStore)
.extract
in interface SpecModelFactory
public SpecModel create(javax.lang.model.util.Elements elements, javax.lang.model.util.Types types, javax.lang.model.element.TypeElement element, javax.annotation.processing.Messager messager, RunMode runMode, @Nullable DependencyInjectionHelper dependencyInjectionHelper, @Nullable 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
public GroupSectionSpecModel createModel(javax.lang.model.util.Elements elements, javax.lang.model.util.Types types, javax.lang.model.element.TypeElement element, javax.annotation.processing.Messager messager, @Nullable DependencyInjectionHelper dependencyInjectionHelper, RunMode runMode)