]> source.dussan.org Git - aspectj.git/commitdiff
feature: Use ASM for non-woven types: testcode
authoraclement <aclement>
Thu, 16 Feb 2006 18:48:49 +0000 (18:48 +0000)
committeraclement <aclement>
Thu, 16 Feb 2006 18:48:49 +0000 (18:48 +0000)
41 files changed:
weaver/testdata/forAsmDelegateTesting/AnnotatedClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedFields.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedMethods.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedParameters.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedWithClassClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedWithCombinedAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotatedWithEnumClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotationClassElement.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotationEnumElement.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnnotationStringElement.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AnonymousClassTest.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AspectFromHell.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM01.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM02.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/CombinedAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/Complex.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/ComplexAnnotatedClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/ComplexAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/ErasureTestData.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/HelloWorld.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/MarkedType.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/MarkerAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/MarkerAnnotationInvisible.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/PossibleGenericsSigs.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/README [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAnnotatedClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAnnotation2.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAnnotation3.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAnnotation4.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleAspect.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleEnum.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleGenericsProgram.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleGenericsUsage.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleStringAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleType.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/SimpleVarargs.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/VarargsClass.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/VerySimpleAnnotation.java [new file with mode: 0644]
weaver/testdata/forAsmDelegateTesting/stuff.jar [new file with mode: 0644]

diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedClass.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedClass.java
new file mode 100644 (file)
index 0000000..033d2e8
--- /dev/null
@@ -0,0 +1,3 @@
+@AnnotationStringElement(stringval="hello")
+public class AnnotatedClass {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedFields.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedFields.java
new file mode 100644 (file)
index 0000000..a9cd8e3
--- /dev/null
@@ -0,0 +1,5 @@
+public class AnnotatedFields {
+  @SimpleAnnotation3(id=1) int i;
+
+  @SimpleAnnotation3(id=2) String s;
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedMethods.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedMethods.java
new file mode 100644 (file)
index 0000000..e7c43a8
--- /dev/null
@@ -0,0 +1,10 @@
+public class AnnotatedMethods {
+
+  @SimpleAnnotation3(id=1)
+  public void method1() {
+  }
+
+  @SimpleAnnotation3(id=2) 
+  public void method2() {
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedParameters.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedParameters.java
new file mode 100644 (file)
index 0000000..9cfb2b8
--- /dev/null
@@ -0,0 +1,15 @@
+public class AnnotatedParameters {
+
+
+  public static void main(@SimpleAnnotation(id=1) String args[]) {
+  }
+
+  public void foo(@SimpleAnnotation(id=2) int arg1, 
+                  @SimpleAnnotation(id=3) @AnnotationEnumElement(enumval=SimpleEnum.Red) String arg2) {
+    try {
+      throw new RuntimeException("eee");
+    } catch (@SimpleAnnotation(id=5) Exception ex) {
+    }
+  }
+
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedWithClassClass.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedWithClassClass.java
new file mode 100644 (file)
index 0000000..a9dc321
--- /dev/null
@@ -0,0 +1,3 @@
+@AnnotationClassElement(clz=Integer.class)
+public class AnnotatedWithClassClass {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedWithCombinedAnnotation.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedWithCombinedAnnotation.java
new file mode 100644 (file)
index 0000000..c63e6bc
--- /dev/null
@@ -0,0 +1,3 @@
+@CombinedAnnotation({@SimpleAnnotation(id=4)})
+public class AnnotatedWithCombinedAnnotation {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotatedWithEnumClass.java b/weaver/testdata/forAsmDelegateTesting/AnnotatedWithEnumClass.java
new file mode 100644 (file)
index 0000000..5f532ff
--- /dev/null
@@ -0,0 +1,3 @@
+@AnnotationEnumElement(enumval=SimpleEnum.Red)
+public class AnnotatedWithEnumClass {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotationClassElement.java b/weaver/testdata/forAsmDelegateTesting/AnnotationClassElement.java
new file mode 100644 (file)
index 0000000..629bd21
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface AnnotationClassElement {
+  Class clz();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotationEnumElement.java b/weaver/testdata/forAsmDelegateTesting/AnnotationEnumElement.java
new file mode 100644 (file)
index 0000000..201b34a
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface AnnotationEnumElement {
+  SimpleEnum enumval();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnnotationStringElement.java b/weaver/testdata/forAsmDelegateTesting/AnnotationStringElement.java
new file mode 100644 (file)
index 0000000..dc68cf2
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface AnnotationStringElement {
+  String stringval();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AnonymousClassTest.java b/weaver/testdata/forAsmDelegateTesting/AnonymousClassTest.java
new file mode 100644 (file)
index 0000000..ca1c501
--- /dev/null
@@ -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/weaver/testdata/forAsmDelegateTesting/AspectFromHell.java b/weaver/testdata/forAsmDelegateTesting/AspectFromHell.java
new file mode 100644 (file)
index 0000000..def65b4
--- /dev/null
@@ -0,0 +1,24 @@
+import java.util.*;
+
+public aspect AspectFromHell {
+
+  public void Foo.m1() {}
+  public int Foo.m2() {return 2;}
+  public void Foo.m3(String s) {}
+  public Foo.new(String s) {super();}
+  public int Foo.x;
+  public List Foo.y;
+
+
+  before(): execution(void Goo.m1()) {}
+  after(): execution(void Goo.m2(String)) { System.err.println(thisJoinPoint);}
+  void around(int i): execution(void Goo.m3(..)) && args(i) { }
+
+  class Goo {
+    void m1() {}
+    void m2(String s) {}
+    void m3(int i) {}
+  }
+}
+
+  class Foo { }
diff --git a/weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM01.java b/weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM01.java
new file mode 100644 (file)
index 0000000..e8bb5c7
--- /dev/null
@@ -0,0 +1,8 @@
+public class AttributeTestClassEM01 {
+
+  public static void main(String[]argv) {
+    class S {
+      public void sayhello() { System.err.println("hello");}
+    }
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM02.java b/weaver/testdata/forAsmDelegateTesting/AttributeTestClassEM02.java
new file mode 100644 (file)
index 0000000..b152854
--- /dev/null
@@ -0,0 +1,8 @@
+public class AttributeTestClassEM02 {
+
+    Runnable r = new Runnable() {
+      public void run() { System.err.println("hello");}
+    };
+  public static void main(String[]argv) {
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/CombinedAnnotation.java b/weaver/testdata/forAsmDelegateTesting/CombinedAnnotation.java
new file mode 100644 (file)
index 0000000..a262c86
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface CombinedAnnotation {
+ public SimpleAnnotation[] value();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/Complex.java b/weaver/testdata/forAsmDelegateTesting/Complex.java
new file mode 100644 (file)
index 0000000..88c17cd
--- /dev/null
@@ -0,0 +1,13 @@
+// Class contains everything, for delegate comparing..
+
+public class Complex {
+
+  int field1;
+  String field2;
+  Foo[] field3;
+
+
+
+  static class Foo {
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/ComplexAnnotatedClass.java b/weaver/testdata/forAsmDelegateTesting/ComplexAnnotatedClass.java
new file mode 100644 (file)
index 0000000..1e6214a
--- /dev/null
@@ -0,0 +1,3 @@
+@ComplexAnnotation(ival=4,bval=2,cval='5',fval=3.0f,dval=33.4,zval=false,jval=56,sval=99)
+public class ComplexAnnotatedClass {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/ComplexAnnotation.java b/weaver/testdata/forAsmDelegateTesting/ComplexAnnotation.java
new file mode 100644 (file)
index 0000000..c5a76c7
--- /dev/null
@@ -0,0 +1,13 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ComplexAnnotation {
+  int ival();
+  byte bval();
+  char cval();
+  long jval();
+  double dval();
+  boolean zval();
+  short sval();
+  float fval();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/ErasureTestData.java b/weaver/testdata/forAsmDelegateTesting/ErasureTestData.java
new file mode 100644 (file)
index 0000000..493f59a
--- /dev/null
@@ -0,0 +1,7 @@
+import java.util.*;
+
+public class ErasureTestData {
+
+  public Vector<String> getData() { return null; }
+
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/HelloWorld.java b/weaver/testdata/forAsmDelegateTesting/HelloWorld.java
new file mode 100644 (file)
index 0000000..9146fed
--- /dev/null
@@ -0,0 +1,14 @@
+import java.io.*;
+
+public class HelloWorld {
+      public static void main(String[] argv) {
+        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
+        String name = null;
+
+        try {
+             System.out.print("Please enter your name> ");
+             name = in.readLine();
+        } catch(IOException e) { return; }
+          System.out.println("Hello, " + name);
+      }
+    }
diff --git a/weaver/testdata/forAsmDelegateTesting/MarkedType.java b/weaver/testdata/forAsmDelegateTesting/MarkedType.java
new file mode 100644 (file)
index 0000000..2b09484
--- /dev/null
@@ -0,0 +1,4 @@
+@MarkerAnnotationInvisible
+@MarkerAnnotation
+public class MarkedType {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/MarkerAnnotation.java b/weaver/testdata/forAsmDelegateTesting/MarkerAnnotation.java
new file mode 100644 (file)
index 0000000..f314a94
--- /dev/null
@@ -0,0 +1,4 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface MarkerAnnotation { }
diff --git a/weaver/testdata/forAsmDelegateTesting/MarkerAnnotationInvisible.java b/weaver/testdata/forAsmDelegateTesting/MarkerAnnotationInvisible.java
new file mode 100644 (file)
index 0000000..9b41a59
--- /dev/null
@@ -0,0 +1,4 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.CLASS)
+public @interface MarkerAnnotationInvisible { }
diff --git a/weaver/testdata/forAsmDelegateTesting/PossibleGenericsSigs.java b/weaver/testdata/forAsmDelegateTesting/PossibleGenericsSigs.java
new file mode 100644 (file)
index 0000000..ee687b2
--- /dev/null
@@ -0,0 +1,36 @@
+import java.util.*;
+
+public class PossibleGenericsSigs {
+
+  public void a(List<String> List_String) {}
+
+  public void b(List<Double> List_Double) {}
+
+  public void c(List<? extends Number> q_extends_Number) {}
+
+  public void d(List<? super Number> q_super_Number) {}
+
+  public void e(List<?> List_q) {}
+
+  public void f(Map<?,? super Number> Map_q_q_super_Number) {}
+
+
+
+  <T extends Object & Comparable<? super T>> void r(List<T> l) {}
+
+  <T extends Object & Comparable<? super T>> T s(Collection<T> col) {return null;}
+  
+  static <T extends Comparable<? super Number>> T t(Collection<T> col) {return null;}
+
+  static <T extends Comparable<T>> T u(Collection<T> col) {return null;}
+
+  <X> X v(Collection<X> x) {return null;}
+
+  public void w(List<List<List<List<List<? extends List>>>>> wtf) {}
+  static <T> void x(List <T> a,List<? extends T> b) {}
+
+  <T extends Number> void y(Map<T,? super Number> n) {}
+
+  static <T> void z(T[] ts,Collection<T> c) {}
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/README b/weaver/testdata/forAsmDelegateTesting/README
new file mode 100644 (file)
index 0000000..e690720
--- /dev/null
@@ -0,0 +1,5 @@
+Rebuilding?
+
+Just do this:
+
+ajc -1.5 *.java -outjar stuff.jar
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAnnotatedClass.java b/weaver/testdata/forAsmDelegateTesting/SimpleAnnotatedClass.java
new file mode 100644 (file)
index 0000000..8d4e4ac
--- /dev/null
@@ -0,0 +1,3 @@
+@SimpleAnnotation(id=4)
+public class SimpleAnnotatedClass {
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation.java b/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation.java
new file mode 100644 (file)
index 0000000..94291dc
--- /dev/null
@@ -0,0 +1,7 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.SOURCE)
+public @interface SimpleAnnotation {
+  int id();
+  String fruit() default "bananas";
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation2.java b/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation2.java
new file mode 100644 (file)
index 0000000..64c4a77
--- /dev/null
@@ -0,0 +1,8 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.CLASS)
+public @interface SimpleAnnotation2 {
+  int id();
+  String fruit() default "bananas";
+}
+
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation3.java b/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation3.java
new file mode 100644 (file)
index 0000000..2f4d94a
--- /dev/null
@@ -0,0 +1,8 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface SimpleAnnotation3 {
+  int id();
+  String fruit() default "bananas";
+}
+
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation4.java b/weaver/testdata/forAsmDelegateTesting/SimpleAnnotation4.java
new file mode 100644 (file)
index 0000000..24a4c59
--- /dev/null
@@ -0,0 +1,7 @@
+import java.lang.annotation.*;
+
+public @interface SimpleAnnotation4 {
+  int id();
+  String fruit() default "bananas";
+}
+
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleAspect.java b/weaver/testdata/forAsmDelegateTesting/SimpleAspect.java
new file mode 100644 (file)
index 0000000..b5c4abe
--- /dev/null
@@ -0,0 +1,12 @@
+public aspect SimpleAspect {
+  pointcut p(): call(* *(..));
+
+  before(): p() {
+    
+  }
+
+  int SimpleAspect.i;
+
+  public void SimpleAspect.m() { }
+
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleClass.java b/weaver/testdata/forAsmDelegateTesting/SimpleClass.java
new file mode 100644 (file)
index 0000000..9920c49
--- /dev/null
@@ -0,0 +1,5 @@
+public class SimpleClass {
+  public static void main(String[] argv) {
+    // Nothing unusual in this class
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleEnum.java b/weaver/testdata/forAsmDelegateTesting/SimpleEnum.java
new file mode 100644 (file)
index 0000000..2df5368
--- /dev/null
@@ -0,0 +1 @@
+public enum SimpleEnum { Red,Orange,Yellow,Green,Blue,Indigo,Violet };
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleGenericsProgram.java b/weaver/testdata/forAsmDelegateTesting/SimpleGenericsProgram.java
new file mode 100644 (file)
index 0000000..2457a91
--- /dev/null
@@ -0,0 +1,26 @@
+import java.util.*;
+
+class TreasureChest<T> {
+
+  protected Set<T> contents;
+
+  public TreasureChest() {
+    contents = new HashSet<T>();
+  }
+
+  public void add(T o) {
+    contents.add(o);
+  }
+}
+
+public class SimpleGenericsProgram {
+
+  public static void main(String []argv) {
+    TreasureChest<String> tc1 = new TreasureChest<String>();
+    TreasureChest<Integer> tc2 = new TreasureChest<Integer>();
+
+    tc1.add("dubloon");
+    tc2.add(new Integer("777"));
+
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleGenericsUsage.java b/weaver/testdata/forAsmDelegateTesting/SimpleGenericsUsage.java
new file mode 100644 (file)
index 0000000..74a8df5
--- /dev/null
@@ -0,0 +1,12 @@
+import java.util.*;
+
+public class SimpleGenericsUsage {
+
+  public static void main(String[]argv) {
+    ArrayList<String> fruits = new ArrayList<String>();
+    fruits.add("Oranges");
+    fruits.add("Apples");
+    fruits.add("Pears");
+    System.err.println(fruits.size()+" fruits defined");
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleStringAnnotation.java b/weaver/testdata/forAsmDelegateTesting/SimpleStringAnnotation.java
new file mode 100644 (file)
index 0000000..af3b5ce
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface SimpleStringAnnotation {
+  String fruit();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleType.java b/weaver/testdata/forAsmDelegateTesting/SimpleType.java
new file mode 100644 (file)
index 0000000..2b0563b
--- /dev/null
@@ -0,0 +1,6 @@
+class SimpleType {
+  public  Integer i;
+
+  public void setI(Integer i) { this.i=i;}
+  public Integer getI() { return i;}
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/SimpleVarargs.java b/weaver/testdata/forAsmDelegateTesting/SimpleVarargs.java
new file mode 100644 (file)
index 0000000..3994d2c
--- /dev/null
@@ -0,0 +1,12 @@
+
+public class SimpleVarargs {
+  public static void main(String[] argv) {
+    callfoo("a","b","c","d","e");
+  }
+
+  public static void callfoo(Object... args) {
+    for (int i = 0 ; i<args.length;i++) {
+      System.err.println(args[i]);
+    }
+  }
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/VarargsClass.java b/weaver/testdata/forAsmDelegateTesting/VarargsClass.java
new file mode 100644 (file)
index 0000000..c50e45e
--- /dev/null
@@ -0,0 +1,9 @@
+public class VarargsClass {
+
+  public void foo(String abc,String... args) { }
+
+  public void goo(String... args) { }
+
+  public void hoo() {}
+
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/VerySimpleAnnotation.java b/weaver/testdata/forAsmDelegateTesting/VerySimpleAnnotation.java
new file mode 100644 (file)
index 0000000..375ab3c
--- /dev/null
@@ -0,0 +1,6 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface VerySimpleAnnotation {
+  int id();
+}
diff --git a/weaver/testdata/forAsmDelegateTesting/stuff.jar b/weaver/testdata/forAsmDelegateTesting/stuff.jar
new file mode 100644 (file)
index 0000000..5704dbb
Binary files /dev/null and b/weaver/testdata/forAsmDelegateTesting/stuff.jar differ