passedTypes.add(((SIRFilter)node.contents).getOutputType()); System.out.println(((SIRFilter)node.contents).getOutputType()); passedTypes.add(((SIRFilter)node.contents).getInputType()); System.out.println(((SIRFilter)node.contents).getInputType());
SIRFilter fnode = (SIRFilter)node.contents;   System.err.println(this.getClass().getName() + " processing filter " + fnode.getName() + ": " +  fnode.getInputType() + "->" + fnode.getOutputType()); passedTypes.add(fnode.getOutputType()); passedTypes.add(fnode.getInputType());
    public void visitNode(FlatNode node)     {        if (node.isFilter()) {            passedTypes.add(((SIRFilter)node.contents).getOutputType());            System.out.println(((SIRFilter)node.contents).getOutputType());            passedTypes.add(((SIRFilter)node.contents).getInputType());            System.out.println(((SIRFilter)node.contents).getInputType());        }    }