Histórico da Página
...
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
@annotation AnnotationUm teste1 as char @end @annotation AnnotationDois teste2 as char @end class MeuObjeto @AnnotationUm(teste = "Primeira Annotation") @AnnotationDois(teste = "Segunda Annotation") public data data1 public method new() EndClass main function usoDeAnnotation() local oObj := MeuObjeto():New() local jRet jRet := Reflection.getDataAnnotationgetDataAnnotationList(oObj,"data1","AnnotationExemplo") conout(Len(jRet)) conout(jRet[1]["teste"]) conout(jRet[2]["teste"]) return |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas