in src/main/java/org/apache/sling/featureflags/impl/ConfiguredFeature.java [77:94]
private void activate(final Config config, final Map<String, Object> properties) {
this.name = config.name();
if ( this.name == null ) {
Object pid = properties.get(Constants.SERVICE_PID);
if ( pid == null ) {
this.name = getClass().getName() + "$" + System.identityHashCode(this);
} else {
this.name = pid.toString();
}
}
this.description = config.description();
if ( this.description == null ) {
this.description = this.name;
}
this.enabled = config.enabled();
this.allowOverride = config.allowOverride();
}