Class MethodInfo


  • class MethodInfo
    extends java.lang.Object
    a simple data class that holds information about a method call
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int argumentCount  
      (package private) java.lang.String methodName  
      (package private) java.lang.String signatureEnding  
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodInfo​(java.lang.String methodName, int argumentCount, java.lang.String signatureEnding)
      simple constructor for initializing the data
    • Method Summary

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

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

      • methodName

        final java.lang.String methodName
      • argumentCount

        final int argumentCount
      • signatureEnding

        final java.lang.String signatureEnding
    • Constructor Detail

      • MethodInfo

        MethodInfo​(java.lang.String methodName,
                   int argumentCount,
                   java.lang.String signatureEnding)
        simple constructor for initializing the data
        Parameters:
        methodName - the name of the method
        argumentCount - the number of parameters
        signatureEnding - the return value signature type
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

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