Java 类org.hibernate.annotations.GeneratorType 实例源码

项目:lams    文件:VmValueGeneration.java   
@Override
public void initialize(GeneratorType annotation, Class<?> propertyType) {
    Class<? extends ValueGenerator<?>> generatorType = annotation.type();
    constructor = ReflectHelper.getDefaultConstructor( generatorType );
    this.generationTiming = annotation.when().getEquivalent();
}