Package com.google.devtools.ksp.symbol
Interface KSValueArgument
-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSAnnotated,com.google.devtools.ksp.symbol.KSNode
public interface KSValueArgument implements KSAnnotated
A value argument to function / constructor calls.
Currently, only appears in annotation arguments.
-
-
Method Summary
Modifier and Type Method Description abstract KSNamegetName()The name for the named argument, or null otherwise. abstract BooleanisSpread()True if it is a spread argument (i.e., has a "*" in front of the argument). abstract ObjectgetValue()The value of the argument. -
Methods inherited from class com.google.devtools.ksp.symbol.KSNode
accept, getLocation, getOrigin, getParent -
Methods inherited from class com.google.devtools.ksp.symbol.KSAnnotated
getAnnotations -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-