accrue.analysis.interprocanalysis

## Class EdgeIdentifier.HeapUseKey

- java.lang.Object
- - accrue.analysis.interprocanalysis.EdgeIdentifier.EdgeType
  - - accrue.analysis.interprocanalysis.EdgeIdentifier.HeapUseKey

- Enclosing interface:
    EdgeIdentifier

      public static class EdgeIdentifier.HeapUseKey
      extends EdgeIdentifier.EdgeType

  A HeapUseKey is used for data dependency edges between defs and uses of heap locations

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int` | `hashCode`
    `protected java.util.Set<AbstractLocation>` | `used`

    - ### Fields inherited from class accrue.analysis.interprocanalysis.EdgeIdentifier.EdgeType

      `isIntra`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdgeIdentifier.HeapUseKey(java.util.Set<AbstractLocation> used)`
    `EdgeIdentifier.HeapUseKey(java.util.Set<AbstractLocation> used, boolean isIntra)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `int` | `hashCode()`
    `java.lang.String` | `toString()`
    `java.util.Set<AbstractLocation>` | `used()`

    - ### Methods inherited from class accrue.analysis.interprocanalysis.EdgeIdentifier.EdgeType

      `isIntra`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### used

          protected final java.util.Set<AbstractLocation> used

    - #### hashCode

          protected final int hashCode

  - ### Constructor Detail

    - #### EdgeIdentifier.HeapUseKey

          public EdgeIdentifier.HeapUseKey(java.util.Set<AbstractLocation> used,
                                   boolean isIntra)

      Parameters:
        `used` - The set of objects that may be used by this data dependency.
        `isIntra` - Whether this edge is the result of an intra-procedural analysis.

    - #### EdgeIdentifier.HeapUseKey

          public EdgeIdentifier.HeapUseKey(java.util.Set<AbstractLocation> used)

      Parameters:
        `used` - The set of objects that may be used by this data dependency.

  - ### Method Detail

    - #### used

          public java.util.Set<AbstractLocation> used()

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`