0
我想学习AspectJ
,到目前为止我已经习惯了很好的概念。所以在这里我试图编写一个对象的方面类进行验证。但下面的代码给我adviceDidNotMatch
的事情。为什么下面的代码给我“adviceDidNotMatch”
before(com.message.pojo.Entity entity) : call(*public com.message.helper.Processor.process(com.message.pojo.Entity))
&& args(entity)
&& target(com.message.helper.MessageProcessor){
ValidationUtil validation = new ValidationUtil();
validation.validate(entity);
}
现在我检查的所有合格名称都是正确的。请检查我的Java项目结构的截图。
[