spogulis no
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
19ed0a21b8
default mode (inherited behaviour from JDT).
21 rinda
396 B
Java
21 rinda
396 B
Java
|
|
import org.aspectj.testing.Tester;
|
|
|
|
|
|
|
|
|
|
|
|
/** @testcase PR#280 wildcard used for returns clause */
|
|
public class WildcardForReturns {
|
|
public static void main(String[] args) {
|
|
new WildcardForReturns().m();
|
|
}
|
|
|
|
public void m() { }
|
|
}
|
|
aspect A {
|
|
* around (WildcardForReturns t): this(t) && call(* m()) { // CE 17
|
|
// bad test - return null; //return proceed(t);
|
|
}
|
|
}
|