Expression expression = (Expression) typedGoal.getExpression();
Expression receiver;
Expression field;
if (expression instanceof FieldAccess) {
FieldAccess fieldAccess = (FieldAccess) expression;
receiver = fieldAccess.getDispatcher();
field = fieldAccess.getField();
} else if (expression instanceof StaticFieldAccess) {
StaticFieldAccess fieldAccess = (StaticFieldAccess) expression;
receiver = fieldAccess.getDispatcher();
field = fieldAccess.getField();
} else {
return null;
}
String variableName;