您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Test024.java 205B

123456789101112131415
  1. // "@DeclareParents implementing more than one interface"
  2. import org.aspectj.lang.annotation.*;
  3. class A{
  4. }
  5. interface D{
  6. }
  7. interface E{
  8. }
  9. Aspect B{
  10. @DeclareParents("A")
  11. class C implements D, E{
  12. }
  13. }