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

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

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

/**
 * Classes that traverse a class file can extend this trait to facilitate
 * reporting the traversed source file elements.
 *
 * @author Michael Eichberg
 */
trait SourceElementsVisitor[T] {

    def visit(classFile: ClassFile): T

    def visit(classFile: ClassFile, method: Method): T

    def visit(classFile: ClassFile, field: Field): T
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy