code: private List<Type> bsmStaticArgToTypes(List<Object> args) {
          ListBuffer<Type> argtypes = new ListBuffer<>();
          for (Object arg : args) {
              argtypes.append(bsmStaticArgToType(arg));
          }
          return argtypes.toList();
      }
docs: where