org.dyndns.nuda.tools.util
クラス ReflectUtil
java.lang.Object
org.dyndns.nuda.tools.util.ReflectUtil
public class ReflectUtil
- extends java.lang.Object
フィールドの概要 |
static int[] |
PRIME
|
メソッドの概要 |
static java.util.List<java.lang.reflect.Field> |
getAnnotationPresentedField(java.lang.Class<?> cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
|
static java.util.List<java.lang.reflect.Method> |
getAnnotationPresentedMethods(java.lang.Class<?> cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
|
static java.lang.Class<?>[] |
getGenericTypeForMethodReturn(java.lang.reflect.Method method)
|
static boolean |
isPresentedByInterface(java.lang.Class<?> target,
java.lang.Class<?> intf)
|
static void |
main(java.lang.String[] args)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIME
public static final int[] PRIME
ReflectUtil
public ReflectUtil()
isPresentedByInterface
public static boolean isPresentedByInterface(java.lang.Class<?> target,
java.lang.Class<?> intf)
getAnnotationPresentedMethods
public static java.util.List<java.lang.reflect.Method> getAnnotationPresentedMethods(java.lang.Class<?> cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
getAnnotationPresentedField
public static java.util.List<java.lang.reflect.Field> getAnnotationPresentedField(java.lang.Class<?> cls,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
getGenericTypeForMethodReturn
public static java.lang.Class<?>[] getGenericTypeForMethodReturn(java.lang.reflect.Method method)
main
public static void main(java.lang.String[] args)