diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-08-24 15:45:53 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-08-24 15:45:53 -0700 |
commit | 77d14748c35ced62f5c14f34389cb2bc942c410f (patch) | |
tree | d5894f18cb6794811ecf653bf6e3a2918c0a2c16 /org.aspectj.matcher/src | |
parent | 55ebaa15305cc686c6ed5915ff1115071b3c80bd (diff) | |
download | aspectj-77d14748c35ced62f5c14f34389cb2bc942c410f.tar.gz aspectj-77d14748c35ced62f5c14f34389cb2bc942c410f.zip |
386888
Diffstat (limited to 'org.aspectj.matcher/src')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java index 0f82f045f..6ddf51bb5 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java @@ -30,6 +30,7 @@ import org.aspectj.bridge.ISourceLocation; public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, ResolvedMember { private String[] parameterNames = null; + private boolean isResolved = false; protected UnresolvedType[] checkedExceptions = UnresolvedType.NONE; /** @@ -568,6 +569,9 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Reso // something different to world.resolve(member) @Override public ResolvedMember resolve(World world) { + if (isResolved) { + return this; + } // make sure all the pieces of a resolvedmember really are resolved try { if (typeVariables != null && typeVariables.length > 0) { @@ -601,6 +605,7 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Reso } finally { world.setTypeVariableLookupScope(null); } + isResolved = true; return this; } |