MethodReferenceExpression

/**
* @brief A call of a method.
*/

Inherit from Expression

Primary key: element_hash_id: int

schema MethodReferenceExpression extends Expression {
  @primary element_hash_id: int,
  name: string,
  parent_hash_id: int,
  index_order: int,
  location_hash_id: int,
  printable_text: string
}

MethodReferenceExpression::getIndex

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

MethodReferenceExpression::getMethod

/**
* @brief gets the method of the call.
* @return Method 
*/
pub fn getMethod(self: MethodReferenceExpression) -> Method;

MethodReferenceExpression::getCallable

/**
* @brief gets the callable of the call.
* @return Callable 
*/
pub fn getCallable(self: MethodReferenceExpression) -> Callable;

MethodReferenceExpression::getPrintableText

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

MethodReferenceExpression::getLocation

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

MethodReferenceExpression::getEnclosingCallable

/**
* @brief gets the callable in which this expression occurs.
* @return Callable 
*/
pub fn getEnclosingCallable(self: MethodReferenceExpression) -> Callable;

MethodReferenceExpression::__all__

Data constraint method.

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

MethodReferenceExpression::getType

/**
* @brief gets the type for the element.
* @return Type
*/
pub fn getType(self: MethodReferenceExpression) -> Type;

MethodReferenceExpression::getParentHashId

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

MethodReferenceExpression::getEnclosingStatement

/**
* @brief gets the statement which encloses the expression.
* @return Statement 
*/
pub fn getEnclosingStatement(self: MethodReferenceExpression) -> Statement;

MethodReferenceExpression::getReference

/**
* @brief gets the reference expression of the element.
* @return ReferenceExpression 
*/
pub fn getReference(self: MethodReferenceExpression) -> ReferenceExpression;

MethodReferenceExpression::getAnAncestor

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

MethodReferenceExpression::getParent

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

MethodReferenceExpression::getLocationHashId

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

MethodReferenceExpression::getConstructor

/**
* @brief gets the constructor of the call.
* @return Constructor 
*/
pub fn getConstructor(self: MethodReferenceExpression) -> Constructor;

MethodReferenceExpression::getSize

/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
pub fn getSize(self: MethodReferenceExpression) -> NumberOfLines;