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
*/
- Parameter
self
:AnonymousClass
- Return
int
pub fn getBaseClassReferenceHashId(self: AnonymousClass) -> int;
AnonymousClass::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:AnonymousClass
- Return
int
pub fn getParentHashId(self: AnonymousClass) -> int;
AnonymousClass::getEnclosingCallable
/**
* @brief gets the enclosing callable of the element, if any.
* @return Callable
*/
- Parameter
self
:AnonymousClass
- 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
*/
- Parameter
self
:AnonymousClass
- Return
ReferenceElement
pub fn getBaseClassReference(self: AnonymousClass) -> ReferenceElement;
AnonymousClass::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:AnonymousClass
- Return
int
pub fn getLocationHashId(self: AnonymousClass) -> int;
AnonymousClass::getParent
/**
* @brief gets the ast element parent of the element.
* @return Expression
*/
- Parameter
self
:AnonymousClass
- Return
Expression
pub fn getParent(self: AnonymousClass) -> Expression;
AnonymousClass::getBaseClassType
/**
* @brief gets the type for the base class of the anonymous class.
* @return ReferenceType
*/
- Parameter
self
:AnonymousClass
- Return
ReferenceType
pub fn getBaseClassType(self: AnonymousClass) -> ReferenceType;
AnonymousClass::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*AnonymousClass
pub fn __all__(db: JavaDB) -> *AnonymousClass;
AnonymousClass::getBaseClassTypeHashId
/**
* @brief gets the base class type hash id of this element.
* @return int
*/
- Parameter
self
:AnonymousClass
- Return
int
pub fn getBaseClassTypeHashId(self: AnonymousClass) -> int;
AnonymousClass::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:AnonymousClass
- Return
*ElementParent
pub fn getAnAncestor(self: AnonymousClass) -> *ElementParent;
AnonymousClass::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:AnonymousClass
- Return
Location
pub fn getLocation(self: AnonymousClass) -> Location;