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, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassLoader, getPool, getProject, isValid
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–2019. All rights reserved.