}
if (!(invocation.getExpression() instanceof SimpleName)) {
return null;
}
//
SimpleName field = (SimpleName) invocation.getExpression();
String bundleName = AstNodeUtils.getFullyQualifiedName(field, true);
String fieldName = field.getIdentifier();
//
SimpleName keyExpression = invocation.getName();
String key = keyExpression.getIdentifier();
//
ExpressionInfo expressionInfo =
new ExpressionInfo(expression, bundleName, fieldName, keyExpression, key);
expression.setProperty(NLS_EXPRESSION_INFO, expressionInfo);
return expressionInfo;