cglib/src/main/java/net/sf/cglib/core/AbstractClassGenerator.java
public void setNamingPolicy(NamingPolicy namingPolicy) {
        if (namingPolicy == null)
            namingPolicy = DefaultNamingPolicy.INSTANCE;
        this.namingPolicy = namingPolicy;
    }
public void setNamingPolicy(NamingPolicy namingPolicy) {
        if (namingPolicy == null)
            namingPolicy = DefaultNamingPolicy.INSTANCE;
        this.namingPolicy = namingPolicy;
    }
Override the default naming policy.
@see DefaultNamingPolicy
@param namingPolicy the custom policy, or null to use the default