有没有办法在IntelliJ IDEA中查看受影响(建议)的Java方法?类似于Eclipse中的XRef?
编辑:
@Xiujun_Ma展示了该功能的存在,但我不知道哪里出了问题。 我正在项目中使用库和组件。
库:
特征:
编辑:
@Xiujun_Ma展示了该功能的存在,但我不知道哪里出了问题。 我正在项目中使用库和组件。
库:
特征:
是的,正如您可以从@XiujunMa的答案中看到的那样。它也适用于11.1.3版本。用于导航到Spring中受影响的事务方法。
您可能需要在Spring配置中使用To be able to use the AspectJ support in IntelliJ IDEA, you have to make sure that the following plugins are enabled:
Spring-AOP and @AspectJ Support. AspectJ Support.
In addition to that, you should also create a library for aspectjrt.jar.
<aop:config>
来定义<aop:pointcut
,然后使用<aop:advisor
将该切入点和建议引用映射。您还可以将<aop:aspect
放置在那里。<tx:annotation-driven>
,它会告诉你。 - Roman C