Record: MethodData

Describes a Java method. If the paramTypes field is not specified, then the parameter types are inferred from the corresponding Ballerina function.

Closed record

Fields

  • name Identifier?
  • An optional field, which describes the name of the Java method. If this field is not provided, then the name is inferred from the Ballerina function name

  • 'class Class
  • paramTypes (Class | ArrayType)[ ]?
  • An optional field, which describes the parameter types of the method