owner/src/main/java/org/aeonbits/owner/PropertiesManager.java
String decryptIfNecessary(Method method, String value) {
        // Value can't be null, it has been checked previously in PropertiesInvocationHandler.resolveProperty
        if (this.encryptedKeys.containsKey(method)) {
            Decryptor decryptor = this.encryptedKeys.get(method);
            return decryptor.decrypt(value);
        }
        return value;
    }
/**
     * If method contains the EncryptedValue annotation it Decrypts the value with the associated {@link Decryptor}.
     *
     * @param method with the key definition.
     * @param value the value to decrypt when the method contains the EncryptedValue annotation
     * @return
     *      the <code>value</code> if the method doesn't contains the EncryptedValue annotation
     *      or the <code>result of decrypt the value</code> if it does.
     */
If method contains the EncryptedValue annotation it Decrypts the value with the associated  Decryptor.
@param method with the key definition.
@param value the value to decrypt when the method contains the EncryptedValue annotation
@return
the value if the method doesn't contains the EncryptedValue annotation
or the result of decrypt the value if it does.
If method contains the EncryptedValue annotation it Decrypts the value with the associated Decryptor . @param method with the key definition . @param value the value to decrypt when the method contains the EncryptedValue annotation @return the value if the method doesn ' t contains the EncryptedValue annotation or the result of decrypt the value if it does .
String decryptIfNecessary(Method method, String value) {
        if (this.encryptedKeys.containsKey(method)) {
            Decryptor decryptor = this.encryptedKeys.get(method);
            return decryptor.decrypt(value);
        }
        return value;
    }
String decryptIfNecessary ( Method method , String value ) { if ( this . encryptedKeys . containsKey ( method ) ) { Decryptor decryptor = this . encryptedKeys . get ( method ) ; return decryptor . decrypt ( value ) ; } return value ; }
If method contains the EncryptedValue annotation it Decrypts the value with the associated {@link Decryptor}.
If method contains the EncryptedValue annotation it Decrypts the value with the associated { @link Decryptor } .
// Value can't be null, it has been checked previously in PropertiesInvocationHandler.resolveProperty