Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Retention
Indica o quanto anotações com o tipo anotado devem ser retidos. Se nenhuma anotação Retention está presente na declaração do tipo de anotação, a política padrão de retenção é RetentionPolicy.CLASS.
A meta-anotação alvo tem efeito apenas se o tipo meta-anotado é usado diretamente para anotação. Não tem efeito se o tipo meta-anotado é usado como um tipo membro em outro tipo de anotação.
| Required Element Summary | |
|---|---|
RetentionPolicy |
value
|
| Element Detail |
|---|
public abstract RetentionPolicy value
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.