Class ExtensionMethod

java.lang.Object
org.jdbi.v3.core.extension.ExtensionMethod

public final class ExtensionMethod extends Object
Holder for a Class and a Method that together define which extension method was invoked.
  • Constructor Details

    • ExtensionMethod

      public ExtensionMethod(Class<?> type, Method method)
      Creates a new extension method.
      Parameters:
      type - the type the method was invoked on
      method - the method invoked
  • Method Details

    • getType

      public Class<?> getType()
      Returns the type the method was invoked on.
      Returns:
      the type the method was invoked on.
    • getMethod

      public Method getMethod()
      Returns the method invoked.
      Returns:
      the method invoked.
    • toString

      public String toString()
      Overrides:
      toString in class Object