jdave.support
Class Reflection
java.lang.Object
jdave.support.Reflection
public class Reflection
- extends Object
- Author:
- Lasse Koskela
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reflection
public Reflection()
getMethod
public static Method getMethod(Class<?> specType,
String name,
int... modifiers)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
getMethod
public static Method getMethod(Class<?> specType,
String name,
Class<?>[] parameterTypes,
int... modifiers)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
isVoid
public static boolean isVoid(Method method)
isPublic
public static boolean isPublic(Method method)
isStatic
public static boolean isStatic(Method method)
Copyright © 2010. All Rights Reserved.