001    /*
002     * To change this template, choose Tools | Templates
003     * and open the template in the editor.
004     */
005    
006    package com.nativelibs4java.util;
007    
008    import java.lang.annotation.ElementType;
009    import java.lang.annotation.Retention;
010    import java.lang.annotation.RetentionPolicy;
011    import java.lang.annotation.Target;
012    
013    /**
014     * Annotation that defines the integer value for a Java enum item
015     * @author ochafik
016     */
017    @Target({ElementType.TYPE, ElementType.FIELD})
018    @Retention(RetentionPolicy.RUNTIME)
019    public @interface EnumValue {
020            /**
021             * Integral representation of the enum item
022             */
023            long value();
024    }