Class MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token

  • Enclosing class:
    MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod

    protected static class MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token
    extends java.lang.Object
    A token that identifies a Java method's type by its parameter types and return type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int hashCode
      The hash code of this token which is precomputed for to improve performance.
      private MethodDescription.TypeToken typeToken
      The represented type token.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • hashCode

        private final int hashCode
        The hash code of this token which is precomputed for to improve performance.
    • Constructor Detail

      • Token

        public Token​(MethodDescription.TypeToken typeToken)
        Creates a new type token for a JVM method.
        Parameters:
        typeToken - The represented type token.
    • Method Detail

      • 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
      • toString

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