浏览代码

312839: smaller class files

tags/PRE_PUSHIN
aclement 14 年前
父节点
当前提交
b7ccd103d0
共有 2 个文件被更改,包括 28 次插入0 次删除
  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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存