public class MethodWriter<JS> extends AbstractMemberWriter<JS> implements WriterContributor<com.sun.source.tree.MethodTree,JS>
| Constructor and Description |
|---|
MethodWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(TreeWrapper<com.sun.source.tree.MethodTree,JS> tw) |
static <JS> List<JS> |
getParams(List<? extends com.sun.source.tree.VariableTree> treeParams,
GenerationContext<JS> context) |
static int |
getTHISParamPos(List<? extends com.sun.source.tree.VariableTree> parameters) |
JS |
visit(WriterVisitor<JS> visitor,
com.sun.source.tree.MethodTree tree,
GenerationContext<JS> context) |
getMemberTargetpublic static <JS> List<JS> getParams(List<? extends com.sun.source.tree.VariableTree> treeParams, GenerationContext<JS> context)
public static int getTHISParamPos(List<? extends com.sun.source.tree.VariableTree> parameters)
protected boolean accept(TreeWrapper<com.sun.source.tree.MethodTree,JS> tw)
public JS visit(WriterVisitor<JS> visitor, com.sun.source.tree.MethodTree tree, GenerationContext<JS> context)
visit in interface VisitorContributor<com.sun.source.tree.MethodTree,JS,GenerationContext<JS>,WriterVisitor<JS>>Copyright © 2015. All Rights Reserved.