Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 33 | PointedEar | 1 | //$Id: $ |
| 2 | package org.hibernate.annotations; |
||
| 3 | |||
| 4 | import java.lang.annotation.Retention; |
||
| 5 | import java.lang.annotation.ElementType; |
||
| 6 | import java.lang.annotation.RetentionPolicy; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Define an explicit target,a voiding reflection and generics resolving |
||
| 10 | * |
||
| 11 | * @author Emmanuel Bernard |
||
| 12 | */ |
||
| 13 | @java.lang.annotation.Target({ElementType.FIELD, ElementType.METHOD}) |
||
| 14 | @Retention( RetentionPolicy.RUNTIME ) |
||
| 15 | public @interface Target { |
||
| 16 | Class value(); |
||
| 17 | } |