SameAPI

xsbt.api.SameAPI
See theSameAPI companion class
object SameAPI

Checks the API of two source files for equality.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SameAPI.type

Members list

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.

Attributes

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'.

Attributes

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])