In its current state, GenericTypeReflector.annotate adds class annotations as type annotations. I'm not entirely sure where this would be useful, but it is a serious problem for almost anything that wants to create annotated classes. See, I'm making a library and I need to create AnnotatedTypes given a Type and a set of given annotations, however I need those exact annotations, and don't want any of the random @SuppressWarnings etc. annotations from the class being added to the type on my behalf.
In its current state,
GenericTypeReflector.annotateadds class annotations as type annotations. I'm not entirely sure where this would be useful, but it is a serious problem for almost anything that wants to create annotated classes. See, I'm making a library and I need to createAnnotatedTypesgiven a Type and a set of given annotations, however I need those exact annotations, and don't want any of the random@SuppressWarningsetc. annotations from the class being added to the type on my behalf.