From 1f00a6ff06de145c9072aca7e16c6a1d5a4ea4e0 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 21 Nov 2006 16:27:37 +0000 Subject: [PATCH] test and fix for 164633 - problem with decp incorrectly targetting an inner type --- .../aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java index f933fff98..570ab9834 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java @@ -133,6 +133,7 @@ public class EclipseSourceType extends AbstractReferenceTypeDelegate { } public boolean isNested() { + if (declaration.binding!=null) return (declaration.binding.isMemberType()); return ((declaration.modifiers & ASTNode.IsMemberTypeMASK) != 0); } -- 2.39.5