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 */
- Parameter
self
:ModifierList
- 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 */
- Parameter
self
:ModifierList
- Return
Constructor
pub fn getConstructorParent(self: ModifierList) -> Constructor;
ModifierList::getLocationHashId
/** * @brief gets the location hash id of this element. * @return int */
- Parameter
self
:ModifierList
- Return
int
pub fn getLocationHashId(self: ModifierList) -> int;
ModifierList::getParent
/** * @brief gets the ast element parent of the element. * @return ElementParent */
- Parameter
self
:ModifierList
- 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 */
- Parameter
self
:ModifierList
- Return
Class
pub fn getClassParent(self: ModifierList) -> Class;
ModifierList::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*ModifierList
pub fn __all__(db: JavaDB) -> *ModifierList;
ModifierList::getLocation
/** * @brief gets the location for the element. * @return Location */
- Parameter
self
:ModifierList
- Return
Location
pub fn getLocation(self: ModifierList) -> Location;
ModifierList::getAnAncestor
/** * @brief gets an ancestor of the element. * @return ElementParent */
- Parameter
self
:ModifierList
- 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 */
- Parameter
self
:ModifierList
- 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 */
- Parameter
self
:ModifierList
- Return
Method
pub fn getMethodParent(self: ModifierList) -> Method;