Class ContextInsensitiveToken

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

    public class ContextInsensitiveToken
    extends java.lang.Object
    implements ContextSensitivityToken
    A context sensitive token that is always the same (aka, do not track any information about the call stack). All results for a given cfg will be lubbed together regardless of the call site. This corresponds to having a KDepthToken with k = 0.
    • Method Detail

      • toString

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

        public static ContextInsensitiveToken getSingleton()
        Return an instance of the class.
        Returns:
        an instance of the class
      • hashCode

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

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

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