All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.shiftleft.semanticcpg.language.nodemethods.MethodRefMethods.scala Maven / Gradle / Ivy

package io.shiftleft.semanticcpg.language.nodemethods

import io.shiftleft.codepropertygraph.generated.nodes.{MethodRef, NewLocation}
import io.shiftleft.semanticcpg.NodeExtension
import io.shiftleft.semanticcpg.language.*

class MethodRefMethods(val methodRef: MethodRef) extends AnyVal with NodeExtension with HasLocation {
  override def location: NewLocation = {
    LocationCreator(
      methodRef,
      methodRef.code,
      methodRef.label,
      methodRef.lineNumber,
      methodRef._methodViaContainsIn.next()
    )
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy