From 9f342591a0c0f75efd5944cdb4e09dcc132d5e0f Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 19 Nov 2009 18:32:41 +0000 Subject: [PATCH] avoid using helpers on Member hierarchy --- .../src/org/aspectj/weaver/JoinPointSignature.java | 4 ---- org.aspectj.matcher/src/org/aspectj/weaver/Member.java | 2 -- .../src/org/aspectj/weaver/ResolvedMember.java | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java index 2649cf1fa..33d29131e 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java @@ -272,10 +272,6 @@ public class JoinPointSignature implements ResolvedMember { return realMember.isCompatibleWith(am); } - public boolean isStatic() { - return realMember.isStatic(); - } - public boolean canBeParameterized() { return realMember.canBeParameterized(); } diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Member.java b/org.aspectj.matcher/src/org/aspectj/weaver/Member.java index de84dd416..85e02ad9b 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/Member.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/Member.java @@ -71,8 +71,6 @@ public interface Member extends Comparable { public int getModifiers(); - public boolean isStatic(); - /** * Returns true iff the member is generic (NOT parameterized) */ diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java index f49ef4845..a63131ef8 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java @@ -80,12 +80,12 @@ public interface ResolvedMember extends Member, AnnotatedElement, TypeVariableDe public ISourceLocation getSourceLocation(); + public int getStart(); + public int getEnd(); public ISourceContext getSourceContext(); - public int getStart(); - public void setPosition(int sourceStart, int sourceEnd); public void setSourceContext(ISourceContext sourceContext); -- 2.39.5