public final class Meta extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
findMeta(Annotation[] annotations,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(AccessibleObject holder,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> api) |
static <T extends Annotation> |
getAnnotation(Package pck,
Class<T> api) |
public static <T extends Annotation> T getAnnotation(AccessibleObject holder, Class<T> api)
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)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.