langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java
changeset 21041 99f5e5e97425
parent 19933 5182bc65845b
child 22163 3651128c74eb
equal deleted inserted replaced
21040:3e32f68d2151 21041:99f5e5e97425
  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); }