Procházet zdrojové kódy

312839: smaller class files

tags/PRE_PUSHIN
aclement před 14 roky
rodič
revize
b7ccd103d0

+ 13
- 0
tests/bugs169/pr312839/one/Class.java Zobrazit soubor

@@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit