Package com.google.devtools.ksp.symbol
Interface KSPropertyAccessor
-
- All Implemented Interfaces:
-
com.google.devtools.ksp.symbol.KSAnnotated,com.google.devtools.ksp.symbol.KSDeclarationContainer,com.google.devtools.ksp.symbol.KSModifierListOwner,com.google.devtools.ksp.symbol.KSNode
public interface KSPropertyAccessor implements KSDeclarationContainer, 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. -
Methods inherited from class com.google.devtools.ksp.symbol.KSNode
accept, getLocation, getOrigin, getParent -
Methods inherited from class com.google.devtools.ksp.symbol.KSDeclarationContainer
getDeclarations -
Methods inherited from class com.google.devtools.ksp.symbol.KSAnnotated
getAnnotations -
Methods inherited from class com.google.devtools.ksp.symbol.KSModifierListOwner
getModifiers -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getReceiver
abstract KSPropertyDeclaration getReceiver()
The owner of the property accessor.
-
-
-
-