-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSAnnotated,com.google.devtools.ksp.symbol.KSModifierListOwner,com.google.devtools.ksp.symbol.KSNode
public interface KSTypeReference implements KSAnnotated, KSModifierListOwner
A KSTypeReference combines a KSReferenceElement with annotations and modifiers.
-
-
Method Summary
Modifier and Type Method Description abstract KSTyperesolve()Resolves to the original declaration site. abstract KSReferenceElementgetElement()Underlying element of this type reference, without annotations and modifiers. abstract Sequence<KSAnnotation>getAnnotations()All annotations on this symbol. abstract OrigingetOrigin()abstract LocationgetLocation()abstract KSNodegetParent()abstract Set<Modifier>getModifiers()The set of modifiers on this element. -
-
Method Detail
-
getElement
abstract KSReferenceElement getElement()
Underlying element of this type reference, without annotations and modifiers.
-
getAnnotations
abstract Sequence<KSAnnotation> getAnnotations()
All annotations on this symbol.
-
getLocation
abstract Location getLocation()
-
getModifiers
abstract Set<Modifier> getModifiers()
The set of modifiers on this element.
-
-
-
-