Class MethodKey

java.lang.Object
io.smallrye.graphql.client.model.MethodKey

public class MethodKey extends Object
Represents a unique identifier for an Client API operation (method). This class combines the method name and its parameter types to create a key that can be identified by both Jandex and Java reflection.
Author:
mskacelik
  • Constructor Details

    • MethodKey

      public MethodKey(String methodName, Class<?>[] parameterTypes)
    • MethodKey

      public MethodKey()
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getMethodName

      public String getMethodName()
    • setMethodName

      public void setMethodName(String methodName)
    • getParameterTypes

      public Class<?>[] getParameterTypes()
    • setParameterTypes

      public void setParameterTypes(Class<?>[] parameterTypes)
    • toString

      public String toString()
      Overrides:
      toString in class Object