@@ -0,0 +1,583 @@
+package net.davidvoid.thor.lightning.util;%0A%0Aimport org.springframework.util.Assert;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0Aimport java.util.Objects;%0A%0Aimport static org.springframework.util.Assert.isTrue;%0A%0A/**%0A * Created by david on 4/27/16.%0A */%0Apublic abstract  class MapLiteral %7B%0A    public static Map%3CString, Object%3E map(Object... objs) %7B%0A        isTrue(objs.length %25 2 == 0);%0A%0A        Map%3CString, Object%3E ret = new HashMap%3C%3E();%0A        for (int i = 0; i %3C objs.length; i += 2) %7B%0A            ret.put((String) objs%5Bi%5D, objs%5Bi + 1%5D);%0A        %7D%0A%0A        return ret;%0A    %7D%0A%7D%0A

add helper class to build a map