diff options
author | aclement <aclement> | 2004-12-03 14:01:16 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-12-03 14:01:16 +0000 |
commit | 7864547200c9b7e8b0535ae92be2d558e23b98f8 (patch) | |
tree | c115a82b5d04acee63e67eadc6a734a0573173bb /weaver | |
parent | 6e3ced3d708ef77068d7235def9297725b512560 (diff) | |
download | aspectj-7864547200c9b7e8b0535ae92be2d558e23b98f8.tar.gz aspectj-7864547200c9b7e8b0535ae92be2d558e23b98f8.zip |
72766 - varargs policing in signature matching
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/Constants.java | 4 | ||||
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedMember.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/Constants.java b/weaver/src/org/aspectj/weaver/Constants.java index d4cf4cc6e..e51bf96c2 100644 --- a/weaver/src/org/aspectj/weaver/Constants.java +++ b/weaver/src/org/aspectj/weaver/Constants.java @@ -19,6 +19,6 @@ package org.aspectj.weaver; */ public interface Constants { - // modifier for a bridge method - public final static int ACC_BRIDGE = 0x0040; + public final static int ACC_BRIDGE = 0x0040; + public final static int ACC_VARARGS = 0x0080; } diff --git a/weaver/src/org/aspectj/weaver/ResolvedMember.java b/weaver/src/org/aspectj/weaver/ResolvedMember.java index 7f847510c..c7313bac6 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedMember.java +++ b/weaver/src/org/aspectj/weaver/ResolvedMember.java @@ -106,6 +106,10 @@ public class ResolvedMember extends Member implements IHasPosition { return (modifiers & Constants.ACC_BRIDGE)!=0; } + public boolean isVarargsMethod() { + return (modifiers & Constants.ACC_VARARGS)!=0; + } + public boolean isSynthetic() { return false; } |