:TS:Method Node

represents a declared method of a :TS:Class or :TS:Interface

Properties

NameDescription
globalFqnglobal FQN of the method
localFqnlocal FQN of the method
namename of the method
visibilityvisibility of the method, i.e. public(default), protected, private, or js_private(for methods declared using the # prefix)
async (boolean)indicates, if the method has an async modifier
static (boolean)only for :TS:Class properties: indicates, if the method has an static modifier
abstract (boolean)only for :TS:Class properties: indicates, if the method has an abstract modifier
override (boolean)only for :TS:Class properties: indicates, if the method has an override modifier
code coordinatescode coordinates of the method declaration (without fileName)

Relations

NameTarget Label(s)CardinalityDescription
DECLARES:TS:TypeParameter0..*type parameters that are declared by the method
RETURNS:TS:Type1return type of the method
HAS:TS:Parameter0..*parameters of the method
DECORATED_BY:TS:Decorator0..*only for :TS:Class methods: all decorators of the method
DEPENDS_ONsee DEPENDS_ON - Target Nodes0..*dependencies of the method