TypeLike

io.joern.x2cpg.datastructures.TypeLike
trait TypeLike[M <: MethodLike, F <: FieldLike]

A type declaration or module. Holds methods and field entities.

Type parameters

F

the field/object property meta data class.

M

the method/function meta data class.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def fields: List[F]

Attributes

Returns

the fields/properties declared directly under the type declaration.

def methods: List[M]

Attributes

Returns

the methods declared directly under the type declaration.

def name: String

Attributes

Returns

the type full name.