TypeParameter

/**
* @brief A type parameter of a generic class, interface, method or constructor.
*/

Inherit from TypeParameterDO

Primary key: element_hash_id: int

schema TypeParameter extends TypeParameterDO {
  @primary element_hash_id: int,
  printable_text: string,
  owner_hash_id: int,
  index_order: int,
  extends_list_hash_id: int,
  parent_hash_id: int,
  location_hash_id: int
}

TypeParameter::getOwner

/**
* @brief gets the element which is parameterized by the type parameter.
* @return ExpressionParent 
*/
pub fn getOwner(self: TypeParameter) -> ElementParent;

TypeParameter::getParent

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

TypeParameter::getLocationHashId

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

TypeParameter::getAnAncestor

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

TypeParameter::getExtendsList

/**
* @brief gets the extends list id (reference list)of the type parameter.
* @return ExpressionParent 
*/
pub fn getExtendsList(self: TypeParameter) -> ReferenceList;

TypeParameter::getExtendsListHashId

/**
* @brief gets the extends list hash id of this element.
* @return int
*/
pub fn getExtendsListHashId(self: TypeParameter) -> int;

TypeParameter::getLocation

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

TypeParameter::__all__

Data constraint method.

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

TypeParameter::getPrintableText

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

TypeParameter::getParentHashId

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

TypeParameter::getOwnerHashId

/**
* @brief gets the owner hash id of this element.
* @return int
*/
pub fn getOwnerHashId(self: TypeParameter) -> int;

TypeParameter::getIndex

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndex(self: TypeParameter) -> int;