I understand that annotations are immutable, however, arrays in Java are by themselves not immutable. After running a test I notice that the array returned from an annotation parameter can be mutated but it does not effect the source array:
I was trying to use Annotation Processors, to generate implementations of specific Factory interfaces. Those interfaces look the following:
If multiple fields are declared in a single statement using a field annotation, does the annotation apply to all of the fields?