SameAPI

object SameAPI

Checks the API of two source files for equality.

Companion:
class
class Object
trait Matchable
class Any
SameAPI.type

Value members

Concrete methods

def apply(a: AnalyzedClass, b: AnalyzedClass): Boolean
def apply(a: Definition, b: Definition): Boolean
def apply(a: Companions, b: Companions): Boolean
def apply(a: ClassLike, b: ClassLike): Boolean
def byName(s: Seq[Definition]): Map[String, List[Definition]]

Puts the given definitions in a map according to their names.

Puts the given definitions in a map according to their names.

def filterDefinitions(ds: Seq[Definition], topLevel: Boolean, includePrivate: Boolean): Seq[Definition]

Removes definitions that should not be considered for API equality. All top-level definitions are always considered: 'private' only means package-private. Other definitions are considered if they are not qualified with 'private[this]' or 'private'.

Removes definitions that should not be considered for API equality. All top-level definitions are always considered: 'private' only means package-private. Other definitions are considered if they are not qualified with 'private[this]' or 'private'.

def hasSameExtraHash(a: AnalyzedClass, b: AnalyzedClass): Boolean
def isValue(d: DefinitionType): Boolean
def isValueDefinition(d: Definition): Boolean
def separateDefinitions(s: Seq[Definition]): (Seq[Definition], Seq[Definition])