AnonymousMethod

/**
* @brief An anonymous method, parent is an anonymous class.
*/

Inherit from Callable

Primary key: id: int

schema AnonymousMethod extends Callable {
  @primary id: int
}

AnonymousMethod::getAnAncestor

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

AnonymousMethod::getNonAnonymousEnclosingCallable

/**
* @brief gets the non anonymous enclosing callable of the element.
* @return Callable. 
*/
pub fn getNonAnonymousEnclosingCallable(self: AnonymousMethod) -> Callable;

AnonymousMethod::getSignature

/**
* @brief gets the name of the callable
* @return string 
*/
pub fn getSignature(self: AnonymousMethod) -> string;

AnonymousMethod::getAnAncestorCallee

/**
* @brief gets an ancestor callee of the callable, if any
* @return Callable 
*/
pub fn getAnAncestorCallee(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getReturnType

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

AnonymousMethod::getEnclosingCallable

/**
* @brief gets the enclosing callable of the element, if any, the enclosing callable may be an anonymousMethod as well.
* @return Callable. 
*/
pub fn getEnclosingCallable(self: AnonymousMethod) -> Callable;

AnonymousMethod::getLocation

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

AnonymousMethod::getEnclosedAnonymousMethod

/**
* @brief gets the anonymous method enclosed by it.
* @return AnonymousMethod 
*/
pub fn getEnclosedAnonymousMethod(self: AnonymousMethod) -> *AnonymousMethod;

AnonymousMethod::getCaller

/**
* @brief gets the caller of the callable
* @return Callable 
*/
pub fn getCaller(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getCalleeFromAnonymousMethod

/**
* @brief gets the extra callee from enclosed anonymous method.
* @return callee 
*/
pub fn getCalleeFromAnonymousMethod(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getAnAncestorCaller

/**
* @brief gets an ancestor caller of the callable, if any
* @return Callable 
*/
pub fn getAnAncestorCaller(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getModifier

/**
* @brief gets the modifier of the callable.
* @return Modifier 
*/
pub fn getModifier(self: AnonymousMethod) -> *Modifier;

AnonymousMethod::getBelongedClass

/**
* @brief gets the parent of the Callable element.
* @return ClassOrInterface 
*/
pub fn getBelongedClass(self: AnonymousMethod) -> ClassOrInterface;

AnonymousMethod::getSize

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

AnonymousMethod::getName

/**
* @brief gets the name of the callable
* @return string 
*/
pub fn getName(self: AnonymousMethod) -> string;

AnonymousMethod::getBelongedInterface

/**
* @brief gets the parent of the Callable element.
* @return Interface 
*/
pub fn getBelongedInterface(self: AnonymousMethod) -> Interface;

AnonymousMethod::getBody

/**
* @brief gets the body of the method.
* @return CodeBlock 
*/
pub fn getBody(self: AnonymousMethod) -> CodeBlock;

AnonymousMethod::__all__

Data constraint method.

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

AnonymousMethod::getAnnotation

/**
* @brief gets the annotation of the Callable element.
* @return Annotation 
*/
pub fn getAnnotation(self: AnonymousMethod) -> *Annotation;

AnonymousMethod::getParameter

/**
* @brief gets the parameter of the method, if any.
* @return Parameter 
*/
pub fn getParameter(self: AnonymousMethod) -> *Parameter;

AnonymousMethod::getPolyCallable

/**
* @brief gets the polymorphism methods of the method, if any.
* @return Method 
*/
pub fn getPolyCallable(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getCallee

/**
* @brief gets the callee of the callable
* @return Callable 
*/
pub fn getCallee(self: AnonymousMethod) -> *Callable;

AnonymousMethod::getType

/**
* @brief gets the name of the callable
* @return string 
*/
pub fn getType(self: AnonymousMethod) -> Type;