Record - java : 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
  • The class in which the constructor exists

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