public void setParameter ( MethodDescriptor methodDesc , int param , TypeQualifierValue < ? > tqv , TypeQualifierAnnotation tqa ) { Map < TypeQualifierValue < ? > , TypeQualifierAnnotation > map = parameterMap . get ( methodDesc , param ) ; if ( map == null ) { map = new HashMap <> ( ) ; parameterMap . put ( methodDesc , param , map ) ; } map . put ( tqv , tqa ) ; if ( DEBUG ) { System . out . println ( "tqdb: " + methodDesc + " parameter " + param + " for " + tqv + " ==> " + tqa ) ; } }
Set a TypeQualifierAnnotation on a method parameter .