aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/PR242797_3
diff options
context:
space:
mode:
authoraclement <aclement>2008-09-19 00:00:43 +0000
committeraclement <aclement>2008-09-19 00:00:43 +0000
commit3d7308774c6229548756abb27c6f3afe135fccc6 (patch)
tree73505ae672c2eccc0ff0955c59af2a83bf02745a /tests/multiIncremental/PR242797_3
parent6d6adfc1327fea030f0547737543df96b5447387 (diff)
downloadaspectj-3d7308774c6229548756abb27c6f3afe135fccc6.tar.gz
aspectj-3d7308774c6229548756abb27c6f3afe135fccc6.zip
242797: testcode
Diffstat (limited to 'tests/multiIncremental/PR242797_3')
-rw-r--r--tests/multiIncremental/PR242797_3/base/src/test1/SelectAction.java16
-rw-r--r--tests/multiIncremental/PR242797_3/base/src/test1/SelectActionAspect.aj26
2 files changed, 42 insertions, 0 deletions
diff --git a/tests/multiIncremental/PR242797_3/base/src/test1/SelectAction.java b/tests/multiIncremental/PR242797_3/base/src/test1/SelectAction.java
new file mode 100644
index 000000000..caa78d8ab
--- /dev/null
+++ b/tests/multiIncremental/PR242797_3/base/src/test1/SelectAction.java
@@ -0,0 +1,16 @@
+/*
+ * Created on Mar 7, 2008
+ */
+package test1;
+
+public interface SelectAction<T>{
+
+ public void select(T object);
+
+ public T getSelected();
+
+ public void setSelected(T object);
+
+ public void deselect();
+
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR242797_3/base/src/test1/SelectActionAspect.aj b/tests/multiIncremental/PR242797_3/base/src/test1/SelectActionAspect.aj
new file mode 100644
index 000000000..b94fcf8a9
--- /dev/null
+++ b/tests/multiIncremental/PR242797_3/base/src/test1/SelectActionAspect.aj
@@ -0,0 +1,26 @@
+/*
+ * Created on Sep 4, 2008
+ */
+package test1;
+
+public aspect SelectActionAspect {
+
+ private T SelectAction<T>.selected;
+
+ public void SelectAction<T>.select(T object){
+ this.selected = object;
+ }
+
+ public T SelectAction<T>.getSelected(){
+ return selected;
+ }
+
+ public void SelectAction<T>.setSelected(T object){
+ this.selected = object;
+ }
+
+ public void SelectAction<T>.deselect(){
+ this.selected = null;
+ }
+
+}