Package org.jdbi.v3.core.mapper.reflect
Class InstanceFactory<T>
- java.lang.Object
-
- org.jdbi.v3.core.mapper.reflect.InstanceFactory<T>
-
- Direct Known Subclasses:
ConstructorInstanceFactory,StaticMethodInstanceFactory
abstract class InstanceFactory<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.Executableexecutable
-
Constructor Summary
Constructors Modifier Constructor Description protectedInstanceFactory(java.lang.reflect.Executable executable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) <A extends java.lang.annotation.Annotation>
AgetAnnotation(java.lang.Class<A> annotationClass)(package private) <A extends java.lang.annotation.Annotation>
AgetAnnotationIncludingType(java.lang.Class<A> annotationClass)(package private) java.lang.Class<?>getDeclaringClass()(package private) intgetParameterCount()(package private) java.lang.reflect.Parameter[]getParameters()(package private) abstract TnewInstance(java.lang.Object... params)abstract java.lang.StringtoString()
-
-
-
Method Detail
-
getDeclaringClass
java.lang.Class<?> getDeclaringClass()
-
getParameterCount
int getParameterCount()
-
getParameters
java.lang.reflect.Parameter[] getParameters()
-
getAnnotation
@Nullable <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass)
-
getAnnotationIncludingType
@Nullable <A extends java.lang.annotation.Annotation> A getAnnotationIncludingType(java.lang.Class<A> annotationClass)
-
newInstance
abstract T newInstance(java.lang.Object... params)
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-