epoxy-processor / com.airbnb.epoxy.processor / ModelBuilderInterfaceWriter / MethodDetails

MethodDetails

class MethodDetails

A wrapper around MethodSpec that allows us to compare methods with equality that only checks name and param types. This prevents things like annotations and param name from affecting equality, and gets us closer to checking the actual method signature.

Constructors

<init>

MethodDetails(methodSpec: MethodSpec)

A wrapper around MethodSpec that allows us to compare methods with equality that only checks name and param types. This prevents things like annotations and param name from affecting equality, and gets us closer to checking the actual method signature.

Properties

methodSpec

val methodSpec: MethodSpec

name

val name: String

params

val params: List<ModelBuilderInterfaceWriter.ParamDetails>

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int