You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DeclarePrecedence.java 1013B

1234567891011121314151617181920212223242526272829303132
  1. /* *******************************************************************
  2. * Copyright (c) 2005 Contributors.
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Adrian Colyer Initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.lang.reflect;
  13. /**
  14. * AspectJ runtime representation of a declare precedence statement as
  15. * declared in an aspect.
  16. */
  17. public interface DeclarePrecedence {
  18. /**
  19. * @return the declaring aspect
  20. */
  21. AjType getDeclaringType();
  22. /**
  23. * @return an ordered set of type patterns. An aspect matching
  24. * a type pattern at a lower index in the array takes precedence
  25. * over an aspect that only matches a type pattern at a higher
  26. * index in the array.
  27. */
  28. TypePattern[] getPrecedenceOrder();
  29. }