// prepare map literal
if (!(mapExpression instanceof MapLiteral)) {
reportErrorForNode(AngularCode.INVALID_PROPERTY_MAP, mapExpression);
return;
}
MapLiteral mapLiteral = (MapLiteral) mapExpression;
// analyze map entries
for (MapLiteralEntry entry : mapLiteral.getEntries()) {
// prepare property name
Expression nameExpression = entry.getKey();
if (!(nameExpression instanceof SimpleStringLiteral)) {
reportErrorForNode(AngularCode.INVALID_PROPERTY_NAME, nameExpression);
continue;