1.1 --- a/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java Wed Feb 18 13:47:27 2009 -0800 1.2 +++ b/src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java Fri Feb 20 11:56:09 2009 -0800 1.3 @@ -125,7 +125,7 @@ 1.4 return this; 1.5 1.6 defaultAction(e, true); 1.7 - printFormalTypeParameters(e); 1.8 + printFormalTypeParameters(e, true); 1.9 1.10 switch(kind) { 1.11 case CONSTRUCTOR: 1.12 @@ -207,7 +207,7 @@ 1.13 writer.print(" "); 1.14 writer.print(e.getSimpleName()); 1.15 1.16 - printFormalTypeParameters(e); 1.17 + printFormalTypeParameters(e, false); 1.18 1.19 // Print superclass information if informative 1.20 if (kind == CLASS) { 1.21 @@ -364,16 +364,9 @@ 1.22 } 1.23 } 1.24 1.25 - private void printFormalTypeParameters(ExecutableElement executable) { 1.26 - printFormalTypeParameters(executable.getTypeParameters(), true); 1.27 - } 1.28 - 1.29 - private void printFormalTypeParameters(TypeElement type) { 1.30 - printFormalTypeParameters(type.getTypeParameters(), false); 1.31 - } 1.32 - 1.33 - private void printFormalTypeParameters(List<? extends TypeParameterElement> typeParams, 1.34 + private void printFormalTypeParameters(Parameterizable e, 1.35 boolean pad) { 1.36 + List<? extends TypeParameterElement> typeParams = e.getTypeParameters(); 1.37 if (typeParams.size() > 0) { 1.38 writer.print("<"); 1.39