adds targets to the configuration of java annotationa. targets specifies the element type which is annotated by an annotation