Record - java : MethodData

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

Fields

  • name Identifier
  • An optional field that describes 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 that describes parameter types of the method