@Override
    public int accept(Method method) {
      if (FINALIZE_METHOD.equals(method)) {
        return 1;
      }

      if ((method.getModifiers() & Modifier.ABSTRACT) != 0) {
        return 0;
      }

      return 1;
    }
@Override
    public int accept(Method method)