@ Override public void addParameterAnnotation ( int param , AnnotationValue annotationValue ) { HashMap < Integer , Map < ClassDescriptor , AnnotationValue > > updatedAnnotations = new HashMap <> ( methodParameterAnnotations ) ; Map < ClassDescriptor , AnnotationValue > paramMap = updatedAnnotations . get ( param ) ; if ( paramMap == null ) { paramMap = new HashMap <> ( ) ; updatedAnnotations . put ( param , paramMap ) ; } paramMap . put ( annotationValue . getAnnotationClass ( ) , annotationValue ) ; methodParameterAnnotations = updatedAnnotations ; TypeQualifierApplications . updateAnnotations ( this ) ; }
Destructively add a parameter annotation .