Example usage for com.google.gwt.dev.util.collect Maps create

List of usage examples for com.google.gwt.dev.util.collect Maps create

Introduction

In this page you can find the example usage for com.google.gwt.dev.util.collect Maps create.

Prototype

public static <K, V> Map<K, V> create(K key, V value) 

Source Link

Usage

From source file:com.gwtplatform.dispatch.rest.processors.AnnotatedElementBuilder.java

License:Apache License

@SuppressWarnings({ "unchecked", "rawtypes" })
private void setAnnotationValues(ExecutableElement annotationValueMethod, AnnotationValue annotationValue) {
    given(annotationMirror.getElementValues())
            .willReturn((Map) Maps.create(annotationValueMethod, annotationValue));
}