我正在尝试编写一个切入点和建议,它可以从以下方法打印一个字符串 -
public CustomerDto getCustomer(Integer customerCode){
CustomerDto customerDto = new CustomerDto();
String emailID =getEmailAddress();
customerDto.setEmailAddress(emailID);
customerDto.setEmployer(getEmployer());
customerDto.setSpouseName(getSpouse());
return customerDto;
}
我无法弄清楚切入点查看 String emailID 然后在建议中打印相同值的方法。