Namespace[] getNamespaces() {
   Iterator i = map.keySet().iterator();
   ArrayList rv = new ArrayList();
   while (i.hasNext()) {
     String prefix = (String) i.next();
     String uri = (String) map.get(prefix);
     Namespace n = Namespace.create(prefix, uri);
     if (!n.isEmpty()) {
       rv.add(n);
     }
   }
   return (Namespace[]) rv.toArray(new Namespace[0]);
 }
 private void manMung() { // 手动混淆,即由用户输入混淆变量
   JTable table = AnalyseWarnPanel.table;
   Set<ScriptOrFnScope> scopes = scopeSymbolMaping.keySet();
   Iterator<ScriptOrFnScope> scopesSetIt = scopes.iterator();
   int i = 0;
   while (scopesSetIt.hasNext()) {
     ScriptOrFnScope tmpScope = scopesSetIt.next();
     List<String> symbolList = scopeSymbolMaping.get(tmpScope);
     Iterator<String> symbolListIt = symbolList.iterator();
     while (symbolListIt.hasNext()) {
       String symbol = symbolListIt.next();
       JavaScriptIdentifier identifier = tmpScope.getIdentifier(symbol);
       String mungedValue = table.getValueAt(i, 1).toString().trim();
       if (identifier.isMarkedForMunging() && !mungedValue.equals("null")) {
         identifier.setMungedValue(mungedValue);
       }
       i++;
     }
   }
 }