class NodeTypeStarters extends TraversalSource
- Annotations
- @TraversalSource()
- Alphabetic
- By Inheritance
- NodeTypeStarters
- TraversalSource
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NodeTypeStarters(cpg: Cpg)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def all: Traversal[StoredNode]
Traverse to all nodes.
Traverse to all nodes.
- Definition Classes
- NodeTypeStarters → TraversalSource
- Annotations
- @Doc()
- def annotation: Traversal[Annotation]
Traverse to all annotations
- def argument(code: String): Traversal[Expression]
Shorthand for
cpg.argument.code(code) - def argument: Traversal[Expression]
Traverse to all arguments passed to methods
Traverse to all arguments passed to methods
- Annotations
- @Doc()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def break: Traversal[ControlStructure]
- Annotations
- @Doc()
- def call(name: String): Traversal[Call]
Shorthand for
cpg.call.name(name) - def call: Traversal[Call]
Traverse to all call sites
Traverse to all call sites
- Annotations
- @Doc()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def comment(code: String): Traversal[Comment]
Shorthand for
cpg.comment.code(code) - def comment: Traversal[Comment]
Traverse to all comments in source-based CPGs.
Traverse to all comments in source-based CPGs.
- Annotations
- @Doc()
- def configFile(name: String): Traversal[ConfigFile]
Shorthand for
cpg.configFile.name(name) - def configFile: Traversal[ConfigFile]
Traverse to all config files
Traverse to all config files
- Annotations
- @Doc()
- def continue: Traversal[ControlStructure]
- Annotations
- @Doc()
- def controlStructure: Traversal[ControlStructure]
- Annotations
- @Doc()
- def dependency(name: String): Traversal[Dependency]
Shorthand for
cpg.dependency.name(name) - def dependency: Traversal[Dependency]
Traverse to all dependencies
Traverse to all dependencies
- Annotations
- @Doc()
- def doBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- def elseBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def file(name: String): Traversal[File]
Shorthand for
cpg.file.name(name) - def file: Traversal[File]
Traverse to all source files
Traverse to all source files
- Annotations
- @Doc()
- def forBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def goto: Traversal[ControlStructure]
- Annotations
- @Doc()
- def has(key: String, value: Any): Traversal[Node]
- Definition Classes
- TraversalSource
- def has(property: Property[_]): Traversal[Node]
- Definition Classes
- TraversalSource
- def hasLabel(label: String): Traversal[Node]
- Definition Classes
- TraversalSource
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def id[NodeType](id: Long)(implicit arg0: DefaultsToNode[NodeType]): Traversal[NodeType]
- Definition Classes
- TraversalSource
- def identifier(name: String): Traversal[Identifier]
Shorthand for
cpg.identifier.name(name) - def identifier: Traversal[Identifier]
Traverse to all identifiers, e.g., occurrences of local variables or class members in method bodies.
Traverse to all identifiers, e.g., occurrences of local variables or class members in method bodies.
- Annotations
- @Doc()
- def ids[NodeType](ids: Long*)(implicit arg0: DefaultsToNode[NodeType]): Traversal[NodeType]
- Definition Classes
- TraversalSource
- def ifBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jumpTarget: Traversal[JumpTarget]
Traverse to all jump targets
Traverse to all jump targets
- Annotations
- @Doc()
- def label(label: String): Traversal[Node]
- Definition Classes
- TraversalSource
- def labelAndProperty(label: String, propertyKey: String, propertyValue: Any): Traversal[Node]
- Definition Classes
- TraversalSource
- def labelAndProperty(label: String, property: Property[_]): Traversal[Node]
- Definition Classes
- TraversalSource
- def labelTyped[A <: Node](label: String): Traversal[A]
- Definition Classes
- TraversalSource
- def literal(code: String): Traversal[Literal]
Shorthand for
cpg.literal.code(code) - def literal: Traversal[Literal]
Traverse to all literals (constant strings and numbers provided directly in the code).
Traverse to all literals (constant strings and numbers provided directly in the code).
- Annotations
- @Doc()
- def local(name: String): Traversal[Local]
Shorthand for
cpg.local.name - def local: Traversal[Local]
Traverse to all local variable declarations
Traverse to all local variable declarations
- Annotations
- @Doc()
- def member(name: String): Traversal[Member]
Shorthand for
cpg.member.name(name) - def member: Traversal[Member]
Traverse to all class members
Traverse to all class members
- Annotations
- @Doc()
- def metaData: Traversal[MetaData]
Traverse to all meta data entries
Traverse to all meta data entries
- Annotations
- @Doc()
- def method(namePattern: String): Traversal[Method]
Shorthand for
cpg.method.name(name)Shorthand for
cpg.method.name(name)- Annotations
- @Doc()
- def method: Traversal[Method]
Traverse to all methods
Traverse to all methods
- Annotations
- @Doc()
- def methodRef(name: String): Traversal[MethodRef]
Shorthand for
cpg.methodRef.filter(_.referencedMethod.name(name)) - def methodRef: Traversal[MethodRef]
Traverse to all method references
Traverse to all method references
- Annotations
- @Doc()
- def methodReturn: Traversal[MethodReturn]
Traverse to all formal return parameters
Traverse to all formal return parameters
- Annotations
- @Doc()
- def namespace(name: String): Traversal[Namespace]
Shorthand for
cpg.namespace.name(name) - def namespace: Traversal[Namespace]
Traverse to all namespaces, e.g., packages in Java.
Traverse to all namespaces, e.g., packages in Java.
- Annotations
- @Doc()
- def namespaceBlock(name: String): Traversal[NamespaceBlock]
Shorthand for
cpg.namespaceBlock.name(name) - def namespaceBlock: Traversal[NamespaceBlock]
Traverse to all namespace blocks, e.g., packages in Java.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parameter(name: String): Traversal[MethodParameterIn]
Shorthand for
cpg.parameter.name(name) - def parameter: Traversal[MethodParameterIn]
Traverse to all input parameters
Traverse to all input parameters
- Annotations
- @Doc()
- def ret(code: String): Traversal[Return]
Shorthand for
returns.code(code) - def ret: Traversal[Return]
Traverse to all return expressions
Traverse to all return expressions
- Annotations
- @Doc()
- def staticImport: Traversal[Import]
- Annotations
- @Doc()
- def switchBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tag(name: String): Traversal[Tag]
- Annotations
- @Doc()
- def tag: Traversal[Tag]
Traverse to all tags
Traverse to all tags
- Annotations
- @Doc()
- def throws: Traversal[ControlStructure]
- Annotations
- @Doc()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
- def typ(name: String): Traversal[Type]
Shorthand for
cpg.typ.name(name)Shorthand for
cpg.typ.name(name)- Annotations
- @Doc()
- def typ: Traversal[Type]
Traverse to all types, e.g., Set<String>
Traverse to all types, e.g., Set<String>
- Annotations
- @Doc()
- def typeDecl(name: String): Traversal[TypeDecl]
Shorthand for cpg.typeDecl.name(name)
- def typeDecl: Traversal[TypeDecl]
Traverse to all declarations, e.g., Set<T>
Traverse to all declarations, e.g., Set<T>
- Annotations
- @Doc()
- def typeRef: Traversal[TypeRef]
Traverse to all type references
Traverse to all type references
- Annotations
- @Doc()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def whileBlock: Traversal[ControlStructure]
- Annotations
- @Doc()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated