TypeTraversal

io.shiftleft.semanticcpg.language.types.structure.TypeTraversal
final class TypeTraversal(val traversal: Traversal[Type]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def aliasType: Traversal[Type]

Direct alias types.

Direct alias types.

Attributes

def aliasTypeTransitive: Traversal[Type]

Direct and transitive alias types.

Direct and transitive alias types.

Attributes

def annotation: Traversal[Annotation]

Annotations of the corresponding type declaration.

Annotations of the corresponding type declaration.

Attributes

def baseType: Traversal[Type]

Direct base types of the corresponding type declaration in the inheritance graph.

Direct base types of the corresponding type declaration in the inheritance graph.

Attributes

def baseTypeTransitive: Traversal[Type]

Direct and transitive base types of the corresponding type declaration.

Direct and transitive base types of the corresponding type declaration.

Attributes

def derivedType: Traversal[Type]

Direct derived types.

Direct derived types.

Attributes

def derivedTypeDecl: Traversal[TypeDecl]

Type declarations which derive from this type.

Type declarations which derive from this type.

Attributes

def derivedTypeTransitive: Traversal[Type]

Direct and transitive derived types.

Direct and transitive derived types.

Attributes

def expression: Traversal[Expression]
def expressionOfType: Traversal[Expression]
def external: Traversal[Type]

Filter for types whos corresponding type declaration is not in the analyzed jar.

Filter for types whos corresponding type declaration is not in the analyzed jar.

Attributes

def internal: Traversal[Type]

Filter for types whos corresponding type declaration is in the analyzed jar.

Filter for types whos corresponding type declaration is in the analyzed jar.

Attributes

def localOfType: Traversal[Local]
def member: Traversal[Member]

Member variables of the corresponding type declaration.

Member variables of the corresponding type declaration.

Attributes

def memberOfType: Traversal[Member]
def method: Traversal[Method]

Methods defined on the corresponding type declaration.

Methods defined on the corresponding type declaration.

Attributes

def methodReturnOfType: Traversal[MethodReturn]
def namespace: Traversal[Namespace]

Namespaces in which the corresponding type declaration is defined.

Namespaces in which the corresponding type declaration is defined.

Attributes

def parameterOfType: Traversal[MethodParameterIn]

Deprecated methods

def parameter: Traversal[MethodParameterIn]

Attributes

Deprecated
true

Concrete fields

val traversal: Traversal[Type]