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

com.github.fburato.highwheelmodules.bytecodeparser.DependencySignatureVisitor.scala Maven / Gradle / Ivy

package com.github.fburato.highwheelmodules.bytecodeparser

import com.github.fburato.highwheelmodules.model.bytecode.{AccessPoint, AccessType, ElementName}
import com.github.fburato.highwheelmodules.model.classpath.AccessVisitor
import org.objectweb.asm.Opcodes
import org.objectweb.asm.signature.SignatureVisitor

private[bytecodeparser] class DependencySignatureVisitor(
  parent: AccessPoint,
  typeReceiver: AccessVisitor,
  accessType: AccessType
) extends SignatureVisitor(Opcodes.ASM9) {

  override def visitClassType(name: String): Unit = {
    typeReceiver(parent, AccessPoint(ElementName.fromString(name)), accessType)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy