cglib/src/main/java/net/sf/cglib/core/AbstractClassGenerator.java
public void setStrategy(GeneratorStrategy strategy) {
        if (strategy == null)
            strategy = DefaultGeneratorStrategy.INSTANCE;
        this.strategy = strategy;
    }
public void setStrategy(GeneratorStrategy strategy) {
        if (strategy == null)
            strategy = DefaultGeneratorStrategy.INSTANCE;
        this.strategy = strategy;
    }
Set the strategy to use to create the bytecode from this generator.
By default an instance of {@see DefaultGeneratorStrategy} is used.