Class KDepthToken

  • All Implemented Interfaces:
    ContextSensitivityToken, it.unive.lisa.interprocedural.ScopeId

    public class KDepthToken
    extends java.lang.Object
    implements ContextSensitivityToken
    A context sensitive token representing an entire call chain up to a fixed length k, specified in the singleton creation (getSingleton(int)).
    • Method Detail

      • getSingleton

        public static KDepthToken getSingleton​(int k)
        Return an empty token.
        Parameters:
        k - the maximum depth
        Returns:
        an empty token
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isStartingId

        public boolean isStartingId()
        Specified by:
        isStartingId in interface it.unive.lisa.interprocedural.ScopeId