private static void processOtherMappings ( ) { codeToJavaMapping . clear ( ) ; codeToJKTypeMapping . clear ( ) ; shortListOfJKTypes . clear ( ) ; Set < Class < ? > > keySet = javaToCodeMapping . keySet ( ) ; for ( Class < ? > clas : keySet ) { List < Integer > codes = javaToCodeMapping . get ( clas ) ; for ( Integer code : codes ) { codeToJavaMapping . put ( code , clas ) ; logger . debug ( " Code ({}) class ({}) name ({})" , code , clas . getSimpleName ( ) , namesMapping . get ( code ) ) ; codeToJKTypeMapping . put ( code , new JKType ( code , clas , namesMapping . get ( code ) ) ) ; } shortListOfJKTypes . add ( new JKType ( codes . get ( 0 ) , clas , namesMapping . get ( codes . get ( 0 ) ) ) ) ; } }
This method is used to avoid reconigure the mapping in the otherside again .