question: public static AnnotatedTypeMirror removePrefix ( final Elements elements , final AnnotatedTypeMirror annoType ) { AnnotatedTypeMirror result = annoType . deepCopy ( false ) ; Set < AnnotationMirror > annos = annoType . getAnnotations ( ) ; for ( AnnotationMirror anno : annos ) { AnnotationMirror cleanedMirror = removePrefix ( elements , anno ) ; if ( cleanedMirror != null ) { result . addAnnotation ( cleanedMirror ) ; } else { result . addAnnotation ( anno ) ; } } return result ; }
target:  Removes the Prefix value from an Annotated Type, by constructing and returning a copy of the Annotated Type without the prefix