code: public void visitApply(JCMethodInvocation tree) {
          setTypeAnnotationPositions(tree.pos);
          // Generate code for method.
          Item m = genExpr(tree.meth, methodType);
          // Generate code for all arguments, where the expected types are
          // the parameters of the method's external type (that is, any implicit
          // outer instance of a super(...) call appears as first parameter).
          MethodSymbol msym = (MethodSymbol)TreeInfo.symbol(tree.meth);
          genArgs(tree.args,
                  msym.externalType(types).getParameterTypes());
          if (!msym.isDynamic()) {
              code.statBegin(tree.pos);
          }
          result = m.invoke();
      }
docs: /* ************************************************************************
  Visitor methods for expressions
  ***********************************************************************