Record - java : ConstructorData

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

Fields

  • class Class
  • The class in which the constructor exists

  • paramTypes Class | ArrayType[]
  • An optional field that describes parameter types of the constructor