code: public static com.sun.javadoc.Type[] getTypes(DocEnv env, List<Type> ts) {
          return getTypes(env, ts, new com.sun.javadoc.Type[ts.length()]);
      }
docs: Convert a list of javac types into an array of javadoc types.