Package org.jdbi.v3.core.extension
Class ExtensionMethod
- java.lang.Object
-
- org.jdbi.v3.core.extension.ExtensionMethod
-
public final class ExtensionMethod extends java.lang.ObjectHolder for aClassand aMethodthat together define which extension method was invoked.
-
-
Constructor Summary
Constructors Constructor Description ExtensionMethod(java.lang.Class<?> type, java.lang.reflect.Method method)Creates a new extension method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.MethodgetMethod()Returns the method invoked.java.lang.Class<?>getType()Returns the type the method was invoked on.java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.Class<?> getType()
Returns the type the method was invoked on.- Returns:
- the type the method was invoked on.
-
getMethod
public java.lang.reflect.Method getMethod()
Returns the method invoked.- Returns:
- the method invoked.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-