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

changeset 2134
b0c086cd4520
parent 2019
77d395862700
child 2395
9c577131ffa6
equal deleted inserted replaced
2133:19e8eebfbe52 2134:b0c086cd4520
2357 // type annotations 2357 // type annotations
2358 public List<JCAnnotation> annotations; 2358 public List<JCAnnotation> annotations;
2359 public JCExpression underlyingType; 2359 public JCExpression underlyingType;
2360 2360
2361 protected JCAnnotatedType(List<JCAnnotation> annotations, JCExpression underlyingType) { 2361 protected JCAnnotatedType(List<JCAnnotation> annotations, JCExpression underlyingType) {
2362 Assert.check(annotations != null && annotations.nonEmpty());
2362 this.annotations = annotations; 2363 this.annotations = annotations;
2363 this.underlyingType = underlyingType; 2364 this.underlyingType = underlyingType;
2364 } 2365 }
2365 @Override 2366 @Override
2366 public void accept(Visitor v) { v.visitAnnotatedType(this); } 2367 public void accept(Visitor v) { v.visitAnnotatedType(this); }

mercurial