ClassInitializer

/**
* @brief A java class initializer block.
*/

Inherit from ClassInitializerDO

Primary key: element_hash_id: int

schema ClassInitializer extends ClassInitializerDO {
  @primary element_hash_id: int,
  printable_text: string,
  parent_hash_id: int,
  location_hash_id: int
}

ClassInitializer::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: ClassInitializer) -> string;

ClassInitializer::getLocationHashId

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

ClassInitializer::getParent

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

ClassInitializer::__all__

Data constraint method.

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

ClassInitializer::getAnAncestor

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

ClassInitializer::getLocation

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

ClassInitializer::getParentHashId

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