public Constructor(declaringClass as String = "", index as Int = -1, parameters as IList<Parameter> = [], flags as Int = 0, annotations as IList<Annotation> = []):
Builds constructor metadata.
| Parameter | Description |
|---|---|
declaringClass | Full reflected name of the declaring class. |
index | Runtime constructor index on the declaring class. |
parameters | Constructor parameters. |
flags | Raw modifier flags. |
annotations | Constructor annotations. |
ctor = Constructor("demo.User", 0, [], Type.FLAG_PUBLIC)
assert ctor.declaringClass == "demo.User"