8026564: import changes from type-annotations forest

Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
This commit is contained in:
Werner Dietl 2013-10-15 15:57:13 -07:00 committed by Jonathan Gibbons
parent 912fc38c65
commit e5c34a89eb
61 changed files with 1173 additions and 298 deletions

View file

@ -946,8 +946,8 @@ public class DPrinter {
*/
public class TypeVisitor implements Type.Visitor<Void,Void> {
public Void visitAnnotatedType(AnnotatedType type, Void ignore) {
printList("typeAnnotations", type.typeAnnotations);
printType("underlyingType", type.underlyingType, Details.FULL);
printList("typeAnnotations", type.getAnnotationMirrors());
printType("underlyingType", type.unannotatedType(), Details.FULL);
return visitType(type, null);
}