From 0f4432d19a51f841717e6c0b8365d4ae3fd1ed42 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 4 Dec 2007 08:24:27 +0000 Subject: signatures are Object - hideous. --- ajde.core/src/org/aspectj/ajde/core/AjCompiler.java | 4 ++-- .../src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'ajde.core') diff --git a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java index ebb86a702..6f57c67b2 100644 --- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java +++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java @@ -63,8 +63,8 @@ public class AjCompiler { buildManager.setCustomMungerFactory(factoryClass); } - public boolean hasCustomMungerFactory() { - return buildManager.hasCustomMungerFactory(); + public Object getCustomMungerFactory() { + return buildManager.getCustomMungerFactory(); } /** diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java index 40106632b..750b93f25 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java @@ -65,12 +65,13 @@ public class AjdeCoreBuildManager { AsmManager.attemptIncrementalModelRepairs = true; } - public void setCustomMungerFactory(Class factoryClass) { - ajBuildManager.setCustomMungerFactory(factoryClass); + // XXX hideous, should not be Object + public void setCustomMungerFactory(Object o) { + ajBuildManager.setCustomMungerFactory(o); } - public boolean hasCustomMungerFactory() { - return ajBuildManager.hasCustomMungerFactory(); + public Object getCustomMungerFactory() { + return ajBuildManager.getCustomMungerFactory(); } /** -- cgit v1.2.3