class NamedSecretContextToSourceDataProvider implements Supplier<Fabric8ContextToSourceData> {

	NamedSecretContextToSourceDataProvider() {
	}

	@Override
	public Fabric8ContextToSourceData get() {
		return context -> {

			NamedSecretNormalizedSource source = (NamedSecretNormalizedSource) context.normalizedSource();

			return new NamedSourceData() {
				@Override
				protected String generateSourceName(String target, String sourceName, String namespace,
						String[] activeProfiles) {<FILL_FUNCTION_BODY>}

				@Override
				public MultipleSourcesContainer dataSupplier(LinkedHashSet<String> sourceNames) {
					return Fabric8ConfigUtils.secretsDataByName(context.client(), context.namespace(), sourceNames,
							context.environment());
				}
			}.compute(source.name().orElseThrow(), source.prefix(), source.target(), source.profileSpecificSources(),
					source.failFast(), context.namespace(), context.environment().getActiveProfiles());
		};
	}

}

					if (source.appendProfileToName()) {
						return ConfigUtils.sourceName(target, sourceName, namespace, activeProfiles);
					}
					return super.generateSourceName(target, sourceName, namespace, activeProfiles);
				
<no_super_class>