Class DaggerType


  • public abstract class DaggerType
    extends java.lang.Object
    Wrapper type for a type.
    • Constructor Summary

      Constructors 
      Constructor Description
      DaggerType()  
    • Constructor Detail

      • DaggerType

        public DaggerType()
    • Method Detail

      • fromJavac

        public static DaggerType fromJavac​(javax.lang.model.type.TypeMirror type)
      • fromKsp

        public static DaggerType fromKsp​(com.google.devtools.ksp.symbol.KSType type)
      • java

        @Nullable
        public abstract javax.lang.model.type.TypeMirror java()
        Java representation for the type, returns null not using java annotation processor.
      • ksp

        @Nullable
        public abstract com.google.devtools.ksp.symbol.KSType ksp()
        KSP declaration for the type, returns null not using KSP.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object