Package 

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 KSName getName() The name for the named argument, or null otherwise.
      abstract Boolean getIsSpread() True if it is a spread argument (i.e., has a "*" in front of the argument).
      abstract Object getValue() The value of the argument.
      abstract Sequence<KSAnnotation> getAnnotations() All annotations on this symbol.
      abstract Origin getOrigin()
      abstract Location getLocation()
      abstract KSNode getParent()
      • Methods inherited from class com.google.devtools.ksp.symbol.KSAnnotated

        accept
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait