private void printTypeParameters(List<TypeParameter> args, Object arg) { if (args != null) { for (Iterator<TypeParameter> i = args.iterator(); i.hasNext(); ) { TypeParameter t = i.next(); t.accept(this, arg); if (i.hasNext()) {} } } }