&& hierarchyCall.getArgCount() > 0 && hierarchyCall.getArg(0) instanceof FunCall) && currentMemberCall.getArgCount() > 0 && currentMemberCall.getArg(0) instanceof DimensionExpr)
assert call2.getArgCount() == 2; if (call2.getArg(1) instanceof Id) { final Id id = (Id) call2.getArg(1);