Android Extensions: Add missing documentation, move the hasCache property to the compiler module

This commit is contained in:
Yan Zhulanow
2017-11-01 15:56:40 +09:00
parent e4f476c09f
commit 3d7222485d
6 changed files with 25 additions and 3 deletions
@@ -21,6 +21,9 @@ import org.jetbrains.org.objectweb.asm.Type
import org.jetbrains.org.objectweb.asm.commons.InstructionAdapter
import org.jetbrains.kotlin.android.synthetic.codegen.AbstractAndroidExtensionsExpressionCodegenExtension.Companion.PROPERTY_NAME
internal val CacheImplementation.hasCache: Boolean
get() = this != CacheImplementation.NO_CACHE
interface CacheMechanism {
/** Push the cache object onto the stack. */
fun loadCache()