Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于javassist和Aspect的一点问题 #21

Closed
striveprince opened this issue Feb 3, 2017 · 1 comment
Closed

关于javassist和Aspect的一点问题 #21

striveprince opened this issue Feb 3, 2017 · 1 comment

Comments

@striveprince
Copy link

1.lambda表达式为什么无法在@aspect注解下的类下使用?
2.javassist代码中的是.class文件,就是说可以使用java,但是你这边用的是groovy。为什么不使用java呢?

@north2016
Copy link
Owner

1、AspectJ和Retrolambda插件是在同一编译期 顺序原因导致无法兼容 不过这并无大碍
2、只是以groovy作为后缀,里面的代码其实是java(groovy兼容java),只是用了少数的groovy的语法和关键字

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants