public class ExposedMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
name
The method name.
|
(package private) List<String> |
parameterTypes
List of parameter types in Canonical Name notation.
|
(package private) String |
returnType
The Canonical Name notation of the return type.
|
| Constructor and Description |
|---|
ExposedMethod(String name,
String returnType,
List<String> parameterTypes) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static List<String> |
extractParameters(ExecutableElement method) |
static ExposedMethod |
from(ExecutableElement method) |
String |
getParametersAsString() |
String |
getParametersWithTypesAsString() |
boolean |
getReturnable()
Identifies if the method should or not returns data.
|
final String name
final String returnType
public boolean getReturnable()
public String getParametersWithTypesAsString()
public String getParametersAsString()
public static ExposedMethod from(ExecutableElement method)
static List<String> extractParameters(ExecutableElement method)
Copyright © 2015. All rights reserved.