src/share/classes/com/sun/tools/javac/tree/TreeCopier.java

changeset 722
4851ff2ffc10
parent 609
13354e1abba7
child 724
7755f47542a0
     1.1 --- a/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java	Tue Oct 19 11:47:17 2010 +0530
     1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java	Tue Oct 19 15:02:48 2010 -0700
     1.3 @@ -71,12 +71,12 @@
     1.4          return lb.toList();
     1.5      }
     1.6  
     1.7 -    public JCTree visitAnnotatedType(AnnotatedTypeTree node, P p) {
     1.8 -        JCAnnotatedType t = (JCAnnotatedType) node;
     1.9 -        List<JCTypeAnnotation> annotations = copy(t.annotations, p);
    1.10 -        JCExpression underlyingType = copy(t.underlyingType, p);
    1.11 -        return M.at(t.pos).AnnotatedType(annotations, underlyingType);
    1.12 -    }
    1.13 +//308    public JCTree visitAnnotatedType(AnnotatedTypeTree node, P p) {
    1.14 +//308        JCAnnotatedType t = (JCAnnotatedType) node;
    1.15 +//308        List<JCTypeAnnotation> annotations = copy(t.annotations, p);
    1.16 +//308        JCExpression underlyingType = copy(t.underlyingType, p);
    1.17 +//308        return M.at(t.pos).AnnotatedType(annotations, underlyingType);
    1.18 +//308    }
    1.19  
    1.20      public JCTree visitAnnotation(AnnotationTree node, P p) {
    1.21          JCAnnotation t = (JCAnnotation) node;

mercurial