class EncryptableConfigurationPropertySourcesPropertySource extends PropertySource<Iterable<ConfigurationPropertySource>>
        implements EncryptablePropertySource<Iterable<ConfigurationPropertySource>> {

    private final PropertySource<Iterable<ConfigurationPropertySource>> delegate;

    /**
     * <p>Constructor for EncryptableConfigurationPropertySourcesPropertySource.</p>
     *
     * @param delegate a {@link org.springframework.core.env.PropertySource} object
     */
    public EncryptableConfigurationPropertySourcesPropertySource(PropertySource<Iterable<ConfigurationPropertySource>> delegate) {
        super(delegate.getName(), Iterables.filter(delegate.getSource(), configurationPropertySource -> !configurationPropertySource.getUnderlyingSource().getClass().equals(EncryptableConfigurationPropertySourcesPropertySource.class)));
        this.delegate = delegate;
    }

    /** {@inheritDoc} */
    @Override
    public PropertySource<Iterable<ConfigurationPropertySource>> getDelegate() {
        return delegate;
    }

    /** {@inheritDoc} */
    @Override
    public void refresh() {

    }

    /** {@inheritDoc} */
    @Override
    public Object getProperty(String name) {
        ConfigurationProperty configurationProperty = findConfigurationProperty(name);
        return (configurationProperty != null) ? configurationProperty.getValue() : null;
    }

    /** {@inheritDoc} */
    @Override
    public Origin getOrigin(String name) {
        return Origin.from(findConfigurationProperty(name));
    }

    private ConfigurationProperty findConfigurationProperty(String name) {
        try {
            return findConfigurationProperty(ConfigurationPropertyName.of(name));
        }
        catch (InvalidConfigurationPropertyNameException ex) {
            // simulate non-exposed version of ConfigurationPropertyName.of(name, nullIfInvalid)
            if(ex.getInvalidCharacters().size() == 1 && ex.getInvalidCharacters().get(0).equals('.')) {
                return null;
            }
            throw ex;
        }
    }

    private ConfigurationProperty findConfigurationProperty(ConfigurationPropertyName name) {<FILL_FUNCTION_BODY>}
}

        if (name == null) {
            return null;
        }
        for (ConfigurationPropertySource configurationPropertySource : getSource()) {
            if (!configurationPropertySource.getUnderlyingSource().getClass().equals(EncryptableConfigurationPropertySourcesPropertySource.class)) {
                ConfigurationProperty configurationProperty = configurationPropertySource.getConfigurationProperty(name);
                if (configurationProperty != null) {
                    return configurationProperty;
                }
            }
        }
        return null;
    
<methods>public void <init>(java.lang.String) ,public void <init>(java.lang.String, Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource>) ,public boolean containsProperty(java.lang.String) ,public boolean equals(java.lang.Object) ,public java.lang.String getName() ,public abstract java.lang.Object getProperty(java.lang.String) ,public Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource> getSource() ,public int hashCode() ,public static PropertySource<?> named(java.lang.String) ,public java.lang.String toString() <variables>protected final org.apache.commons.logging.Log logger,protected final java.lang.String name,protected final Iterable<org.springframework.boot.context.properties.source.ConfigurationPropertySource> source