xsbt.api

HashAPI

final class HashAPI extends AnyRef

Implements hashing of public API.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HashAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HashAPI(includePrivate: Boolean, includeParamNames: Boolean)

  2. new HashAPI(includePrivate: Boolean, includeParamNames: Boolean, includeDefinitions: Boolean)

    includePrivate

    should private definitions be included in a hash sum

    includeParamNames

    should parameter names for methods be included in a hash sum

    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) and in that case we always include definitions in a hash sum.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. final def extend(a: Hash): Unit

    Annotations
    @inline()
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def finalizeHash: Hash

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashAPI(s: SourceAPI): Hash

  15. def hashAccess(a: Access): Unit

  16. def hashAnnotated(a: Annotated): Unit

  17. def hashAnnotation(annotation: Annotation): Unit

  18. def hashAnnotationArgument(arg: AnnotationArgument): Unit

  19. def hashAnnotationArguments(args: Seq[AnnotationArgument]): Unit

  20. def hashAnnotations(annotations: Seq[Annotation]): Unit

  21. final def hashBoolean(b: Boolean): Unit

    Annotations
    @inline()
  22. final def hashClass(c: ClassLike): Unit

  23. def hashClass0(c: ClassLike): Unit

  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def hashConstant(c: Constant): Unit

  26. def hashDef(d: Def): Unit

  27. def hashDefinition(d: Definition): Unit

  28. def hashDefinitions(ds: Seq[Definition], topLevel: Boolean, isTrait: Boolean): Unit

  29. def hashDefinitionsWithExtraHashes(ds: Seq[(Definition, Hash)]): Unit

    Hashes a sequence of definitions by combining each definition's own hash with extra one supplied as first element of a pair.

    Hashes a sequence of definitions by combining each definition's own hash with extra one supplied as first element of a pair.

    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.

  30. def hashExistential(e: Existential): Unit

  31. def hashField(f: FieldLike): Unit

  32. def hashIdPath(id: Id): Unit

  33. def hashModifiers(m: Modifiers): Unit

  34. def hashPackage(p: Package): Unit

  35. def hashParameterRef(p: ParameterRef): Unit

  36. def hashParameterized(p: Parameterized): Unit

  37. def hashParameterizedDefinition[T <: ParameterizedDefinition](d: T): Unit

  38. def hashParameters(parameters: Seq[TypeParameter], base: Type): Unit

  39. def hashPath(path: Path): Unit

  40. def hashPathComponent(pc: PathComponent): Unit

  41. def hashPolymorphic(p: Polymorphic): Unit

  42. def hashProjection(p: Projection): Unit

  43. def hashQualified(qual: Qualified): Unit

  44. def hashQualifier(qual: Qualifier): Unit

  45. final def hashSeq[T](s: Seq[T], hashF: (T) ⇒ Unit): Unit

    Annotations
    @inline()
  46. def hashSingleton(s: Singleton): Unit

  47. final def hashString(s: String): Unit

    Annotations
    @inline()
  48. final def hashStructure(structure: Structure, includeDefinitions: Boolean, isTrait: Boolean = false): Unit

  49. def hashStructure0(structure: Structure, includeDefinitions: Boolean, isTrait: Boolean = false): Unit

  50. def hashSuperPath(s: Super): Unit

  51. final def hashSymmetric[T](ts: TraversableOnce[T], hashF: (T) ⇒ Unit): Unit

  52. def hashType(t: Type, includeDefinitions: Boolean = true): Unit

  53. def hashTypeAlias(d: TypeAlias): Unit

  54. def hashTypeDeclaration(d: TypeDeclaration): Unit

  55. def hashTypeParameter(parameter: TypeParameter): Unit

  56. def hashTypeParameters(parameters: Seq[TypeParameter]): Unit

  57. def hashTypes(ts: Seq[Type], includeDefinitions: Boolean = true): Unit

  58. def hashValueParameter(parameter: MethodParameter): Unit

  59. def hashValueParameterList(list: ParameterList): Unit

  60. def hashValueParameters(valueParameters: Seq[ParameterList]): Unit

  61. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  62. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  63. final def notify(): Unit

    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def hashDefinitions(ds: Seq[Definition], topLevel: Boolean): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14) Use the overload that indicates if the enclosing definition is a trait.

  2. final def hashStructure(structure: Structure, includeDefinitions: Boolean): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14) Use the overload that indicates if the definition is a trait.

  3. def hashStructure0(structure: Structure, includeDefinitions: Boolean): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14) Use the overload that indicates if the definition is a trait.

Inherited from AnyRef

Inherited from Any

Ungrouped