result.add(initWork);
if (initWork!=null) { result.add(initWork); }
	JMethodDeclaration[] getMethods(List filterInfo,					JMethodDeclaration init,					JMethodDeclaration initWork,					JMethodDeclaration steadyWork) {	// make result	List result = new LinkedList();	// start with the methods that we were passed	result.add(init);	result.add(initWork);	result.add(steadyWork);	// add methods from each filter that aren't work methods	for (ListIterator it = filterInfo.listIterator(); it.hasNext(); ) {	    FilterInfo info = (FilterInfo)it.next();	    List methods = Arrays.asList(info.filter.getMethods());	    for (ListIterator meth = methods.listIterator(); meth.hasNext(); ){		JMethodDeclaration m = (JMethodDeclaration)meth.next();		// add methods that aren't work		if (m!=info.filter.getWork()) {		    result.add(m);		}	    }	}	// return result	return (JMethodDeclaration[])result.toArray(new JMethodDeclaration[0]);    }