您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
1234567891011121314 |
-
- public aspect pr107059_2 {
-
- before() : target(@Foo *) { // not allowed type pattern in target of course!
- System.out.println("hi");
- }
-
- void bar(Object o) {
- o.toString(); // generates o hasAnnotation(Foo.class) test
- }
-
- }
-
- @interface Foo {}
|