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

org.opalj.br.NoSourceElementsVisitor.scala Maven / Gradle / Ivy

The newest version!
/* BSD 2-Clause License - see OPAL/LICENSE for details. */
package org.opalj
package br

/**
 * Simple implementation of the [[SourceElementsVisitor]] trait where all methods
 * do nothing.
 *
 * @author Michael Eichberg
 */
trait NoSourceElementsVisitor extends SourceElementsVisitor[Unit] {

    override def visit(classFile: ClassFile): Unit = { /* EMPTY */ }

    override def visit(classFile: ClassFile, method: Method): Unit = { /* EMPTY */ }

    override def visit(classFile: ClassFile, field: Field): Unit = { /* EMPTY */ }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy