-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSNode,com.google.devtools.ksp.symbol.KSReferenceElement
public interface KSCallableReference implements KSReferenceElement
A reference to a callable entity, such as a function or a property.
-
-
Method Summary
Modifier and Type Method Description <D extends Any, R extends Any> Raccept(KSVisitor<D, R> visitor, D data)abstract KSTypeReferencegetReceiverType()A reference to the type of its receiver. abstract List<KSValueParameter>getFunctionParameters()Parameters to this callable. abstract KSTypeReferencegetReturnType()A reference to its return type. abstract List<KSTypeArgument>getTypeArguments()Type arguments in the type reference. abstract OrigingetOrigin()abstract LocationgetLocation()abstract KSNodegetParent()-
-
Method Detail
-
getReceiverType
abstract KSTypeReference getReceiverType()
A reference to the type of its receiver.
-
getFunctionParameters
abstract List<KSValueParameter> getFunctionParameters()
Parameters to this callable.
-
getReturnType
abstract KSTypeReference getReturnType()
A reference to its return type.
-
getTypeArguments
abstract List<KSTypeArgument> getTypeArguments()
Type arguments in the type reference.
-
getLocation
abstract Location getLocation()
-
-
-
-