Record - java : MethodData

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

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
  • The class in which the method exists

  • paramTypes Class | ArrayType[]
  • An optional field, which describes the parameter types of the method