15 lines
450 B
Text
15 lines
450 B
Text
|
|
module test {
|
||
|
|
void run() {
|
||
|
|
@Inject Console console;
|
||
|
|
|
||
|
|
String[] names = &this.actualType.multimethods.keys.toArray();
|
||
|
|
console.print($"Method/function names on {this}: {names}");
|
||
|
|
|
||
|
|
Method[] methods = &this.actualType.methods;
|
||
|
|
console.print($"The methods of {this}: {methods}");
|
||
|
|
|
||
|
|
Function[] functions = &this.actualType.functions;
|
||
|
|
console.print($"The functions of {this}: {functions}");
|
||
|
|
}
|
||
|
|
}
|