public class MethodNode extends Object
| Modifier and Type | Method and Description |
|---|---|
List<TypeNode> |
getFunctionParameterTypes()
Returns the combined list of
getRequestBodyType(), getPathVariableTypes() and getQueryParameterTypes() ordered by TypeNode.isOptional()
so that all optional Parameters come after all required. |
List<String> |
getHttpMethods() |
List<TypeNode> |
getMethodParameterTypes()
Returns the combined list of
getPathVariableTypes() and getQueryParameterTypes() |
String |
getName() |
List<TypeNode> |
getOptionalMethodParameterTypes()
Returns the combined list of all optional
getPathVariableTypes() and getQueryParameterTypes() |
List<TypeNode> |
getPathVariableTypes() |
List<TypeNode> |
getQueryParameterTypes() |
TypeNode |
getRequestBodyType() |
List<TypeNode> |
getRequiredMethodParameterTypes()
Returns the combined list of required
getPathVariableTypes() and getQueryParameterTypes() |
TypeNode |
getReturnType() |
Set<TypeNode> |
getTypes() |
String |
getUrl() |
boolean |
isIgnored() |
public TypeNode getReturnType()
public String getName()
public boolean isIgnored()
public String getUrl()
public TypeNode getRequestBodyType()
public List<TypeNode> getMethodParameterTypes()
getPathVariableTypes() and getQueryParameterTypes()TypeNodes which are parameters to this MethodNode.public List<TypeNode> getRequiredMethodParameterTypes()
getPathVariableTypes() and getQueryParameterTypes()TypeNodes which are parameters to this MethodNode.public List<TypeNode> getOptionalMethodParameterTypes()
getPathVariableTypes() and getQueryParameterTypes()TypeNodes which are parameters to this MethodNode.public List<TypeNode> getFunctionParameterTypes()
getRequestBodyType(), getPathVariableTypes() and getQueryParameterTypes() ordered by TypeNode.isOptional()
so that all optional Parameters come after all required.TypeNodes which are parameters to this MethodNode.Copyright © 2016–2018. All rights reserved.