mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-03 17:56:34 +02:00
31 lines
482 B
Plaintext
31 lines
482 B
Plaintext
![]() |
class HttpServlet {
|
||
|
protected void doPost() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
abstract class MockServlet extends HttpServlet {
|
||
|
protected void doPost() {
|
||
|
}
|
||
|
|
||
|
private static aspect FindMatches {
|
||
|
declare warning: execution(* HttpServlet.do*(..)): "servlet request";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class MockDelayingServlet extends MockServlet {
|
||
|
private static final long serialVersionUID = 1;
|
||
|
}
|
||
|
|
||
|
class MockServlet4 extends MockDelayingServlet
|
||
|
{
|
||
|
protected void doPost()
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|