KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > lang > reflect > DeclarePrecedence


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 /**
15  * AspectJ runtime representation of a declare precedence statement as
16  * declared in an aspect.
17  */

18 public interface DeclarePrecedence {
19
20     /**
21      * The declaring aspect
22      */

23     AjType getDeclaringType();
24     
25     /**
26      * Returns an ordered set of type patterns. An aspect matching
27      * a type pattern at a lower index in the array takes precedence
28      * over an aspect that only matches a type pattern at a higher
29      * index in the array.
30      */

31     TypePattern[] getPrecedenceOrder();
32 }
33
Popular Tags