wire-java-generator / com.squareup.wire.java / AdapterConstant

AdapterConstant

class AdapterConstant

A constant field that identifies a ProtoAdapter. This should be a string like like com.squareup.dinosaurs.Dinosaur#ADAPTER with a fully qualified class name, a #, and a field name.

Constructors

<init>

AdapterConstant(className: ClassName, memberName: String)
AdapterConstant(adapter: String)

Properties

className

val className: ClassName

memberName

val memberName: String

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int