private void ensureNotMoreFrequentExpiry( Injection injection ) {
final Expiry expiry = injection.getTarget().getExpiry();
for ( int i = 0; i < hierarchy.length; i++ ) {
Injection parent = hierarchy[i];
if ( expiry.moreFrequent( parent.getTarget().getExpiry() ) ) {
throw new MoreFrequentExpiryException( parent, injection );
}
}
}