aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder/testdata
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-04 13:06:27 +0000
committeracolyer <acolyer>2005-11-04 13:06:27 +0000
commit590f81aacbd8fdc9cb3aebef76a3f2da1034a7f8 (patch)
tree166328d7302d4c30a4adf68445b751e5f0258ab8 /bcel-builder/testdata
parentf74be5e86f34b9ced867c4687da11caf390532a0 (diff)
downloadaspectj-590f81aacbd8fdc9cb3aebef76a3f2da1034a7f8.tar.gz
aspectj-590f81aacbd8fdc9cb3aebef76a3f2da1034a7f8.zip
add support and tests for isAnonymous in JavaClass
Diffstat (limited to 'bcel-builder/testdata')
-rw-r--r--bcel-builder/testdata/AnonymousClassTest.java16
-rw-r--r--bcel-builder/testdata/testcode.jarbin16210 -> 17736 bytes
2 files changed, 16 insertions, 0 deletions
diff --git a/bcel-builder/testdata/AnonymousClassTest.java b/bcel-builder/testdata/AnonymousClassTest.java
new file mode 100644
index 000000000..ca1c50101
--- /dev/null
+++ b/bcel-builder/testdata/AnonymousClassTest.java
@@ -0,0 +1,16 @@
+public class AnonymousClassTest {
+
+ public void foo() {
+
+ new Runnable() {
+ public void run() {};
+ }.run();
+
+
+ }
+
+ class X {}
+
+ static class Y {}
+
+} \ No newline at end of file
diff --git a/bcel-builder/testdata/testcode.jar b/bcel-builder/testdata/testcode.jar
index 884ed866f..6bac0c9fb 100644
--- a/bcel-builder/testdata/testcode.jar
+++ b/bcel-builder/testdata/testcode.jar
Binary files differ