AnonymousClass

/**
* @brief An anonymous class
*/

Inherit from AnonymousClassDO

Primary key: element_hash_id: int

schema AnonymousClass extends AnonymousClassDO {
  @primary element_hash_id: int,
  base_class_reference_hash_id: int,
  base_class_type_hash_id: int,
  location_hash_id: int,
  parent_hash_id: int
}

AnonymousClass::getBaseClassReferenceHashId

/**
* @brief gets the reference element id specifying the base class for the anonymous class.
* @return int
*/
pub fn getBaseClassReferenceHashId(self: AnonymousClass) -> int;

AnonymousClass::getParentHashId

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

AnonymousClass::getEnclosingCallable

/**
* @brief gets the enclosing callable of the element, if any.
* @return Callable 
*/
pub fn getEnclosingCallable(self: AnonymousClass) -> *Callable;

AnonymousClass::getBaseClassReference

/**
* @brief gets the reference element specifying the base class for the anonymous class.
* @return ReferenceElement 
*/
pub fn getBaseClassReference(self: AnonymousClass) -> ReferenceElement;

AnonymousClass::getLocationHashId

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

AnonymousClass::getParent

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

AnonymousClass::getBaseClassType

/**
* @brief gets the type for the base class of the anonymous class.
* @return ReferenceType 
*/
pub fn getBaseClassType(self: AnonymousClass) -> ReferenceType;

AnonymousClass::__all__

Data constraint method.

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

AnonymousClass::getBaseClassTypeHashId

/**
* @brief gets the base class type hash id of this element.
* @return int
*/
pub fn getBaseClassTypeHashId(self: AnonymousClass) -> int;

AnonymousClass::getAnAncestor

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

AnonymousClass::getLocation

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