How do I use an ajc build parameter inside an aspect?
问题 I need to know the name of my .jar inside the aspect so I can create a string field with it via @DeclareParents. I know I can pass things to the ajc compiler, but is it actually possible to use the passed arguments from the aspect? The end result should be classes with an additional field containing as value the name of my .jar. UPDATE: Test of suggestion. Gson.jar is a .jar on the classpath InputStream r = Gson.class.getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF"); String x =