public class CodegenNamedMethods extends Object
Constructor and Description |
---|
CodegenNamedMethods() |
Modifier and Type | Method and Description |
---|---|
CodegenMethod |
addMethod(Class returnType,
String methodName,
List<CodegenNamedParam> params,
Class generator,
CodegenClassScope classScope,
Consumer<CodegenMethod> code) |
CodegenMethod |
addMethodWithSymbols(Class returnType,
String methodName,
List<CodegenNamedParam> params,
Class generator,
CodegenClassScope classScope,
Consumer<CodegenMethod> code,
CodegenSymbolProvider symbolProvider) |
CodegenMethod |
getMethod(String name) |
Map<String,CodegenMethod> |
getMethods() |
public CodegenMethod addMethod(Class returnType, String methodName, List<CodegenNamedParam> params, Class generator, CodegenClassScope classScope, Consumer<CodegenMethod> code)
public CodegenMethod addMethodWithSymbols(Class returnType, String methodName, List<CodegenNamedParam> params, Class generator, CodegenClassScope classScope, Consumer<CodegenMethod> code, CodegenSymbolProvider symbolProvider)
public Map<String,CodegenMethod> getMethods()
public CodegenMethod getMethod(String name)
Copyright © 2005–2018. All rights reserved.