Example usage for com.google.gwt.dev.asm Type VOID_TYPE

List of usage examples for com.google.gwt.dev.asm Type VOID_TYPE

Introduction

In this page you can find the example usage for com.google.gwt.dev.asm Type VOID_TYPE.

Prototype

Type VOID_TYPE

To view the source code for com.google.gwt.dev.asm Type VOID_TYPE.

Click Source Link

Document

The void type.

Usage

From source file:com.google.web.bindery.requestfactory.vm.impl.OperationKey.java

License:Apache License

private static String key(String requestContextBinaryName, String methodName, String descriptor) {
    Method m = new Method(methodName, Type.VOID_TYPE, Type.getArgumentTypes(descriptor));
    String raw = requestContextBinaryName + "::" + methodName + m.getDescriptor();
    return raw.length() >= HASH_LENGTH ? hash(raw) : raw;
}