utility method that replaces the values of a map , which must be instances of list , with unmodifiable equivalents . concode_field_sep List<Unit> tails concode_elem_sep Map<Unit,List<Unit>> unitToPreds concode_elem_sep SootMethod method concode_elem_sep Chain<Unit> unitChain concode_elem_sep Map<Unit,List<Unit>> unitToSuccs concode_elem_sep List<Unit> heads concode_elem_sep Body body concode_field_sep List<Unit> getTails concode_elem_sep void buildHeadsAndTails concode_elem_sep Body getBody concode_elem_sep List<Unit> getExtendedBasicBlockPathBetween concode_elem_sep List<Unit> getSuccsOf concode_elem_sep Iterator<Unit> iterator concode_elem_sep int size concode_elem_sep Map<Unit,List<Unit>> combineMapValues concode_elem_sep String toString concode_elem_sep List<Unit> getHeads concode_elem_sep void buildUnexceptionalEdges concode_elem_sep void addEdge concode_elem_sep List<Unit> getPredsOf
void function ( Map < ? , List < Unit >> arg0 ) { for ( Entry < ? , List < Unit >> loc0 : arg0 . entrySet ( ) ) { List < Unit > loc1 = loc0 . getValue ( ) ; if ( loc1 . size ( ) == 0 ) { loc0 . setValue ( Collections . < Unit > emptyList ( ) ) ; } else { loc0 . setValue ( Collections . unmodifiableList ( loc1 ) ) ; } } }