Class AndroidInjectionKeys


  • public final class AndroidInjectionKeys
    extends java.lang.Object
    An internal implementation detail of Dagger's generated code. This is not guaranteed to remain consistent from version to version.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String of​(java.lang.String mapKey)
      Accepts the fully qualified name of a class that is injected with dagger.android.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static java.lang.String of​(java.lang.String mapKey)
        Accepts the fully qualified name of a class that is injected with dagger.android.

        From a runtime perspective, this method does nothing except return its single argument. It is used as a signal to bytecode shrinking tools that its argument should be rewritten if it corresponds to a class that has been obfuscated/relocated. Once it is done so, it is expected that the argument will be inlined and this method will go away.