MethodType

open class MethodType(source)

A MethodType is an ordered 4-tuple consisting of: 1. type parameters: the declarations of any type parameters of the method member. 2. argument types: a list of the types of the arguments to the method member. 3. return type: the return type of the method member. 4. throws clause: exception types declared in the throws clause of the method member.

See JLS 8.2

Author

Federico Tomassetti

Constructors

Link copied to clipboard
constructor(typeParameters: List<ResolvedTypeParameterDeclaration>, formalArgumentTypes: List<ResolvedType>, returnType: ResolvedType, exceptionTypes: List<ResolvedType>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun fromMethodUsage(methodUsage: MethodUsage): MethodType