Top Fields Constructors Methods
io.vertx.codegen

public final Enum MethodKind

extends Enum<MethodKind>
Class Inheritance
Imports
java.util.HashMap, .Map

Author
Julien Viet

Field Summary

Modifier and TypeField 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 io.vertx.core.Future parameterized type argument.

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MethodKind
public static MethodKind[]
public static Map<String, MethodKind>
vars()

Useful for testing the method kind, allows to do method.kind == METHOD_HANDLER instead of method.kind.name() == "HANDLER"

Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CALLBACKback 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.

FUTUREback to summary
public static final MethodKind FUTURE

The method has a future kind when it return type is a parameterized io.vertx.core.Future parameterized type argument.

HANDLERback 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.

OTHERback to summary
public static final MethodKind OTHER

Constructor Detail

MethodKindback to summary
private MethodKind()

Method Detail

valueOfback to summary
public static MethodKind valueOf(String name)
valuesback to summary
public static MethodKind[] values()
varsback to summary
public static Map<String, MethodKind> vars()

Useful for testing the method kind, allows to do method.kind == METHOD_HANDLER instead of method.kind.name() == "HANDLER"