ResourceValue

class ResourceValue

Represents a resource used as an annotation parameter.

Inspired by Butterknife. https://github.com/JakeWharton/butterknife/pull/613

Constructors

ResourceValue
Link copied to clipboard
fun ResourceValue(value: Int)
ResourceValue
Link copied to clipboard
fun ResourceValue(className: ClassName, resourceName: String, value: Int)

Functions

debugDetails
Link copied to clipboard
fun debugDetails(): String
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

className
Link copied to clipboard
val className: ClassName?
code
Link copied to clipboard
val code: CodeBlock
qualified
Link copied to clipboard
val qualified: Boolean
resourceName
Link copied to clipboard
val resourceName: String?
value
Link copied to clipboard
val value: Int