com.google.devtools.ksp.impl.symbol.kotlin.KSDynamicReferenceImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symbol-processing-cmdline Show documentation
Show all versions of symbol-processing-cmdline Show documentation
Symbol processing for K/N and command line
package com.google.devtools.ksp.impl.symbol.kotlin
import com.google.devtools.ksp.common.KSObjectCache
import com.google.devtools.ksp.symbol.*
class KSDynamicReferenceImpl private constructor(override val parent: KSNode) : KSDynamicReference {
companion object : KSObjectCache() {
fun getCached(parent: KSTypeReference) = cache.getOrPut(parent) { KSDynamicReferenceImpl(parent) }
}
override val origin = Origin.KOTLIN
override val location: Location by lazy {
NonExistLocation
}
override val typeArguments: List = emptyList()
override fun accept(visitor: KSVisitor, data: D): R {
return visitor.visitDynamicReference(this, data)
}
override fun toString(): String {
return ""
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy