Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们需要将属性注入到方法注释中。
@MyAnno(someproperty = @Value("${someproperty}")) public muMethod{ }
可能吗?
另一种方法是将该值作为类变量注入。