FlatNode successor = flattener.getFlatNode(filter).edges[0]; if (successor!=null && !(successor.contents instanceof SIRJoiner)) { result += 1;
if (joinersNeedTiles) {   FlatNode successor = flattener.getFlatNode(filter).edges[0]; if (successor!=null && !(successor.contents instanceof SIRJoiner)) { result += 1; }
    private int tilesForFission(SIRFilter filter, GraphFlattener flattener, int ways) {	int result = 0;	// add tiles for the copies of <filter>	result += ways-1;	// add a tile for the joiner if it's not followed by a joiner	// or a nullshow	FlatNode successor = flattener.getFlatNode(filter).edges[0];	if (successor!=null && !(successor.contents instanceof SIRJoiner)) {	    result += 1;	}		return result;    }