public class Annotations extends Object
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
asmMethodSignatureToReflectionMethod(MethodSignature m) |
static Class<?> |
asmTypeToClass(org.jinq.rebased.org.objectweb.asm.Type t) |
static <T extends Annotation> |
methodFindAnnotation(MethodSignature sig,
Class<T> annotation) |
static boolean |
methodHasSomeAnnotations(Method method,
Collection<Class<?>> annotations) |
public static Class<?> asmTypeToClass(org.jinq.rebased.org.objectweb.asm.Type t) throws ClassNotFoundException
ClassNotFoundExceptionpublic static Method asmMethodSignatureToReflectionMethod(MethodSignature m) throws ClassNotFoundException, NoSuchMethodException
public static boolean methodHasSomeAnnotations(Method method, Collection<Class<?>> annotations)
public static <T extends Annotation> T methodFindAnnotation(MethodSignature sig, Class<T> annotation)
Copyright © 2018. All Rights Reserved.