Modifier

/**
* @brief A modifier keywords for java classes, methods and fields.
*/

Inherit from ModifierDO

Primary key: element_hash_id: int

schema Modifier extends ModifierDO {
  @primary element_hash_id: int,
  name: string,
  parent_hash_id: int,
  location_hash_id: int
}

Modifier::getName

/**
* @brief gets the name of this element.
* @return string
*/
  • Parameter self: Modifier
  • Return string
pub fn getName(self: Modifier) -> string;

Modifier::getParentHashId

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

Modifier::getLocationHashId

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

Modifier::getParent

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

Modifier::__all__

Data constraint method.

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

Modifier::getModifierList

/**
* @brief gets the modifier list of the modifier occurs.
* @return ModifierList 
*/
pub fn getModifierList(self: Modifier) -> ModifierList;

Modifier::getAnAncestor

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

Modifier::getLocation

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