]> source.dussan.org Git - aspectj.git/commitdiff
PointcutDoctor javadoc - 193065
authoraclement <aclement>
Fri, 7 Dec 2007 13:32:25 +0000 (13:32 +0000)
committeraclement <aclement>
Fri, 7 Dec 2007 13:32:25 +0000 (13:32 +0000)
ajde.core/src/org/aspectj/ajde/core/AjCompiler.java

index 6f57c67b21cce8f966be42a18558fea73814a54e..afd8d784fec2829e95f1c4b4b1aea1560f39ff1c 100644 (file)
@@ -59,10 +59,24 @@ public class AjCompiler {
                buildManager = new AjdeCoreBuildManager(this);
        }
        
-       public void setCustomMungerFactory(Class factoryClass) {
-               buildManager.setCustomMungerFactory(factoryClass);
+       /**
+        * Set a CustomMungerFactory to the compiler's weaver
+        * 
+        * The type of factory should be org.aspectj.weaver.CustomMungerFactory but
+        * due to dependency problem of project ajde.core, it is Object for now.
+        * 
+        * @param factory
+        */
+       public void setCustomMungerFactory(Object factory) {
+               buildManager.setCustomMungerFactory(factory);
        }
-       
+
+       /**
+        * @return the CustomMungerFactory from the compiler's weaver
+        * 
+        * The return type should be org.aspectj.weaver.CustomMungerFactory but
+        * due to dependency problem of project ajde.core, it is Object for now.
+        */
        public Object getCustomMungerFactory() {
                return buildManager.getCustomMungerFactory();
        }