diff options
Diffstat (limited to 'loadtime')
3 files changed, 22 insertions, 44 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java index 69af2ef14..4bb83cbad 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java @@ -11,32 +11,14 @@ *******************************************************************************/ package org.aspectj.weaver.loadtime; -import org.aspectj.asm.IRelationship; -import org.aspectj.bridge.IMessage; -import org.aspectj.bridge.ISourceLocation; -import org.aspectj.bridge.Message; -import org.aspectj.weaver.ICrossReferenceHandler; -import org.aspectj.weaver.World; -import org.aspectj.weaver.patterns.PatternParser; -import org.aspectj.weaver.patterns.TypePattern; -import org.aspectj.weaver.bcel.BcelWeaver; -import org.aspectj.weaver.bcel.BcelWorld; -import org.aspectj.weaver.loadtime.definition.Definition; -import org.aspectj.weaver.loadtime.definition.DocumentParser; -import org.aspectj.weaver.tools.GeneratedClassHandler; -import org.aspectj.weaver.tools.WeavingAdaptor; - import java.io.File; import java.io.FileOutputStream; import java.lang.reflect.Method; -import java.net.URL; -import java.util.ArrayList; -import java.util.Enumeration; -import java.util.Iterator; -import java.util.List; import java.util.Map; import java.util.WeakHashMap; +import org.aspectj.weaver.tools.WeavingAdaptor; + /** * Adapter between the generic class pre processor interface and the AspectJ weaver * Load time weaving consistency relies on Bcel.setRepository diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java index 2f74738a7..a08847a6d 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java @@ -11,30 +11,29 @@ *******************************************************************************/ package org.aspectj.weaver.loadtime; -import org.aspectj.weaver.tools.WeavingAdaptor; -import org.aspectj.weaver.tools.GeneratedClassHandler; -import org.aspectj.weaver.patterns.TypePattern; -import org.aspectj.weaver.patterns.PatternParser; -import org.aspectj.weaver.bcel.BcelWorld; -import org.aspectj.weaver.bcel.BcelWeaver; +import java.io.File; +import java.net.URL; +import java.util.ArrayList; +import java.util.Enumeration; +import java.util.Iterator; +import java.util.List; + +import org.aspectj.asm.IRelationship; +import org.aspectj.bridge.IMessage; +import org.aspectj.bridge.ISourceLocation; +import org.aspectj.bridge.Message; import org.aspectj.weaver.ICrossReferenceHandler; -import org.aspectj.weaver.World; import org.aspectj.weaver.ResolvedTypeX; import org.aspectj.weaver.TypeX; -import org.aspectj.weaver.loadtime.definition.DocumentParser; +import org.aspectj.weaver.World; +import org.aspectj.weaver.bcel.BcelWeaver; +import org.aspectj.weaver.bcel.BcelWorld; import org.aspectj.weaver.loadtime.definition.Definition; -import org.aspectj.bridge.ISourceLocation; -import org.aspectj.bridge.Message; -import org.aspectj.bridge.IMessage; -import org.aspectj.asm.IRelationship; - -import java.util.List; -import java.util.ArrayList; -import java.util.Enumeration; -import java.util.Iterator; -import java.io.File; -import java.io.IOException; -import java.net.URL; +import org.aspectj.weaver.loadtime.definition.DocumentParser; +import org.aspectj.weaver.patterns.PatternParser; +import org.aspectj.weaver.patterns.TypePattern; +import org.aspectj.weaver.tools.GeneratedClassHandler; +import org.aspectj.weaver.tools.WeavingAdaptor; /** * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> diff --git a/loadtime/src/org/aspectj/weaver/loadtime/definition/Definition.java b/loadtime/src/org/aspectj/weaver/loadtime/definition/Definition.java index acc3e5c87..e67e21f0f 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/definition/Definition.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/definition/Definition.java @@ -11,11 +11,8 @@ *******************************************************************************/ package org.aspectj.weaver.loadtime.definition; -import org.aspectj.weaver.patterns.PatternParser; - -import java.util.List; import java.util.ArrayList; -import java.util.Iterator; +import java.util.List; /** * A POJO that contains raw strings from the XML (sort of XMLBean for our simple LTW DTD) |