in src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java [168:177]
public void visit(MapLiteral mapLiteral) {
source.startCall(SourceGenConstants.START_MAP_METHOD).endCall();
for (Map.Entry<String, ExpressionNode> entry : mapLiteral.getMap().entrySet()) {
source.startCall(SourceGenConstants.MAP_TYPE_ADD, true)
.stringLiteral(entry.getKey())
.separateArgument();
visit(entry.getValue());
source.endCall();
}
}