
org.opalj.br.analyses.ProjectBasedAnalysis.scala Maven / Gradle / Ivy
The newest version!
/* BSD 2-Clause License - see OPAL/LICENSE for details. */
package org.opalj
package br
package analyses
import org.opalj.log.LogContext
/**
* Common super trait of all analyses that use the fixpoint
* computations framework. In general, an analysis computes a
* [[org.opalj.fpcf.Property]] by processing some entities, e.g.: ´classes´, ´methods´
* or ´fields´.
*
* @author Michael Reif
* @author Michael Eichberg
*/
trait ProjectBasedAnalysis {
val project: SomeProject
implicit final def p: SomeProject = project
implicit final def classHierarchy: ClassHierarchy = project.classHierarchy
final def ch: ClassHierarchy = classHierarchy
implicit final def logContext: LogContext = project.logContext
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy