equal
deleted
inserted
replaced
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); } |