Explorar el Código

312839: smaller class files

tags/PRE_PUSHIN
aclement hace 14 años
padre
commit
b7ccd103d0
Se han modificado 2 ficheros con 28 adiciones y 0 borrados
  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 Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar