-
- 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. -
Methods inherited from class com.google.devtools.ksp.symbol.KSReferenceElement
getTypeArguments -
Methods inherited from class com.google.devtools.ksp.symbol.KSNode
getLocation, getOrigin, getParent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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.
-
-
-
-