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.
我想用AspectJ-ajc来编织两个类文件,即我想实现字节码编织。
Hello.class //它是一个java类文件
AspectHello.class // 它是一个切面类文件
我如何在命令行上实现它?
提前致谢
杨
所以它应该是这样的:
ajc -inpath <path to Hello.class> -aspectpath <path to AspectHello.class> -d <path of output directory>