Interface KSAnnotation

  • All Implemented Interfaces:
    com.google.devtools.ksp.symbol.KSNode

    
    public interface KSAnnotation
     implements KSNode
                        

    Instance of a constructor-call-like annotation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract KSTypeReference getAnnotationType() Reference to the type of the annotation class declaration.
      abstract List<KSValueArgument> getArguments() The arguments applied to the constructor call to construct this annotation.
      abstract List<KSValueArgument> getDefaultArguments() The default values of the annotation members
      abstract KSName getShortName() Short name for this annotation, equivalent to the simple name of the declaration of the annotation class.
      abstract AnnotationUseSiteTarget getUseSiteTarget() Use site target of the annotation.
      • Methods inherited from class com.google.devtools.ksp.symbol.KSNode

        accept, getLocation, getOrigin, getParent
      • Methods inherited from class java.lang.Object

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