MethodDescriptor

class MethodDescriptor(val name: String, val parameters: Array<TypeDescriptor>, val returnType: TypeDescriptor)(source)

A class to represent a method descriptor

Since

0.1.0

Parameters

name

The name of the method

parameters

The parameters of the method

returnType

The return type of the method

Throws

Constructors

Link copied to clipboard
constructor(name: String, parameters: Array<TypeDescriptor>, returnType: TypeDescriptor)

Creates a MethodDescriptor with the given name, parameters and returnType

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The descriptor of the method

Link copied to clipboard

The name of the method

Link copied to clipboard

The parameter count of the method (The size of the parameters list)

Link copied to clipboard

The parameters of the method

Link copied to clipboard

The return type of the method

Functions

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

Check if the given MethodDescriptor is equal to this MethodDescriptor

Link copied to clipboard
open override fun hashCode(): Int

Get the hash code of this MethodDescriptor

Link copied to clipboard
open override fun toString(): String

Get the string representation of the MethodDescriptor