public abstract class NodeMethodParser<E extends TemplateMethod> extends TemplateMethodParser<NodeData,E>
template, types| Constructor and Description |
|---|
NodeMethodParser(ProcessorContext context,
NodeData node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultFieldMethodSpec(MethodSpec methodSpec) |
protected void |
addDefaultFrame(MethodSpec methodSpec) |
protected MethodSpec |
createDefaultMethodSpec(ExecutableElement method,
AnnotationMirror mirror,
boolean shortCircuitsEnabled,
String shortCircuitName) |
protected ParameterSpec |
createReturnParameterSpec() |
protected ParameterSpec |
createValueParameterSpec(NodeExecutionData execution) |
NodeData |
getNode() |
protected Collection<TypeMirror> |
getPossibleParameterTypes(NodeExecutionData execution) |
protected Collection<TypeMirror> |
getPossibleReturnTypes() |
boolean |
isParsable(ExecutableElement method) |
create, create, createSpecification, getAnnotationType, getContext, parsepublic NodeMethodParser(ProcessorContext context, NodeData node)
public NodeData getNode()
protected ParameterSpec createValueParameterSpec(NodeExecutionData execution)
protected Collection<TypeMirror> getPossibleParameterTypes(NodeExecutionData execution)
protected ParameterSpec createReturnParameterSpec()
protected Collection<TypeMirror> getPossibleReturnTypes()
public boolean isParsable(ExecutableElement method)
isParsable in class TemplateMethodParser<NodeData,E extends TemplateMethod>protected final MethodSpec createDefaultMethodSpec(ExecutableElement method, AnnotationMirror mirror, boolean shortCircuitsEnabled, String shortCircuitName)
protected void addDefaultFrame(MethodSpec methodSpec)
protected void addDefaultFieldMethodSpec(MethodSpec methodSpec)