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 
*/
pub fn getParentHashId(self: Annotation) -> int;

Annotation::getName

/**
* @brief gets the name for the element.
* @return string
*/
pub fn getName(self: Annotation) -> string;

Annotation::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: Annotation) -> Location;

Annotation::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: Annotation) -> *ElementParent;

Annotation::getPrintableText

/**
* @brief gets the name for the element.
* @return string
*/
pub fn getPrintableText(self: Annotation) -> string;

Annotation::getParent

/**
* @brief gets the parent of the element.
* @return ElementParent 
*/
pub fn getParent(self: Annotation) -> ElementParent;

Annotation::getAnnotatedClass

/**
* @brief gets the annotated class of the annotation.
* @return Class 
*/
pub fn getAnnotatedClass(self: Annotation) -> Class;

Annotation::getAnnotationArgument

/**
* @brief gets an argument of the annotation, if any.
* @return AnnotationAccessArgument 
*/
pub fn getAnnotationArgument(self: Annotation) -> *AnnotationAccessArgument;

Annotation::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *Annotation;

Annotation::getAnnotatedMethod

/**
* @brief gets the annotated method of the annotation.
* @return Method 
*/
pub fn getAnnotatedMethod(self: Annotation) -> Method;

Annotation::getAnnotationDeclaration

/**
* @brief gets the declaration of the element, if any.
* @return AnnotationDeclaration 
*/
pub fn getAnnotationDeclaration(self: Annotation) -> AnnotationDeclaration;