Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagecpp
themeEclipse
titleexemplo1.tlpp
linenumberstrue
@annotation AnnotationExemplo
    nickname as char
@end
 
User function testeAnnotation(@AnnotationExemplo("oioi") parm1, @Test@AnnotationExemplo("oioi") parm2) 
 
	conout("funcaoTesteAnnotation")
return
main function usoDeAnnotation()
	local oObj := MeuObjeto():New()
	local jRet
	if (Reflection.isAnnotationFunctionPresentisAnnottationFunctionParamPresent("exemplo1.tlpp", "exemploAnnotationu_testeAnnotation", "AnnotationExemplo"1, ))
		jRet := Reflection.getFunctionAnnotation("exemplo1.tlpp", "exemploAnnotation","AnnotationExemplo")
		conout(jRet["NICKNAME"])
	endif

return

...