#include "protheustlpp-object.chth"
classClass TesteReflection
public method new()
publicprotected method new2func1()
publicprivate method new3func2()
public data data1
publicprivate data data2
publicprotected data data3
endclassEndClass
method new() class TesteReflection
returnReturn self
method new2func1() class TesteReflection
returnReturn self
method new3func2() class TesteReflection
returnReturn self
Function u_test_getClass
main function TTECI_204
local i
local retMethods := TesteReflection():TGetMethods()
local retData := TesteReflection():TGetData()
conout("### methods:")
conout(retMethods[1])
conout(retMethods[2])
conout(retMethods[3])
conout("### data:")
conout(retData[1])
conout(retData[2])
conout(retData[3])
return
Return
|