Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
123456789101112131415161718 |
- // unlock and static context
-
- public aspect ParsingAndMatching2 {
-
- before(): unlock() {
- System.err.println("Advice running at "+thisJoinPoint.getSourceLocation());
- }
-
- public static void main(String[] args) {
- staticM();
- }
-
- public static void staticM() {
- synchronized (String.class) {
- System.err.println("static method running");
- }
- }
- }
|