diff options
author | aclement <aclement> | 2007-12-04 08:24:52 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-12-04 08:24:52 +0000 |
commit | d48385b2d02a73e4e68cb3e1a808e383a784d057 (patch) | |
tree | 21fd97260ff5cfa4ed08d4b4564745d27531cd48 /org.aspectj.ajdt.core | |
parent | 0f4432d19a51f841717e6c0b8365d4ae3fd1ed42 (diff) | |
download | aspectj-d48385b2d02a73e4e68cb3e1a808e383a784d057.tar.gz aspectj-d48385b2d02a73e4e68cb3e1a808e383a784d057.zip |
signatures are Object - hideous.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index babaff807..1b73619a3 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -752,16 +752,13 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc // } //LTODO delegate to BcelWeaver? - public void setCustomMungerFactory(Class factoryClass) { - try { - customMungerFactory = (CustomMungerFactory)factoryClass.newInstance(); - } catch (Exception e) { - customMungerFactory = null; - } + // XXX hideous, should not be Object + public void setCustomMungerFactory(Object o) { + customMungerFactory = (CustomMungerFactory)o; } - public boolean hasCustomMungerFactory() { - return customMungerFactory!=null; + public Object getCustomMungerFactory() { + return customMungerFactory; } /** init only on initial batch compile? no file-specific options */ |