@JustOnce public class CallbackInterfacesGenerator extends Object implements ModuleGenerator
Constructor and Description |
---|
CallbackInterfacesGenerator() |
Modifier and Type | Method and Description |
---|---|
List<Product> |
consumes() |
Context |
ctx() |
void |
generate(Module module) |
List<Product> |
produces() |
protected TypeReference |
ref(Class<?> clazz) |
protected Type |
ref(Module module) |
protected Type |
ref(TypeMirror typeMirror) |
void |
setCtx(Context generationContext) |
boolean |
shouldGenerate(Module module) |
protected Context context
public boolean shouldGenerate(Module module)
shouldGenerate
in interface ModuleGenerator
public void generate(Module module) throws GenerationException
generate
in interface ModuleGenerator
GenerationException
protected TypeReference ref(Class<?> clazz)
protected Type ref(TypeMirror typeMirror)
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.