Create another instance of this Annotation
Create another instance of this Annotation
The inner Seqs correspond to the renames of the inner Seqs of targets
Contains a nested sequence of Target
Contains a nested sequence of Target
Each inner Seq should contain a single element. For example:
def targets = Seq(Seq(foo), Seq(bar))
Assume RenameMap is Map(TargetA -> Seq(TargetA1, TargetA2, TargetA3), TargetB -> Seq(TargetB1, TargetB2))
After flat, this Annotation will be flat to the AnnotationSeq in the below form
Seq(Seq(TargetA1), Seq(TargetB1), Seq(TargetC)); Seq(Seq(TargetA1), Seq(TargetB2), Seq(TargetC))
Seq(Seq(TargetA2), Seq(TargetB1), Seq(TargetC)); Seq(Seq(TargetA2), Seq(TargetB2), Seq(TargetC))
Seq(Seq(TargetA3), Seq(TargetB1), Seq(TargetC)); Seq(Seq(TargetA3), Seq(TargetB2), Seq(TargetC))
Returns all Target members in this annotation
Returns all Target members in this annotation
Optional pretty print
Optional pretty print
rarely used
Assume RenameMap is Map(TargetA -> Seq(TargetA1, TargetA2, TargetA3), TargetB -> Seq(TargetB1, TargetB2))
in the update, this Annotation is still one annotation, but the contents are renamed in the below form
Seq(Seq(TargetA1, TargetA2, TargetA3), Seq(TargetB1, TargetB2), Seq(TargetC))
Assume RenameMap is Map(TargetA -> Seq(TargetA1, TargetA2, TargetA3), TargetB -> Seq(TargetB1, TargetB2))
in the update, this Annotation is still one annotation, but the contents are renamed in the below form
Seq(Seq(TargetA1, TargetA2, TargetA3), Seq(TargetB1, TargetB2), Seq(TargetC))
MultiTargetAnnotation keeps the renamed targets grouped within a single annotation.