Package org.apache.johnzon.mapper.access
Class Meta
- java.lang.Object
-
- org.apache.johnzon.mapper.access.Meta
-
public final class Meta extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Meta()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Annotation>
TfindMeta(Annotation[] annotations, Class<T> api)
static <T extends Annotation>
TgetAnnotation(Class<?> clazz, Class<T> api)
static <T extends Annotation>
TgetAnnotation(Package pck, Class<T> api)
static <T extends Annotation>
TgetAnnotation(AnnotatedElement holder, Class<T> api)
static <T extends Annotation>
TgetClassOrPackageAnnotation(Field holder, Class<T> api)
static <T extends Annotation>
TgetClassOrPackageAnnotation(Method holder, Class<T> api)
private static <T extends Annotation>
TgetDirectAnnotation(AnnotatedElement holder, Class<T> api)
private static <T extends Annotation>
TgetIndirectAnnotation(Class<T> api, Supplier<Class<?>> ownerSupplier, Supplier<Package> packageSupplier)
private static <T extends Annotation>
TnewAnnotation(Map<String,Method> methodMapping, Annotation user, T johnzon)
-
-
-
Method Detail
-
getAnnotation
public static <T extends Annotation> T getAnnotation(AnnotatedElement holder, Class<T> api)
-
getClassOrPackageAnnotation
public static <T extends Annotation> T getClassOrPackageAnnotation(Method holder, Class<T> api)
-
getClassOrPackageAnnotation
public static <T extends Annotation> T getClassOrPackageAnnotation(Field holder, Class<T> api)
-
getDirectAnnotation
private static <T extends Annotation> T getDirectAnnotation(AnnotatedElement holder, Class<T> api)
-
getIndirectAnnotation
private static <T extends Annotation> T getIndirectAnnotation(Class<T> api, Supplier<Class<?>> ownerSupplier, Supplier<Package> packageSupplier)
-
getAnnotation
public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> api)
-
getAnnotation
public static <T extends Annotation> T getAnnotation(Package pck, Class<T> api)
-
findMeta
public static <T extends Annotation> T findMeta(Annotation[] annotations, Class<T> api)
-
newAnnotation
private static <T extends Annotation> T newAnnotation(Map<String,Method> methodMapping, Annotation user, T johnzon)
-
-