01: /**************************************************************************************
02: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- *
05: * The software in this package is published under the terms of the LGPL license *
06: * a copy of which has been included with this distribution in the license.txt file. *
07: **************************************************************************************/package org.codehaus.aspectwerkz.annotation;
08:
09: import java.lang.annotation.Target;
10: import java.lang.annotation.ElementType;
11: import java.lang.annotation.Retention;
12: import java.lang.annotation.RetentionPolicy;
13:
14: /**
15: * Annotation for pointcut
16: * <p/>
17: * TODO: rename to Pointcut and remove pointcut as field ??
18: *
19: * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
20: */
21: @Target({ElementType.FIELD,ElementType.METHOD})
22: @Retention(RetentionPolicy.RUNTIME)
23: public @interface Expression {
24: /**
25: * The pointcut expression
26: */
27: String value();
28: }
|