diff options
author | aclement <aclement> | 2011-02-03 00:03:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-02-03 00:03:02 +0000 |
commit | 1386abb444d0f2e5dccb22c511f3063a569a4701 (patch) | |
tree | 7eddeb510945b891acee7e0d424ccc4c58be7ecf /tests/bugs1611 | |
parent | 5270506186cf468fd0fc12d73cbe15327968e3dd (diff) | |
download | aspectj-1386abb444d0f2e5dccb22c511f3063a569a4701.tar.gz aspectj-1386abb444d0f2e5dccb22c511f3063a569a4701.zip |
336136
Diffstat (limited to 'tests/bugs1611')
-rw-r--r-- | tests/bugs1611/pr336136/Country_Roo_Op4j.java | 13 | ||||
-rw-r--r-- | tests/bugs1611/pr336136/Country_Roo_Op4j2.java | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/bugs1611/pr336136/Country_Roo_Op4j.java b/tests/bugs1611/pr336136/Country_Roo_Op4j.java new file mode 100644 index 000000000..57bd6981c --- /dev/null +++ b/tests/bugs1611/pr336136/Country_Roo_Op4j.java @@ -0,0 +1,13 @@ +import com.foo.op4j.Country; +import java.lang.Object; +import org.javaruntype.type.Types; +import org.op4j.functions.Function; +import org.op4j.functions.Get; + +privileged aspect Country_Roo_Op4j { + + public static class Country.Keys { + + public static final Function COUNTRY = null; + } +} diff --git a/tests/bugs1611/pr336136/Country_Roo_Op4j2.java b/tests/bugs1611/pr336136/Country_Roo_Op4j2.java new file mode 100644 index 000000000..047f4b5f1 --- /dev/null +++ b/tests/bugs1611/pr336136/Country_Roo_Op4j2.java @@ -0,0 +1,13 @@ +import com.foo.op4j.Country; +import java.lang.Object; +import org.javaruntype.type.Types; +import org.op4j.functions.Function; +import org.op4j.functions.Get; + +privileged aspect Country_Roo_Op4j2 { + + public static class Country.Keys { + + public static final Function<Object, Country> COUNTRY = Get.attrOf(Types.forClass(Country.class),"country"); + } +} |