blob: 4678baae04cd8df96f120c3256383e0c1bb44267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import java.util.*;
abstract aspect ObserverProtocol {
private Collection Subject.observers = new ArrayList();
public Collection Subject.getObservers() {
return observers;
}
}
aspect XYZ extends ObserverProtocol {}
|