mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 05:59:52 +00:00
6872011: Update printing processor to support JSR 308
Reviewed-by: jjg
This commit is contained in:
parent
b91de4eb6a
commit
47307bdb89
@ -48,7 +48,8 @@ import java.util.*;
|
||||
* deletion without notice.</b>
|
||||
*/
|
||||
@SupportedAnnotationTypes("*")
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_6)
|
||||
// TODO: Change to version 7 based visitors when available
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_7)
|
||||
public class PrintingProcessor extends AbstractProcessor {
|
||||
PrintWriter writer;
|
||||
|
||||
@ -374,6 +375,7 @@ public class PrintingProcessor extends AbstractProcessor {
|
||||
for(TypeParameterElement tpe: typeParams) {
|
||||
if (!first)
|
||||
writer.print(", ");
|
||||
printAnnotationsInline(tpe);
|
||||
writer.print(tpe.toString());
|
||||
first = false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user