Implements hashing of public API.
- Value parameters:
- includeDefinitions
when hashing a structure (e.g. of a class) should hashes of definitions (members) be included in a hash sum. Structure can appear as a type (in structural type). In that case we always include definitions in a hash sum.
- includeParamNames
should parameter names for methods be included in a hash sum
- includePrivate
should private definitions be included in a hash sum
- includeSealedChildren
Controls if types of children of sealed class should be included in hash.
- Companion:
- object
Value members
Constructors
Concrete methods
Hashes a sequence of definitions by combining each definition's own hash with extra one supplied.
Hashes a sequence of definitions by combining each definition's own hash with extra one supplied.
It's useful when one wants to influence hash of a definition by some external (to definition) factor (e.g. location of definition).
NOTE: This method doesn't perform any filtering of passed definitions.