-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSAnnotated,com.google.devtools.ksp.symbol.KSNode
public interface KSValueParameter implements KSAnnotated
A value parameter
-
-
Method Summary
Modifier and Type Method Description abstract KSNamegetName()Name of the parameter abstract KSTypeReferencegetType()The reference to the type of the parameter. abstract BooleangetIsVararg()True if it is a vararg. abstract BooleangetIsNoInline()True if it has the noinlinemodifierabstract BooleangetIsCrossInline()True if it has the crossinlinemodifierabstract BooleangetIsVal()True if it is a value abstract BooleangetIsVar()True if it is a variable abstract BooleangetHasDefault()True if it has a default value abstract Sequence<KSAnnotation>getAnnotations()All annotations on this symbol. abstract OrigingetOrigin()abstract LocationgetLocation()abstract KSNodegetParent()-
-
Method Detail
-
getType
abstract KSTypeReference getType()
The reference to the type of the parameter.
-
getIsVararg
abstract Boolean getIsVararg()
True if it is a vararg.
-
getIsNoInline
abstract Boolean getIsNoInline()
True if it has the
noinlinemodifier
-
getIsCrossInline
abstract Boolean getIsCrossInline()
True if it has the
crossinlinemodifier
-
getHasDefault
abstract Boolean getHasDefault()
True if it has a default value
-
getAnnotations
abstract Sequence<KSAnnotation> getAnnotations()
All annotations on this symbol.
-
getLocation
abstract Location getLocation()
-
-
-
-