ModifierList

/** * @brief A list of modifiers and annotations on a java element (class, method, field and so on). */ 

Inherit from ModifierListDO

Primary key: element_hash_id: int

schema ModifierList extends ModifierListDO { @primary element_hash_id: int, parent_hash_id: int, location_hash_id: int } 

ModifierList::getParentHashId

/** * @brief gets the parent hash id of this element. * @return int */ 
pub fn getParentHashId(self: ModifierList) -> int; 

ModifierList::getConstructorParent

/** * @brief gets the parent of the modifier list if the parent is a Constructor. * @return Constructor */ 
pub fn getConstructorParent(self: ModifierList) -> Constructor; 

ModifierList::getLocationHashId

/** * @brief gets the location hash id of this element. * @return int */ 
pub fn getLocationHashId(self: ModifierList) -> int; 

ModifierList::getParent

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

ModifierList::getClassParent

/** * @brief gets the parent of the modifier list if the parent is a class. * @return Class */ 
pub fn getClassParent(self: ModifierList) -> Class; 

ModifierList::__all__

Data constraint method.

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

ModifierList::getLocation

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

ModifierList::getAnAncestor

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

ModifierList::getFieldParent

/** * @brief gets the parent of the modifier list if the parent is a Field. * @return Field */ 
pub fn getFieldParent(self: ModifierList) -> Field; 

ModifierList::getMethodParent

/** * @brief gets the parent of the modifier list if the parent is a Method. * @return Method */ 
pub fn getMethodParent(self: ModifierList) -> Method;