public abstract class Annotated extends Attributes
| Constructor and Description |
|---|
Annotated() |
| Modifier and Type | Method and Description |
|---|---|
Annotations |
getDeclaredAnnotations(boolean add)
Return runtime invisible annotation information for the entity.
|
Annotations |
getDeclaredRuntimeAnnotations(boolean add)
Return runtime visible annotation information for the entity.
|
boolean |
removeDeclaredAnnotations()
Remove the runtime invisible annotations attribute for the entity.
|
boolean |
removeDeclaredRuntimeAnnotations()
Remove the runtime visible annotations attribute for the entity.
|
addAttribute, addAttribute, clearAttributes, getAttribute, getAttributes, getAttributes, removeAttribute, removeAttribute, setAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassLoader, getPool, getProject, isValidpublic Annotated()
public Annotations getDeclaredAnnotations(boolean add)
Attributes interface.add - if true, a new annotations attribute will be added if not
already presentadd param is set to falsepublic boolean removeDeclaredAnnotations()
Attributes interface.public Annotations getDeclaredRuntimeAnnotations(boolean add)
Attributes interface.add - if true, a new runtime annotations attribute will be
added if not already presentadd param is set to falsepublic boolean removeDeclaredRuntimeAnnotations()
Attributes interface.Copyright © 2002–2015. All rights reserved.