From: aclement Date: Thu, 19 Nov 2009 21:01:39 +0000 (+0000) Subject: simplifying ResolvedMember interface X-Git-Tag: V1_6_7~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a47284d3fe20acd33f784dc0daad2236270fa427;p=aspectj.git simplifying ResolvedMember interface --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java index 33d29131e..2377f91b7 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java @@ -319,22 +319,6 @@ public class JoinPointSignature implements ResolvedMember { return realMember.toDebugString(); } - public void resetName(String newName) { - realMember.resetName(newName); - } - - public void resetKind(MemberKind newKind) { - realMember.resetKind(newKind); - } - - public void resetModifiers(int newModifiers) { - realMember.resetModifiers(newModifiers); - } - - public void resetReturnTypeToObjectArray() { - realMember.resetReturnTypeToObjectArray(); - } - @Override public boolean equals(Object obj) { if (!(obj instanceof JoinPointSignature)) { diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java index a63131ef8..fa887eb95 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java @@ -166,14 +166,6 @@ public interface ResolvedMember extends Member, AnnotatedElement, TypeVariableDe */ public boolean matches(ResolvedMember aCandidateMatch, boolean ignoreGenerics); - public void resetName(String newName); - - public void resetKind(MemberKind newKind); - - public void resetModifiers(int newModifiers); - - public void resetReturnTypeToObjectArray(); - public void evictWeavingState(); public ResolvedMember parameterizedWith(Map m, World w);