List of usage examples for com.google.gwt.dev.util.collect Maps create
public static <K, V> Map<K, V> create(K key, V value)
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));
}