aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-21 16:11:57 +0000
committeraclement <aclement>2010-05-21 16:11:57 +0000
commitb7ccd103d080e9f9a4c03eb1f618b5a89bd3b058 (patch)
treec9104786f12cde767a9fbef04a3d843a6edd7f02
parent9f6834aeba9dd27c41a0ebf06ea56ad8987223de (diff)
downloadaspectj-b7ccd103d080e9f9a4c03eb1f618b5a89bd3b058.tar.gz
aspectj-b7ccd103d080e9f9a4c03eb1f618b5a89bd3b058.zip
312839: smaller class files
-rw-r--r--tests/bugs169/pr312839/one/Class.java13
-rw-r--r--tests/bugs169/pr312839/one/X.aj15
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs169/pr312839/one/Class.java b/tests/bugs169/pr312839/one/Class.java
new file mode 100644
index 000000000..40babad5f
--- /dev/null
+++ b/tests/bugs169/pr312839/one/Class.java
@@ -0,0 +1,13 @@
+package com.wibble.foo;
+
+public class Class {
+ private String name = "Andy";
+
+ public static void main(String [] argv) {
+ new Class().print();
+ }
+
+ public void print() {
+ System.out.println("Hello "+name);
+ }
+}
diff --git a/tests/bugs169/pr312839/one/X.aj b/tests/bugs169/pr312839/one/X.aj
new file mode 100644
index 000000000..1643d9d02
--- /dev/null
+++ b/tests/bugs169/pr312839/one/X.aj
@@ -0,0 +1,15 @@
+package com.wibble.foo;
+
+import java.lang.annotation.*;
+
+aspect X {
+ public int Class.i;
+ public String Class.getMeSomething() {
+ return "abc";
+ }
+ declare parents: Class implements java.io.Serializable;
+ declare @type: Class: @Foobar;
+}
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface Foobar {}