MethodLike

io.joern.x2cpg.datastructures.MethodLike
trait MethodLike extends MemberLike

A function or procedure.

Attributes

Graph
Supertypes
trait MemberLike
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def name: String

Attributes

Returns

the name of the method.

def parameterTypes: List[(String, String)]

Stores a tuple of the parameter name and type name.

Stores a tuple of the parameter name and type name.

Attributes

Returns

the names and type names of the parameters.

def returnType: String

Stores the return type name.

Stores the return type name.

Attributes

Returns

the return type name.