Skip to content

Commit 18464a5

Browse files
committed
remove stepNameOut|In definition, apparently not needed
1 parent f58a901 commit 18464a5

File tree

3 files changed

+3
-23
lines changed
  • domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors
  • schema/src/main/scala/io/shiftleft/codepropertygraph/schema

3 files changed

+3
-23
lines changed

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Call.scala

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,7 @@ final class AccessNeighborsForCall(val node: nodes.Call) extends AnyVal {
330330

331331
/** Traverse to METHOD via CALL OUT edge.
332332
*/
333-
@deprecated("please use staticCallOut instead")
334-
def _methodViaCallOut: Iterator[nodes.Method] = staticCallOut
335-
336-
/** Traverse to METHOD via CALL OUT edge.
337-
*/
338-
def staticCallOut: Iterator[nodes.Method] = staticCallOut.collectAll[nodes.Method]
333+
def _methodViaCallOut: Iterator[nodes.Method] = staticCallOut.collectAll[nodes.Method]
339334

340335
/** Traverse to METHOD via CONTAINS IN edge.
341336
*/
@@ -937,11 +932,6 @@ final class AccessNeighborsForCallTraversal(val traversal: Iterator[nodes.Call])
937932

938933
/** Traverse to METHOD via CALL OUT edge.
939934
*/
940-
def staticCallOut: Iterator[nodes.Method] = traversal.flatMap(_.staticCallOut)
941-
942-
/** Traverse to METHOD via CALL OUT edge.
943-
*/
944-
@deprecated("please use staticCallOut instead")
945935
def _methodViaCallOut: Iterator[nodes.Method] = traversal.flatMap(_._methodViaCallOut)
946936

947937
/** Traverse to METHOD via CONTAINS IN edge.

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/neighboraccessors/Method.scala

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ final class AccessNeighborsForMethod(val node: nodes.Method) extends AnyVal {
2727

2828
/** Traverse to CALL via CALL IN edge.
2929
*/
30-
@deprecated("please use staticCallIn instead")
31-
def _callViaCallIn: Iterator[nodes.Call] = staticCallIn
32-
33-
/** Traverse to CALL via CALL IN edge.
34-
*/
35-
def staticCallIn: Iterator[nodes.Call] = staticCallIn.collectAll[nodes.Call]
30+
def _callViaCallIn: Iterator[nodes.Call] = staticCallIn.collectAll[nodes.Call]
3631

3732
/** Traverse to CALL via CONTAINS OUT edge.
3833
*/
@@ -356,11 +351,6 @@ final class AccessNeighborsForMethodTraversal(val traversal: Iterator[nodes.Meth
356351

357352
/** Traverse to CALL via CALL IN edge.
358353
*/
359-
def staticCallIn: Iterator[nodes.Call] = traversal.flatMap(_.staticCallIn)
360-
361-
/** Traverse to CALL via CALL IN edge.
362-
*/
363-
@deprecated("please use staticCallIn instead")
364354
def _callViaCallIn: Iterator[nodes.Call] = traversal.flatMap(_._callViaCallIn)
365355

366356
/** Traverse to CALL via CONTAINS OUT edge.

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/CallGraph.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ object CallGraph extends SchemaBase {
195195
.addProperties(dispatchType, staticReceiver)
196196

197197
callNode
198-
.addOutEdge(edge = call, inNode = method, stepNameIn = "staticCallIn", stepNameOut = "staticCallOut")
198+
.addOutEdge(edge = call, inNode = method)
199199

200200
callNode
201201
.addProperty(methodFullName)

0 commit comments

Comments
 (0)