diff options
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedType.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedType.java b/weaver/src/org/aspectj/weaver/ResolvedType.java index 524e2a25f..d16b041c2 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedType.java +++ b/weaver/src/org/aspectj/weaver/ResolvedType.java @@ -480,6 +480,12 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl return f; } } + // pr120521 + if (!getOutermostType().equals(this)) { + ResolvedType outerType = getOutermostType().resolve(world); + ResolvedPointcutDefinition rpd = outerType.findPointcut(name); + return rpd; + } return null; // should we throw an exception here? } |