//tag::include[]
package org.hibernate.validator.referenceguide.chapter02.typeargument.custom;
//end::include[]
//tag::include[]
public class GearBox<T extends Gear> {
private final T gear;
public GearBox(T gear) {
this.gear = gear;
}
public Gear getGear() {
return this.gear;
}
}
//end::include[]