Code example for PrintWriterPrinter

0
        receiverList = _receiverList; 
        requiredPermission = _requiredPermission; 
    } 
     
    public void dump(PrintWriter pw, String prefix) { 
        dumpInReceiverList(pw, new PrintWriterPrinter(pw), prefix); 
        receiverList.dumpLocal(pw, prefix); 
    } 
     
    public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { 
        super.dump(pr, prefix); 
        if (requiredPermission != null) { 
            pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); 
        } 
    } 
     
    public String toString() { 
        StringBuilder sb = new StringBuilder(); 
        sb.append("BroadcastFilter{"); 
        sb.append(Integer.toHexString(System.identityHashCode(this))); 
        sb.append(' ');