public final class AnnotationsEncoding extends Object
Modifier and Type | Method and Description |
---|---|
static AnnotationsEncoding |
decodeAnnotations(Object annotationsEncoding) |
static Object |
encodeAnnotations(Set<Annotation> allAnnotations,
Set<Annotation> declaredAnnotations) |
boolean |
equals(Object other) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass) |
Annotation[] |
getDeclaredAnnotations() |
int |
hashCode() |
public Annotation[] getAnnotations()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public Annotation[] getDeclaredAnnotations()
public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
public static AnnotationsEncoding decodeAnnotations(Object annotationsEncoding)
public static Object encodeAnnotations(Set<Annotation> allAnnotations, Set<Annotation> declaredAnnotations)