diff options
author | aclement <aclement> | 2004-08-06 16:32:46 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-06 16:32:46 +0000 |
commit | 299d24a82619057d3746db391afb238c213d56e5 (patch) | |
tree | a4eb5de30bbe8a65e2388beeb371fd89540df708 /org.aspectj.ajdt.core/src | |
parent | 061395c8c7fe681ab40ab53a7d1bfeb8e17c1028 (diff) | |
download | aspectj-299d24a82619057d3746db391afb238c213d56e5.tar.gz aspectj-299d24a82619057d3746db391afb238c213d56e5.zip |
cant find type/organize imports (and hopefully fix the build)
Diffstat (limited to 'org.aspectj.ajdt.core/src')
2 files changed, 24 insertions, 9 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java index b4acd55be..0acbb6465 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java @@ -13,7 +13,6 @@ package org.aspectj.ajdt.internal.compiler.lookup; -import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -23,7 +22,6 @@ import java.util.Map; import org.aspectj.ajdt.internal.compiler.ast.AspectDeclaration; import org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration; -import org.aspectj.asm.AsmManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.WeaveMessage; import org.aspectj.weaver.AsmRelationshipProvider; @@ -432,7 +430,7 @@ public class AjLookupEnvironment extends LookupEnvironment { public void warnOnAddedInterface (ResolvedTypeX type, ResolvedTypeX parent) { World world = factory.getWorld(); - ResolvedTypeX serializable = world.resolve(TypeX.SERIALIZABLE); + ResolvedTypeX serializable = world.getCoreType(TypeX.SERIALIZABLE); if (serializable.isAssignableFrom(type) && !serializable.isAssignableFrom(parent) && !LazyClassGen.hasSerialVersionUIDField(type)) { diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index 4a2620873..f93b32f73 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -12,15 +12,32 @@ package org.aspectj.ajdt.internal.core.builder; -import java.util.*; +import java.util.ArrayList; +import java.util.List; -import org.aspectj.ajdt.internal.compiler.ast.*; +import org.aspectj.ajdt.internal.compiler.ast.AdviceDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.DeclareDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.InterTypeConstructorDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.InterTypeFieldDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.InterTypeMethodDeclaration; +import org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration; import org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment; import org.aspectj.asm.IProgramElement; -import org.aspectj.asm.internal.ProgramElement; -import org.aspectj.weaver.*; -import org.aspectj.weaver.patterns.*; -import org.eclipse.jdt.internal.compiler.ast.*; +import org.aspectj.weaver.AdviceKind; +import org.aspectj.weaver.ResolvedTypeX; +import org.aspectj.weaver.TypeX; +import org.aspectj.weaver.patterns.AndPointcut; +import org.aspectj.weaver.patterns.DeclareErrorOrWarning; +import org.aspectj.weaver.patterns.DeclareParents; +import org.aspectj.weaver.patterns.DeclarePrecedence; +import org.aspectj.weaver.patterns.DeclareSoft; +import org.aspectj.weaver.patterns.OrPointcut; +import org.aspectj.weaver.patterns.ReferencePointcut; +import org.aspectj.weaver.patterns.TypePattern; +import org.aspectj.weaver.patterns.TypePatternList; +import org.eclipse.jdt.internal.compiler.ast.Argument; +import org.eclipse.jdt.internal.compiler.ast.MethodDeclaration; /** * @author Mik Kersten |