Annotation Type Implementation


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Implementation
    Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static int DEFAULT_SDK  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int maxSdk
      The annotated shadow method will be invoked only for the specified SDK or lesser.
      int minSdk
      The annotated shadow method will be invoked only for the specified SDK or greater.
    • Field Detail

      • DEFAULT_SDK

        static final int DEFAULT_SDK
    • Element Detail

      • minSdk

        int minSdk
        The annotated shadow method will be invoked only for the specified SDK or greater.
        Default:
        -1
      • maxSdk

        int maxSdk
        The annotated shadow method will be invoked only for the specified SDK or lesser.
        Default:
        -1