public final class Meta extends Object
Modifier | Constructor and Description |
---|---|
private |
Meta() |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
findMeta(Annotation[] annotations,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Field holder,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Method holder,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Package pck,
Class<T> api) |
static <T extends Annotation> |
getClassOrPackageAnnotation(Field holder,
Class<T> api) |
static <T extends Annotation> |
getClassOrPackageAnnotation(Method holder,
Class<T> api) |
private static <T extends Annotation> |
getDirectAnnotation(AccessibleObject holder,
Class<T> api) |
private static <T extends Annotation> |
getIndirectAnnotation(Class<T> api,
Supplier<Class<?>> ownerSupplier,
Supplier<Package> packageSupplier) |
private static <T extends Annotation> |
newAnnotation(Map<String,Method> methodMapping,
Annotation user,
T johnzon) |
public static <T extends Annotation> T getAnnotation(Method holder, Class<T> api)
public static <T extends Annotation> T getAnnotation(Field holder, Class<T> api)
public static <T extends Annotation> T getClassOrPackageAnnotation(Method holder, Class<T> api)
public static <T extends Annotation> T getClassOrPackageAnnotation(Field holder, Class<T> api)
private static <T extends Annotation> T getDirectAnnotation(AccessibleObject holder, Class<T> api)
private static <T extends Annotation> T getIndirectAnnotation(Class<T> api, Supplier<Class<?>> ownerSupplier, Supplier<Package> packageSupplier)
public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> api)
public static <T extends Annotation> T getAnnotation(Package pck, Class<T> api)
public static <T extends Annotation> T findMeta(Annotation[] annotations, Class<T> api)
private static <T extends Annotation> T newAnnotation(Map<String,Method> methodMapping, Annotation user, T johnzon)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.