Package-level declarations

Internal helper classes.

Types

Link copied to clipboard
open class Benchmark @JvmOverloads constructor(c: Class<*>, val message: String, debug: Boolean = false, holder: StatisticsHolder? = null) : MeasurementHolder

Measures the time between creating the object to calling its stop() method.

Link copied to clipboard
class BenchmarkResults(val entries: List<List<Any>>)
Link copied to clipboard

Class used to encapsulate functions used for the heuristic comment matching. Comments are matched to the closest AST node with priority on predecessor nodes in the same line as the comment, then successor nodes and lastly enclosing nodes.

Link copied to clipboard
open class CommonPath
Find the common root path for a list of files
Link copied to clipboard

This class implements the MutableSet interface with an underlying map and reference-equality instead of object-equality. That means, objects are only considered equal, if they are the same object. This logic is primarily implemented by the underlying IdentityHashMap.

Link copied to clipboard
open class LocationConverter : CompositeAttributeConverter<T>
Link copied to clipboard
open class MeasurementHolder @JvmOverloads constructor(c: Class<*>, val message: String, debug: Boolean = false, holder: StatisticsHolder? = null)

Represents some kind of measurements, e.g., on the performance or problems.

Link copied to clipboard
class NameConverter : CompositeAttributeConverter<Name?>

This converter can be used in a Neo4J session to persist the Name class into its components:

Link copied to clipboard
Link copied to clipboard

Interface definition to hold different statistics about the translation process.

Link copied to clipboard

Helper class for graph walking: Walking through ast-, cfg-, ...- edges

Link copied to clipboard
Link copied to clipboard
object Util

Functions

Link copied to clipboard
fun printMarkdown(table: List<List<Any>>, headers: List<String>)

Prints a table of values and headers in Markdown format. Table columns are automatically adjusted to the longest column.

Link copied to clipboard
fun relativeOrAbsolute(path: Path, topLevel: File?): Path

This function will shorten / relativize the path, if it is relative to topLevel. Otherwise, the full path will be returned.