]> source.dussan.org Git - aspectj.git/commitdiff
avoid using helpers on Member hierarchy
authoraclement <aclement>
Thu, 19 Nov 2009 18:32:41 +0000 (18:32 +0000)
committeraclement <aclement>
Thu, 19 Nov 2009 18:32:41 +0000 (18:32 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java
org.aspectj.matcher/src/org/aspectj/weaver/Member.java
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMember.java

index 2649cf1fa345057efb0688269e4d44c85af931e9..33d29131e158c929a272967057fcdda4950ae6f2 100644 (file)
@@ -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();
        }
index de84dd4162776dc6de8da063b3a99fd04f33ca34..85e02ad9b41961c2a775ea9f3e634c740b0c9b2f 100644 (file)
@@ -71,8 +71,6 @@ public interface Member extends Comparable {
 
        public int getModifiers();
 
-       public boolean isStatic();
-
        /**
         * Returns true iff the member is generic (NOT parameterized)
         */
index f49ef4845db15b8ff4eae55b9464d55302965ed5..a63131ef815f6a5278fe2b5dfeff3b6cc6e70c03 100644 (file)
@@ -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);