001    /*
002     * To change this template, choose Tools | Templates
003     * and open the template in the editor.
004     */
005    
006    package org.bridj.ann;
007    
008    import java.lang.annotation.ElementType;
009    import java.lang.annotation.Inherited;
010    import java.lang.annotation.Retention;
011    import java.lang.annotation.RetentionPolicy;
012    import java.lang.annotation.Target;
013    
014    import org.bridj.BridJRuntime;
015    
016    /**
017    * Specify the runtime that should be used to bind native methods (default is {@link org.bridj.CRuntime} if no annotation is provided).
018    <br>
019    Also see @see org.bridj.Bridj.register().
020     * @author Olivier
021     */
022    @Target({ElementType.TYPE})
023    @Retention(RetentionPolicy.RUNTIME)
024    @Inherited
025    public @interface Runtime {
026        Class //<? extends BridJRuntime>
027                value();
028    }