From a47284d3fe20acd33f784dc0daad2236270fa427 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 19 Nov 2009 21:01:39 +0000 Subject: [PATCH] simplifying ResolvedMember interface --- .../org/aspectj/weaver/JoinPointSignature.java | 16 ---------------- .../src/org/aspectj/weaver/ResolvedMember.java | 8 -------- 2 files changed, 24 deletions(-) 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); -- 2.39.5