MethodDetails

class 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.

Constructors

MethodDetails
Link copied to clipboard
fun MethodDetails(methodSpec: MethodSpec)

Functions

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

Properties

methodSpec
Link copied to clipboard
val methodSpec: MethodSpec
name
Link copied to clipboard
val name: String
params
Link copied to clipboard
val params: List<ModelBuilderInterfaceWriter.ParamDetails>