public class Annotations<A extends java.lang.annotation.Annotation>
extends java.lang.Object
Constructor and Description |
---|
Annotations(java.lang.Class<A> annotationClass) |
Modifier and Type | Method and Description |
---|---|
java.util.List<A> |
collect()
Returns collected annotations.
|
static <T extends java.lang.annotation.Annotation> |
of(java.lang.Class<T> annotationClass) |
Annotations<A> |
onClass(java.lang.Class type) |
Annotations |
onMethod(java.lang.reflect.Method method) |
Annotations<A> |
onPackageHierarchyOf(java.lang.Class type) |
public Annotations(java.lang.Class<A> annotationClass)
public static <T extends java.lang.annotation.Annotation> Annotations<T> of(java.lang.Class<T> annotationClass)
public Annotations onMethod(java.lang.reflect.Method method)
public Annotations<A> onClass(java.lang.Class type)
public Annotations<A> onPackageHierarchyOf(java.lang.Class type)
public java.util.List<A> collect()
Copyright © 2003-present Jodd Team