} else if ( equalResource && oneType.nullifiedBy( otherType ) ) {
if ( i - 1 == lastDistinctIndex ) {
uniques.remove( uniques.size() - 1 );
nullified.add( one.resource.getType() );
}
} else if ( !equalResource || !otherType.replacedBy( oneType ) ) {
uniques.add( other );
lastDistinctIndex = i;
}
}
if ( required.isEmpty() ) {