Annotation
/** * @brief An access annotation. */
Inherit from AnnotationDo
Primary key: id: int
schema Annotation extends AnnotationDo { @primary id: int }
Annotation::getParentHashId
/** * @brief gets the parent id of the element. * @return int */
- Parameter
self
:Annotation
- Return
int
pub fn getParentHashId(self: Annotation) -> int;
Annotation::getName
/** * @brief gets the name for the element. * @return string */
- Parameter
self
:Annotation
- Return
string
pub fn getName(self: Annotation) -> string;
Annotation::getLocation
/** * @brief gets the location for the element. * @return Location */
- Parameter
self
:Annotation
- Return
Location
pub fn getLocation(self: Annotation) -> Location;
Annotation::getAnAncestor
/** * @brief gets an ancestor of the element. * @return ElementParent */
- Parameter
self
:Annotation
- Return
*ElementParent
pub fn getAnAncestor(self: Annotation) -> *ElementParent;
Annotation::getPrintableText
/** * @brief gets the name for the element. * @return string */
- Parameter
self
:Annotation
- Return
string
pub fn getPrintableText(self: Annotation) -> string;
Annotation::getParent
/** * @brief gets the parent of the element. * @return ElementParent */
- Parameter
self
:Annotation
- Return
ElementParent
pub fn getParent(self: Annotation) -> ElementParent;
Annotation::getAnnotatedClass
/** * @brief gets the annotated class of the annotation. * @return Class */
- Parameter
self
:Annotation
- Return
Class
pub fn getAnnotatedClass(self: Annotation) -> Class;
Annotation::getAnnotationArgument
/** * @brief gets an argument of the annotation, if any. * @return AnnotationAccessArgument */
- Parameter
self
:Annotation
- Return
*AnnotationAccessArgument
pub fn getAnnotationArgument(self: Annotation) -> *AnnotationAccessArgument;
Annotation::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*Annotation
pub fn __all__(db: JavaDB) -> *Annotation;
Annotation::getAnnotatedMethod
/** * @brief gets the annotated method of the annotation. * @return Method */
- Parameter
self
:Annotation
- Return
Method
pub fn getAnnotatedMethod(self: Annotation) -> Method;
Annotation::getAnnotationDeclaration
/** * @brief gets the declaration of the element, if any. * @return AnnotationDeclaration */
- Parameter
self
:Annotation
- Return
AnnotationDeclaration
pub fn getAnnotationDeclaration(self: Annotation) -> AnnotationDeclaration;