[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
List Home
]
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
From
: Andy Clement <
andrew.clement@xxxxxxxxx
>
Date
: Fri, 26 Jun 2009 09:27:57 -0700
Delivered-to
: aspectj-users@eclipse.org
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/LlsdA0ScvL3dhBCpqDS8D6NziDQYc8I7K4rjRfCv9A=; b=nNsP6zXsngBKkVQjb6tL6KUgeLnr1nLNJtkRWTPrp2oILeaFQF8x39ittRvezng6pJ efSYlY7FUANo/w3NkMueJp0pZ8pZ6muVd/lez9Oa5lcx2hYCv22cs0LnYPqhYF2atJcx smStQkzS9VZ4kMd3whPWceYmjd4j1erHmDU7Y=
Domainkey-signature
: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ODyNoEzU1dj8nFUTuGiR5ywIh5mcv6HpQ5uBCqCf/IV1yybKcFVtN8R6N+nFgXqfRl EJgvvDXWC+R0l6GQjMkxIW0uhH5XEFSjU8h27DHJhs7MHMZMN+zaRZvR8NNk7i9gXWf6 zpVQ+zkp2Nm9ET+AkVYoUGp1mUlEzs4Rhf0EI=
Here is a working solution:
public aspect INAspect {
pointcut listCut(ArrayList value, LIST in ) : set(@LIST * * ) && args(value) && @annotation(in);
void around(ArrayList value, LIST in) :listCut(value,in) {
System.out.println("**annotation " + thisJoinPoint + " ann:" + in.value());
proceed(new MyList(),in);
}
}
Follow-Ups
:
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
From:
Ravi Chandra
References
:
[aspectj-users] point cut on:: Annotated field + new ArrayList()
From:
Ravi Chandra
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
From:
Andrew Eisenberg
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
From:
Ravi Chandra
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
From:
Andrew Eisenberg
Prev by Date:
Re: [aspectj-users] Match all method calls with a specific parameter type at any position
Next by Date:
Re: [aspectj-users] annotations on mixin-generated field?
Previous by thread:
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
Next by thread:
Re: [aspectj-users] point cut on:: Annotated field + new ArrayList()
Index(es):
Date
Thread