result.add(info.peekBuffer);
if (info.peekBufferSize>0) { result.add(info.peekBuffer); }
    private static JFieldDeclaration[] getFields(List filterInfo) {        // make result        List result = new LinkedList();        // add the peek buffer's and the list of fields from each filter        int i=0;        for (ListIterator it = filterInfo.listIterator(); it.hasNext(); i++) {            FilterInfo info = (FilterInfo)it.next();            result.add(info.peekBuffer);            result.addAll(Arrays.asList(info.filter.getFields()));        }        // return result        return (JFieldDeclaration[])result.toArray(new JFieldDeclaration[0]);    }