Class MethodGraph.Compiler.Default.Key<S>

    • Field Detail

      • internalName

        protected final java.lang.String internalName
        The internal name of the method this key identifies.
      • parameterCount

        protected final int parameterCount
        The number of method parameters of the method this key identifies.
    • Constructor Detail

      • Key

        protected Key​(java.lang.String internalName,
                      int parameterCount)
        Creates a new key.
        Parameters:
        internalName - The internal name of the method this key identifies.
        parameterCount - The number of method parameters of the method this key identifies.
    • Method Detail

      • getIdentifiers

        protected abstract java.util.Set<S> getIdentifiers()
        Returns a set of all identifiers of this key.
        Returns:
        A set of all identifiers of this key.
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object