From a4a85bddb024d76c727bc871f4309937ad27609d Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Nov 2009 16:39:28 +0000 Subject: [PATCH] removing isNative --- .../aspectj/weaver/JoinPointSignature.java | 6 +---- .../src/org/aspectj/weaver/Member.java | 23 ++++++++++--------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java index 94f16a987..74086945d 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/JoinPointSignature.java @@ -169,11 +169,7 @@ public class JoinPointSignature implements ResolvedMember { public boolean isProtected() { return realMember.isProtected(); } - - public boolean isNative() { - return realMember.isNative(); - } - + public boolean isDefault() { return realMember.isDefault(); } diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Member.java b/org.aspectj.matcher/src/org/aspectj/weaver/Member.java index 5e684da3d..8a1dd1f00 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/Member.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/Member.java @@ -34,25 +34,21 @@ public interface Member extends Comparable { public static final AnnotationAJ[][] NO_PARAMETER_ANNOTATIONXS = new AnnotationAJ[][] {}; public static final ResolvedType[][] NO_PARAMETER_ANNOTATION_TYPES = new ResolvedType[][] {}; + /** + * @return the kind of member from those listed as MemberKind instances + */ public MemberKind getKind(); - public ResolvedMember resolve(World world); - - public int compareTo(Object other); + public String getName(); public UnresolvedType getDeclaringType(); - public UnresolvedType getReturnType(); - - public UnresolvedType getGenericReturnType(); - + public UnresolvedType[] getParameterTypes(); public UnresolvedType[] getGenericParameterTypes(); public UnresolvedType getType(); - - public String getName(); - - public UnresolvedType[] getParameterTypes(); + public UnresolvedType getReturnType(); + public UnresolvedType getGenericReturnType(); /** * Return full signature, including return type, e.g. "()LFastCar;". For a signature without the return type, use @@ -92,4 +88,9 @@ public interface Member extends Comparable { public String[] getParameterNames(World world); public UnresolvedType[] getExceptions(World world); + + public ResolvedMember resolve(World world); + + public int compareTo(Object other); + } \ No newline at end of file -- 2.39.5