AnnotationTraversal

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

An (Java-) annotation, e.g., @Test.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def member: Traversal[Member]

Traverse to member annotated by this annotation

Traverse to member annotated by this annotation

Attributes

def method: Traversal[Method]

Traverse to methods annotated with this annotation.

Traverse to methods annotated with this annotation.

Attributes

def parameter: Traversal[MethodParameterIn]

Traverse to parameter annotated by this annotation

Traverse to parameter annotated by this annotation

Attributes

def parameterAssign: Traversal[AnnotationParameterAssign]

Traverse to parameter assignments

Traverse to parameter assignments

Attributes

def typeDecl: Traversal[TypeDecl]

Traverse to type declarations annotated by this annotation

Traverse to type declarations annotated by this annotation

Attributes

Concrete fields

val traversal: Traversal[Annotation]