-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSAnnotated,com.google.devtools.ksp.symbol.KSModifierListOwner,com.google.devtools.ksp.symbol.KSNode
public interface KSPropertyAccessor implements KSAnnotated, KSModifierListOwner
The common base of property getter and setter. Note that annotation use-site targets such as @get: @set: is not copied to accessor's annotations attribute. Use KSAnnotated.findAnnotationFromUseSiteTarget() to ensure annotations from parent is obtained.
-
-
Method Summary
Modifier and Type Method Description abstract KSPropertyDeclarationgetReceiver()The owner of the property accessor. abstract Sequence<KSAnnotation>getAnnotations()All annotations on this symbol. abstract OrigingetOrigin()abstract LocationgetLocation()abstract KSNodegetParent()abstract Set<Modifier>getModifiers()The set of modifiers on this element. -
-
Method Detail
-
getReceiver
abstract KSPropertyDeclaration getReceiver()
The owner of the property accessor.
-
getAnnotations
abstract Sequence<KSAnnotation> getAnnotations()
All annotations on this symbol.
-
getLocation
abstract Location getLocation()
-
getModifiers
abstract Set<Modifier> getModifiers()
The set of modifiers on this element.
-
-
-
-