| Modifier and Type | Field and Description |
|---|---|
| public static final MethodKind | CALLBACK
The method has a callback kind when it has at least one parameter and its last parameter is a parameterized handler type having a async_result parameterized type argument. |
| public static final MethodKind | FUTURE
The method has a future kind when it return type is a parameterized |
| public static final MethodKind | HANDLER
A method has an handler kind when it has at least one parameter and its last parameter is a parameterized handler type having a legal type argument that is not an async_result class kind. |
| public static final MethodKind |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MethodKind | |
| public static MethodKind[] | |
| public static Map | vars()
Useful for testing the method kind, allows to do method.kind == METHOD_HANDLER instead of method.kind.name() == "HANDLER" |
| CALLBACK | back to summary |
|---|---|
| public static final MethodKind CALLBACK The method has a callback kind when it has at least one parameter and its last parameter is a parameterized handler type having a async_result parameterized type argument. | |
| FUTURE | back to summary |
|---|---|
| public static final MethodKind FUTURE The method has a future kind when it return type is a parameterized | |
| HANDLER | back to summary |
|---|---|
| public static final MethodKind HANDLER A method has an handler kind when it has at least one parameter and its last parameter is a parameterized handler type having a legal type argument that is not an async_result class kind. | |
| OTHER | back to summary |
|---|---|
| public static final MethodKind OTHER | |
| MethodKind | back to summary |
|---|---|
| private MethodKind() | |
| valueOf | back to summary |
|---|---|
| public static MethodKind valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MethodKind[] values() | |
| vars | back to summary |
|---|---|
| public static Map Useful for testing the method kind, allows to do method.kind == METHOD_HANDLER instead of method.kind.name() == "HANDLER" | |