BuildIOType[][] clear() { BuildIOType types[][] = new BuildIOType[2][]; types[0] = new BuildIOType[1]; types[0][0] = fProducerArg; BuildIOType outs[] = (BuildIOType[]) getDependentIOTypes(); types[1] = outs; if (fProducerArg != null) fProducerArg.removeResource(this); for (int i = 0; i < outs.length; i++) { outs[i].removeResource(this); } return types; }