Esempio n. 1
0
 private Set<String> getExcludes() {
   Set<String> result = new HashSet<String>();
   for (String exclude : kp.getExcludes()) {
     String name = exclude + ".class";
     String renamed = renames.get(name);
     result.add((renamed != null) ? renamed : name);
   }
   return result;
 }
Esempio n. 2
0
 public boolean process(EntryStruct struct) throws IOException {
   String name = struct.name;
   boolean result = chain.process(struct);
   if (result) {
     if (!name.equals(struct.name)) {
       if (kp != null) renames.put(name, struct.name);
       if (verbose) System.err.println("Renamed " + name + " -> " + struct.name);
     }
   } else {
     if (verbose) System.err.println("Removed " + name);
   }
   return result;
 }