private String uniquifyInternal(String namePrefix,String origName){
  String name=origName;
  int suffixNum=2;
  while (true) {
    String candidate=buildName(namePrefix,name);
    if (usedFullNames.add(candidate)) {
      return candidate;
    }
    name=origName + suffixNum++;
  }
}

private String uniquifyInternal ( String namePrefix , String origName ) { String name = origName ; int suffixNum = 2 ; while ( true ) { String candidate = buildName ( namePrefix , name ) ; if ( usedFullNames . add ( candidate ) ) { return candidate ; } name = origName + suffixNum ++ ; } }
returns a unique name for a transform with the given prefix ( from enclosing transforms ) and initial name . < p > for internal use only .
