001    package org.bridj.ann;
002    
003    import java.lang.annotation.ElementType;
004    import java.lang.annotation.Retention;
005    import java.lang.annotation.RetentionPolicy;
006    import java.lang.annotation.Target;
007    
008    /**
009     * Size in bits of a struct's bit field
010     * @author ochafik
011     */
012    @Retention(RetentionPolicy.RUNTIME)
013    @Target({ElementType.FIELD, ElementType.METHOD})
014    public @interface Bits {
015        int value();
016    }