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
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIME
public static final int[] PRIME
ReflectUtil
public ReflectUtil()
getParameterGenericType
public static java.lang.Class<?> getParameterGenericType(java.lang.reflect.Field field)
- パラメータ:
field
-
- 戻り値:
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)