public final class Annotations
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Annotable |
asAnnotable(java.util.Collection<java.lang.annotation.Annotation> annotations) |
static Annotable |
asAnnotable(java.lang.Iterable<java.lang.annotation.Annotation> annotations) |
static Annotable |
asAnnotable(java.util.Iterator<java.lang.annotation.Annotation> annotations) |
static java.util.List<java.lang.annotation.Annotation> |
ofClass(java.lang.Class<?> type) |
static java.util.List<java.lang.annotation.Annotation> |
ofClasses(java.lang.Iterable<? extends java.lang.Class<?>> types) |
static java.util.List<java.lang.annotation.Annotation> |
ofElement(java.lang.reflect.AnnotatedElement element) |
static java.util.List<java.lang.annotation.Annotation> |
ofElements(java.lang.Iterable<? extends java.lang.reflect.AnnotatedElement> elements) |
static java.util.Map<java.lang.String,java.lang.String> |
toData(java.lang.annotation.Annotation annotation) |
static java.util.Map<java.lang.String,java.lang.Object> |
toElements(java.lang.annotation.Annotation annotation) |
static java.lang.String |
toString(java.lang.annotation.Annotation annotation) |
static java.lang.String |
toString(java.lang.Iterable<java.lang.annotation.Annotation> annotations) |
public static java.util.List<java.lang.annotation.Annotation> ofClass(java.lang.Class<?> type)
public static java.util.List<java.lang.annotation.Annotation> ofClasses(java.lang.Iterable<? extends java.lang.Class<?>> types)
public static java.util.List<java.lang.annotation.Annotation> ofElement(java.lang.reflect.AnnotatedElement element)
public static java.util.List<java.lang.annotation.Annotation> ofElements(java.lang.Iterable<? extends java.lang.reflect.AnnotatedElement> elements)
public static Annotable asAnnotable(java.util.Collection<java.lang.annotation.Annotation> annotations)
public static Annotable asAnnotable(java.lang.Iterable<java.lang.annotation.Annotation> annotations)
public static Annotable asAnnotable(java.util.Iterator<java.lang.annotation.Annotation> annotations)
public static java.util.Map<java.lang.String,java.lang.String> toData(java.lang.annotation.Annotation annotation)
public static java.util.Map<java.lang.String,java.lang.Object> toElements(java.lang.annotation.Annotation annotation)
public static java.lang.String toString(java.lang.annotation.Annotation annotation)
public static java.lang.String toString(java.lang.Iterable<java.lang.annotation.Annotation> annotations)