-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSNode,com.google.devtools.ksp.symbol.KSReferenceElement
public interface KSClassifierReference implements KSReferenceElement
An application / reference to a user declared type such as class, interface and object.
-
-
Method Summary
Modifier and Type Method Description abstract StringreferencedName()The text which appears in the reference. <D extends Any, R extends Any> Raccept(KSVisitor<D, R> visitor, D data)abstract KSClassifierReferencegetQualifier()The outer class of an inner class. abstract List<KSTypeArgument>getTypeArguments()Type arguments in the type reference. abstract OrigingetOrigin()abstract LocationgetLocation()abstract KSNodegetParent()-
-
Method Detail
-
referencedName
abstract String referencedName()
The text which appears in the reference. For example, it is "Int" in
val temperature: Intor "kotlin.Any" inval canBeAnything: kotlin.Any
-
getQualifier
abstract KSClassifierReference getQualifier()
The outer class of an inner class.
-
getTypeArguments
abstract List<KSTypeArgument> getTypeArguments()
Type arguments in the type reference.
-
getLocation
abstract Location getLocation()
-
-
-
-