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.
  • Optional Element Summary

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Field Details

  • Element Details

    • 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