summaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
index 695dd7567..2782bddb5 100644
--- a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
+++ b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
@@ -364,5 +364,16 @@ public class Java15ReflectionBasedReferenceTypeDelegate extends ReflectionBasedR
public boolean isAnonymous() {
return this.myClass.isAnonymousClass();
}
+
+ @Override
+ public boolean isNested() {
+ return this.myClass.isMemberClass();
+ }
+
+ @Override
+ public ResolvedType getOuterClass() {
+ return ReflectionBasedReferenceTypeDelegateFactory.resolveTypeInWorld(
+ myClass.getEnclosingClass(),world);
+ }
}