private void printFormalTypeParameterSet(Collection<TypeParameterDeclaration> typeParams, boolean pad) {
            if (typeParams.size() != 0) {
                System.out.print("<");

                boolean first = true;
                for(TypeParameterDeclaration tpd: typeParams) {
                    if (!first)
                        System.out.print(", ");
                    System.out.print(tpd.toString());
                }

                System.out.print(">");
                if (pad)
                    System.out.print(" ");

            }
        }