@@ -286,6 +286,14 @@ public class JoinPointSignature implements ResolvedMember { | |||
public boolean isStatic(World world) { | |||
return realMember.isStatic(world); | |||
} | |||
public boolean isTrivial(World world) { | |||
return realMember.isTrivial(world); | |||
} | |||
public boolean isTrivial() { | |||
return realMember.isTrivial(); | |||
} | |||
public boolean isStrict(World world) { | |||
return realMember.isStrict(world); |
@@ -113,6 +113,9 @@ public interface Member { | |||
public boolean isInterface(); | |||
public boolean isPrivate(); | |||
public boolean isTrivial(World world); | |||
public boolean isTrivial(); | |||
/** | |||
* Returns true iff the member is generic (NOT parameterized) |
@@ -621,6 +621,14 @@ public class MemberImpl implements Comparable, AnnotatedElement,Member { | |||
throw new UnsupportedOperationException("You should resolve this member and call hasAnnotation() on the result..."); | |||
} | |||
public boolean isTrivial() { | |||
throw new UnsupportedOperationException("Cannot work this out for an unresolved member"); | |||
} | |||
public boolean isTrivial(World world) { | |||
throw new UnsupportedOperationException("Cannot work this out for an unresolved member"); | |||
} | |||
/* (non-Javadoc) | |||
* @see org.aspectj.weaver.AnnotatedElement#getAnnotationTypes() | |||
*/ | |||
@@ -983,4 +991,4 @@ public class MemberImpl implements Comparable, AnnotatedElement,Member { | |||
} | |||
} | |||
@@ -939,5 +939,13 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Anno | |||
} | |||
public void evictWeavingState() { } | |||
public boolean isTrivial() { | |||
return false; | |||
} | |||
public boolean isTrivial(World w) { | |||
return false; | |||
} | |||
} | |||