Package org.jdbi.v3.sqlobject
Class SqlObjectAnnotationHelper
- java.lang.Object
-
- org.jdbi.v3.sqlobject.SqlObjectAnnotationHelper
-
final class SqlObjectAnnotationHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSqlObjectAnnotationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T extends java.lang.annotation.Annotation>
java.util.Optional<T>findAnnotation(java.lang.Class<T> annotationClass, java.lang.reflect.AnnotatedElement... elements)(package private) static java.util.stream.Stream<java.lang.Class<?>>findOldAnnotations(java.lang.reflect.Method method)(package private) static java.util.List<java.lang.Class<?>>findSqlMethodAnnotations(java.lang.reflect.Method method)private static booleanmatchNewAnnotation(java.lang.annotation.Annotation a)private static booleanmatchOldAnnotation(java.lang.annotation.Annotation a)(package private) static booleanmatchSqlAnnotations(java.lang.annotation.Annotation a)
-
-
-
Method Detail
-
matchSqlAnnotations
static boolean matchSqlAnnotations(java.lang.annotation.Annotation a)
-
findSqlMethodAnnotations
static java.util.List<java.lang.Class<?>> findSqlMethodAnnotations(java.lang.reflect.Method method)
-
matchNewAnnotation
private static boolean matchNewAnnotation(java.lang.annotation.Annotation a)
-
matchOldAnnotation
private static boolean matchOldAnnotation(java.lang.annotation.Annotation a)
-
findOldAnnotations
static java.util.stream.Stream<java.lang.Class<?>> findOldAnnotations(java.lang.reflect.Method method)
-
findAnnotation
static <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation(java.lang.Class<T> annotationClass, java.lang.reflect.AnnotatedElement... elements)
-
-