public class Constructor implements Invocable<Object>:
Class representing a constructor.
Implements Invocable for uniform invocation.
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | annotationsannotations as IList<Annotation>: |
Constructor annotations |
| public property | flagsflags as Int: |
Raw modifier flags |
| public property | isAccessibleisAccessible as Boolean: |
Accessibility flag for private constructor access. |
| public readonly property | isPrivateisPrivate as Boolean: |
No summary. |
| public readonly property | namename as String: |
Name for Invocable interface |
| public readonly property | parameterCountparameterCount as Int: |
Parameter count for Invocable interface |
| public readonly property | parameters | Parameters of the constructor |
| public readonly property | returnTypereturnType as String: |
Return type for Invocable interface (the constructed type) |
| Modifier and Type | Member | Description |
|---|---|---|
| public | ConstructorConstructor(parameters as IList<Parameter> = [], flags as Int = 0, annotations as IList<Annotation> = []): |
Constructor for Constructor |
| Modifier and Type | Member | Description |
|---|---|---|
| public | invoke | Invokes the constructor with arguments. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | operator call(args as Object[]) as Object throws Exception: | Direct call operator. |