langtools/src/share/classes/com/sun/tools/javac/code/SymbolMetadata.java
changeset 21041 99f5e5e97425
parent 21040 3e32f68d2151
child 22163 3651128c74eb
equal deleted inserted replaced
21040:3e32f68d2151 21041:99f5e5e97425
   427 
   427 
   428         public Placeholder(Annotate.AnnotateRepeatedContext<T> ctx, List<T> placeholderFor, Symbol on) {
   428         public Placeholder(Annotate.AnnotateRepeatedContext<T> ctx, List<T> placeholderFor, Symbol on) {
   429             super(on.type, List.<Pair<Symbol.MethodSymbol, Attribute>>nil(),
   429             super(on.type, List.<Pair<Symbol.MethodSymbol, Attribute>>nil(),
   430                     ctx.isTypeCompound ?
   430                     ctx.isTypeCompound ?
   431                             ((Attribute.TypeCompound)placeholderFor.head).position :
   431                             ((Attribute.TypeCompound)placeholderFor.head).position :
   432                                 null);
   432                                 new TypeAnnotationPosition());
   433             this.ctx = ctx;
   433             this.ctx = ctx;
   434             this.placeholderFor = placeholderFor;
   434             this.placeholderFor = placeholderFor;
   435             this.on = on;
   435             this.on = on;
   436         }
   436         }
   437 
   437