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
If the name is empty
Constructors
Link copied to clipboard
Creates a MethodDescriptor with the given name, parameters and returnType
Properties
Link copied to clipboard
The descriptor 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
Check if the given MethodDescriptor is equal to this MethodDescriptor
Link copied to clipboard
Get the hash code of this MethodDescriptor
Link copied to clipboard
Get the string representation of the MethodDescriptor