Browse Source

312839: smaller class files

tags/PRE_PUSHIN
aclement 14 years ago
parent
commit
b7ccd103d0
2 changed files with 28 additions and 0 deletions
  1. 13
    0
      tests/bugs169/pr312839/one/Class.java
  2. 15
    0
      tests/bugs169/pr312839/one/X.aj

+ 13
- 0
tests/bugs169/pr312839/one/Class.java View File

@@ -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);
}
}

+ 15
- 0
tests/bugs169/pr312839/one/X.aj View File

@@ -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 {}

Loading…
Cancel
Save