public boolean remove(MethodGen method) throws ClassNotFoundException {  Method m = new Method(method); if (methodsNoRemove.contains(m.getNameAndSignature())) { if (ClassUtils.isMethodOverridFromSuperClass(method)) { log.debug("Method overrided from super class: " + Method.toString(method)); return false; } }  return !reNotRemove.match(Method.toPattern(method)); }
public boolean remove(Method method) throws ClassNotFoundException {  System.out.println("foi"); if (methodsNoRemove.contains(method.getNameAndSignature())) { if (ClassUtils.isMethodOverridFromSuperClass(method)) { log.debug("Method overrided from super class: " + method); return false; } }  return !reNotRemove.match(method.toPattern()); }
    public boolean remove(MethodGen method) throws ClassNotFoundException {        //test if this is method that was overrided from a super class        Method m = new Method(method);        if (methodsNoRemove.contains(m.getNameAndSignature())) {            if (ClassUtils.isMethodOverridFromSuperClass(method)) {                log.debug("Method overrided from super class: "                        + Method.toString(method));                return false;            }        }        //test if this method is in a pattern        return !reNotRemove.match(Method.toPattern(method));    }