From 67ab7c263e01a1c9b14c71f83c7843be1ee66a86 Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 8 Jul 2005 10:21:55 +0000 Subject: [PATCH] supports isGeneric --- weaver/src/org/aspectj/weaver/ReferenceType.java | 4 ++++ weaver/src/org/aspectj/weaver/ReferenceTypeDelegate.java | 1 + 2 files changed, 5 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/ReferenceType.java b/weaver/src/org/aspectj/weaver/ReferenceType.java index 467428f56..e541084b7 100644 --- a/weaver/src/org/aspectj/weaver/ReferenceType.java +++ b/weaver/src/org/aspectj/weaver/ReferenceType.java @@ -56,6 +56,10 @@ public class ReferenceType extends ResolvedTypeX { public final boolean isClass() { return delegate.isClass(); } + + public final boolean isGeneric() { + return delegate.isGeneric(); + } public AnnotationX[] getAnnotations() { return delegate.getAnnotations(); diff --git a/weaver/src/org/aspectj/weaver/ReferenceTypeDelegate.java b/weaver/src/org/aspectj/weaver/ReferenceTypeDelegate.java index 645e65b4d..8d95ff322 100644 --- a/weaver/src/org/aspectj/weaver/ReferenceTypeDelegate.java +++ b/weaver/src/org/aspectj/weaver/ReferenceTypeDelegate.java @@ -32,6 +32,7 @@ public interface ReferenceTypeDelegate { public boolean isAnnotation(); public boolean isAnnotationWithRuntimeRetention(); public boolean isClass(); + public boolean isGeneric(); public boolean isExposedToWeaver(); public boolean hasAnnotation(TypeX ofType); -- 2.39.5