AnnotationVisitor visitArray - for annotation array with no name should not append '='
I can not get to an annotation like:
@XmlElements({ @XmlElement(type=Integer.class, name="A"),
@XmlElement(type=Float.class, name="B"),
@XmlElement(type=int.class, name="C")
})
because in the best case I get:
@XmlElements(={ @XmlElement(type=Integer.class, name="A"),
@XmlElement(type=Float.class, name="B"),
@XmlElement(type=int.class, name="C")
})
I need to annotate a field having the above annotation as target.
but when I try to do the array {...} I have no possibility to remove
the "arrayName"={...} from the annotation. If I give visitArray an empty string
as parameter the = will remain in annotation.