VariableReference reference = (VariableReference) expression;
String variable = reference.astIdentifier().astValue();
return mTypes.get(variable);
} else if (expression instanceof MethodInvocation) {
MethodInvocation method = (MethodInvocation) expression;
String methodName = method.astName().astValue();
if (methodName.equals(GET_STRING_METHOD)) {
return String.class;
}
} else if (expression instanceof StringLiteral) {
return String.class;