From: acolyer Date: Fri, 8 Jul 2005 10:23:11 +0000 (+0000) Subject: added support for canBeParameterized X-Git-Tag: PRE_ANDY~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=86e95d6343798c405c5255b58483fd25cbadda67;p=aspectj.git added support for canBeParameterized --- diff --git a/weaver/src/org/aspectj/weaver/Member.java b/weaver/src/org/aspectj/weaver/Member.java index 29f439203..20d9e6223 100644 --- a/weaver/src/org/aspectj/weaver/Member.java +++ b/weaver/src/org/aspectj/weaver/Member.java @@ -503,6 +503,14 @@ public class Member implements Comparable, AnnotatedElement { public final boolean isPrivate() { return Modifier.isPrivate(modifiers); } + + /** + * Returns true iff the member is generic (NOT parameterized) + * For example, a method declared in a generic type + */ + public boolean canBeParameterized() { + return false; + } public final int getCallsiteModifiers() { return modifiers & ~ Modifier.INTERFACE;