Interface KSTypeReference

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract KSType resolve() Resolves to the original declaration site.
      abstract KSReferenceElement getElement() Underlying element of this type reference, without annotations and modifiers.
      • Methods inherited from class com.google.devtools.ksp.symbol.KSNode

        accept, getLocation, getOrigin, getParent
      • Methods inherited from class com.google.devtools.ksp.symbol.KSAnnotated

        getAnnotations
      • Methods inherited from class com.google.devtools.ksp.symbol.KSModifierListOwner

        getModifiers
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • resolve

         abstract KSType resolve()

        Resolves to the original declaration site.

        Returns:

        A type resolved from this type reference. Calling resolve is expensive and should be avoided if possible.