TypeParam[] params = classWrapper.getTypeParams();
TypeParam[] params = TypeParam.getAllTypeParams(classWrapper);
  private void checkArgs() {    TypeParam[] params = classWrapper.getTypeParams();    if (params == null && typeArguments != null) {      throw new RuntimeException("Cannot supply type arguments to a non-generic class (" + name + ")!");    }    if (params != null && typeArguments != null && params.length != typeArguments.length) {      throw new RuntimeException("Cannot supply " + typeArguments.length + " type arguments to " +                                 name + " that expects " + params.length + " parameters!");    }  }