mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-18 02:11:48 +02:00
19 lines
289 B
Plaintext
19 lines
289 B
Plaintext
package abc;
|
|
import org.aspectj.lang.annotation.*;
|
|
|
|
@Aspect
|
|
public class pr138215 {
|
|
|
|
@DeclareWarning("fooExecution()")
|
|
public static final String warning = "no foos please";
|
|
|
|
@Pointcut("execution(* foo())")
|
|
public void fooExecution() {}
|
|
|
|
}
|
|
|
|
class Fooey {
|
|
|
|
public void foo() {}
|
|
|
|
} |