class SymbolicLookup implements Function<Symbolic, String> {

    public static <T extends Symbolic> ImmutableMap<String,T> map(T[] values) {
        return Maps.uniqueIndex(Arrays.asList(values), new SymbolicLookup());
    }

}