public class Annotator
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
Annotator.AnnotationValue |
| Modifier | Constructor and Description |
|---|---|
protected |
Annotator(java.lang.Class type,
java.util.Map<java.lang.reflect.Method,java.lang.Object> values) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends java.lang.annotation.Annotation> |
create(java.lang.Class<? extends java.lang.annotation.Annotation> cls,
java.util.function.BiConsumer<Annotator.AnnotationValue,T> consumer) |
static <T extends java.lang.annotation.Annotation> |
create(java.lang.Class<? extends java.lang.annotation.Annotation> cls,
T original,
java.util.function.BiConsumer<Annotator.AnnotationValue,T> consumer) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected Annotator(java.lang.Class type,
java.util.Map<java.lang.reflect.Method,java.lang.Object> values)
public static <T extends java.lang.annotation.Annotation> T create(java.lang.Class<? extends java.lang.annotation.Annotation> cls,
java.util.function.BiConsumer<Annotator.AnnotationValue,T> consumer)
public static <T extends java.lang.annotation.Annotation> T create(java.lang.Class<? extends java.lang.annotation.Annotation> cls,
T original,
java.util.function.BiConsumer<Annotator.AnnotationValue,T> consumer)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable