for (MapEntryExpression entryExpression : map.getMapEntryExpressions()) {
int line = entryExpression.getLineNumber();
int col = entryExpression.getColumnNumber();
Expression keyExpression = staticCompilationTransformer.transform(entryExpression.getKeyExpression());
Expression valueExpression = staticCompilationTransformer.transform(entryExpression.getValueExpression());
BinaryExpression bexp = new BinaryExpression(new PropertyExpression(new BytecodeExpression() {
@Override
public void visit(final MethodVisitor mv) {
mv.visitVarInsn(ALOAD, tmpObj);
}
@Override
public ClassNode getType() {
return declaringClass;
}
}, keyExpression),
Token.newSymbol("=", line, col),
valueExpression
);
bexp.setSourcePosition(entryExpression);
bexp.visit(acg);
operandStack.pop(); // consume argument
}
// load object
mv.visitVarInsn(ALOAD, tmpObj);