Record: ConstructorData

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

Closed record

Fields

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