equal
deleted
inserted
replaced
506 |
506 |
507 if (!repeated.isEmpty()) { |
507 if (!repeated.isEmpty()) { |
508 repeated = repeated.reverse(); |
508 repeated = repeated.reverse(); |
509 TreeMaker m = make.at(ctx.pos.get(firstOccurrence)); |
509 TreeMaker m = make.at(ctx.pos.get(firstOccurrence)); |
510 Pair<MethodSymbol, Attribute> p = |
510 Pair<MethodSymbol, Attribute> p = |
511 new Pair<>(containerValueSymbol, |
511 new Pair<MethodSymbol, Attribute>(containerValueSymbol, |
512 new Attribute.Array(arrayOfOrigAnnoType, repeated)); |
512 new Attribute.Array(arrayOfOrigAnnoType, repeated)); |
513 if (ctx.isTypeCompound) { |
513 if (ctx.isTypeCompound) { |
514 /* TODO: the following code would be cleaner: |
514 /* TODO: the following code would be cleaner: |
515 Attribute.TypeCompound at = new Attribute.TypeCompound(targetContainerType, List.of(p), |
515 Attribute.TypeCompound at = new Attribute.TypeCompound(targetContainerType, List.of(p), |
516 ((Attribute.TypeCompound)annotations.head).position); |
516 ((Attribute.TypeCompound)annotations.head).position); |