Histórico da Página
...
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#include "tlpp-core.th" @annotation AnnotationGetMethodAnnotation nickname as char @end Class GetMethodAnnotation Public Method New() @AnnotationGetMethodAnnotation(nickname = "Totvs") Public Method MethodWithAnnotation() EndClass Method New() class GetMethodAnnotation Return Self Method MethodWithAnnotation() class GetMethodAnnotation Return Function u_testGetMethodAnnotation() Local jRet jRet := Reflection.getMethodAnnotation("GetMethodAnnotation", "MethodWithAnnotation", "AnnotationGetMethodAnnotation") If (valType(jRet) <> 'U') Conout(jRet["nickname"]) EndIf Return |
Resultado do Exemplo
CompanyTotvs
Abrangência
17.3.0.3
Veja também
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas