@@ -0,0 +1,11 @@ | |||
aspect Five { | |||
intertype Target { | |||
int i = 5; | |||
} | |||
public static void main(String[]argv) { | |||
Target target = new Target(); | |||
System.out.println(target.i); | |||
} | |||
} | |||
class Target {} |
@@ -0,0 +1,10 @@ | |||
aspect X { | |||
intertype Target { | |||
int i = 5; | |||
} | |||
public static void main(String[]argv) { | |||
Target target = new Target(); | |||
} | |||
} | |||
class Target {} |
@@ -0,0 +1,6 @@ | |||
aspect X { | |||
intertype Target { | |||
} | |||
} | |||
class Target {} |
@@ -0,0 +1,13 @@ | |||
aspect Six { | |||
intertype Target { | |||
int i = 5; | |||
String j = "hello"; | |||
} | |||
public static void main(String[]argv) { | |||
Target target = new Target(); | |||
System.out.println(target.j); | |||
System.out.println(target.i); | |||
} | |||
} | |||
class Target {} |
@@ -0,0 +1,9 @@ | |||
aspect X { | |||
intertype Target { | |||
int i = 5; | |||
} | |||
public static void main(String[]argv) { | |||
} | |||
} | |||
class Target {} |
@@ -0,0 +1,7 @@ | |||
aspect X { | |||
intertype Target { | |||
int i = 5; | |||
} | |||
} | |||
class Target {} |