'Spring AOP change object inside method

I would to know if Spring AOP can change a value inside a method

For example:

public void(String name){
    DTO dto = new DTO();
}

I would execute dto.someSetter() inside advice.

It's possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source