MethodAccessExpression

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

Inherit from Expression

Primary key: element_hash_id: int

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

MethodAccessExpression::getParent

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

MethodAccessExpression::getAnAncestor

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

MethodAccessExpression::getMethod

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

MethodAccessExpression::getParentHashId

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

MethodAccessExpression::getEnclosingStatement

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

MethodAccessExpression::getReference

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

MethodAccessExpression::getNpMethod

/**
* @brief gets the np-method of the call.
* @return NpMethod
*/
pub fn getNpMethod(self: MethodAccessExpression) -> NpMethod;

MethodAccessExpression::getType

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

MethodAccessExpression::getPrintableText

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

MethodAccessExpression::getLocation

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

MethodAccessExpression::getEnclosingCallable

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

MethodAccessExpression::__all__

Data constraint method.

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

MethodAccessExpression::getLocationHashId

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

MethodAccessExpression::getExpressionList

pub fn getExpressionList(self: MethodAccessExpression) -> ExpressionList;

MethodAccessExpression::getSize

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

MethodAccessExpression::getConstructor

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

MethodAccessExpression::getArgument

/**
* @brief gets the call site of the call.
* @return ReferenceExpression 
*/
pub fn getArgument(self: MethodAccessExpression, idx: int) -> Expression;

MethodAccessExpression::getIndex

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

MethodAccessExpression::getCallSite

/**
* @brief gets the call site of the call.
* @return ReferenceExpression 
*/
pub fn getCallSite(self: MethodAccessExpression) -> ReferenceExpression;

MethodAccessExpression::getCallable

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